Skip to content

Releases: tryfix/metrics

Bug fixes

Choose a tag to compare

@gmbyapa gmbyapa released this 15 Mar 13:15
e702824

What's Changed

  • Fixed: Sub-reporter was producing a leading underscore in metric names when parent subsystem was empty by @gmbyapa in #10

Full Changelog: v2.2.0...v2.2.1

OTEL metric unit support

Choose a tag to compare

@gmbyapa gmbyapa released this 15 Mar 07:51
6d80f6f

Added: Unit field to MetricConf for OTEL metric unit support (e.g. "ms", "By", "1")

Bug fixes

Choose a tag to compare

@gmbyapa gmbyapa released this 10 Mar 20:47
023d56a

What's Changed

  • Fixed: OTEL's Reporter was silently dropping the subsystem by @gmbyapa in #8

Full Changelog: v2.1.1...v2.1.2

Bug Fixes

Bug Fixes Pre-release
Pre-release

Choose a tag to compare

@gmbyapa gmbyapa released this 10 Mar 18:43
fac4b35

Bug Fixes

  • OTEL's metrics reporter is silently dropping the subsystem when the system is empty

Add OpenTelemetry backend, exemplars, and integration tests

Choose a tag to compare

@gmbyapa gmbyapa released this 08 Mar 12:48
cd15697

Add OpenTelemetry backend, exemplars, and integration tests

Breaking Changes

  • Counter.Count, Gauge.Count, Gauge.Set, and Observer.Observe now accept variadic ...RecordOption parameter. Existing callers are unaffected, but custom interface implementations must update their signatures.

What's Changed

  • Add OTELReporter backend with support for counters, gauges, gauge
    functions, and histograms backed by OpenTelemetry SDK
  • Add WithContext(ctx) RecordOption to propagate trace context as
    exemplars on metric recordings
  • Add functional options pattern for OTELReporter (WithMeterProvider)
  • Add exponential histogram support via AggregationBase2ExponentialHistogram
  • Add integration tests with Testcontainers verifying three ingestion
    paths: OTLP direct push, OpenMetrics scrape, and PrometheusProto scrape
  • Verify native histograms + exemplars work end-to-end through
    PrometheusProto scrape protocol
  • Add doc comments to all interfaces, structs, and fields in reporter.go
  • Add GitHub Actions CI workflow (build, vet, integration tests)
  • Update README with usage docs, exemplar guide, and native histogram
    • exemplar setup instructions

v2.0.0

Choose a tag to compare

@gmbyapa gmbyapa released this 04 Sep 08:01

Breaking Changes

The Gauge interface now includes Set() method

What's Changed

New Contributors

Full Changelog: v1.2.0...v2.0.0

Enhancements (superseded by v2.0.0)

Pre-release

Choose a tag to compare

@gmbyapa gmbyapa released this 05 Jul 07:12
2e4c233

⚠️ This release has been superseded by v2.0.0 and should not be used.

Bug fixes

Choose a tag to compare

@gmbyapa gmbyapa released this 15 Jan 01:31
f00c57d

Enhancements

  • Prometheus client version upgrades

Bug Fixes

  • Prometheus Gauge should use PromClient->Add instead of Set fixed

Enhancements

Choose a tag to compare

@gmbyapa gmbyapa released this 15 Aug 04:25
be4287c

Enhancements

  • Prometheus client version upgrades
  • Metrics collector config Help added
  • Observes default quartile option added

Go Mod Bug fixes

Choose a tag to compare

@gmbyapa gmbyapa released this 18 Mar 16:48
v1.0.1

go sum added