Skip to content

Releases: palantir/metric-schema

0.5.10

23 Jul 15:56
6e4dab9
Compare
Choose a tag to compare
Type Description Link
Improvement avoid compilation when generating metricsManifest #313

0.5.9

25 Jun 23:31
35e3ee9
Compare
Choose a tag to compare
Type Description Link
Improvement The .fooMetricName() getter method for a gauge foo with zero tags can now be accessed statically. #295

0.5.8

23 Jun 17:00
0addba0
Compare
Choose a tag to compare
Type Description Link
Improvement For any gauges defined in metric-schema, there are now methods that allow getting the raw MetricName (either via the staged builder or directly) #293

0.5.7

18 Jun 13:58
438b396
Compare
Choose a tag to compare
Type Description Link
Feature Generated code now includes a libraryName and libraryVersion tag in all metrics, to help attribute fleet wide cost to particular libraries. This uses a libraryName derived from the gradle rootProject.name by default, although this can be overridden on the generateMetricSchema task if desired. (Setting it to null turns off the tag entirely). #288

0.5.6

16 Jun 13:18
4f10678
Compare
Choose a tag to compare
Type Description Link
Improvement Allow last segment of a namespace to start with an uppercase #282

0.5.5

10 Jun 01:37
245901d
Compare
Choose a tag to compare
Type Description Link
Fix Relax metric name validation #275

0.5.4

04 Jun 16:01
6aae781
Compare
Choose a tag to compare
Type Description Link
Fix Add missing validation to the metric-schema parser. Validation was dropped incorrectly, so it's possible some metric names will need to be updated. Our current pipelines don't differentiate between hyphens and underscores so it's safe to replace underscores with hyphens. #271

0.5.3

06 Apr 21:38
2a7293c
Compare
Choose a tag to compare
Type Description Link
Improvement Staged builders are now "strict" in that a field can't be mutated once it's set, and an earlier state of a builder can't be reused. This eliminates a class of buggy misuse. #227
Fix correctly set project group and name as inputs to generateMetricMarkdown #93

0.5.2

17 Dec 18:36
7d33412
Compare
Choose a tag to compare
Type Description Link
Improvement Upgrade to tritium 0.16.3 #53
Fix Use TaggedMetricRegistry.registerWithReplacement for all gauges #54

0.5.1

17 Dec 16:21
c2b2691
Compare
Choose a tag to compare
Type Description Link
Improvement Generated utilities use TaggedMetricRegistry.registerWithReplacement

This prevents non-obvious resource leaks where attmpts to
re-register gauges are silently ignored while the registry holds
a reference to the original gauge.

The registerWithReplacement api was added in Tritium 0.16.1, a dependency
upgrade may be required for generated code to compile.
#50