ethercrow / opentelemetry-haskell

The OpenTelemetry Haskell Client https://opentelemetry.io
Other
65 stars 6 forks source link

Implement metrics API (Addresses #12) #34

Closed mpardalos closed 4 years ago

mpardalos commented 4 years ago

This implements the metrics part of the OpenTelemetry API (https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/metrics/api.md). An explanation of the API is available in opentelemetry/src/OpenTelemetry/Metrics.hs

Caveats:

mpardalos commented 4 years ago

I'm just realizing that I now need to switch over to the binary eventlog to add metrics to the tests, since I need to add MetricEv here: https://github.com/ethercrow/opentelemetry-haskell/blob/master/opentelemetry-extra/unit-tests/LogEventSerializer.hs#L15-L25