opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

OpenCensus metric bridge

Open dashpole opened this issue 2 years ago • 0 comments
trafficstars

Problem Statement

After https://github.com/open-telemetry/opentelemetry-specification/pull/2951, and https://github.com/open-telemetry/opentelemetry-specification/pull/2979, we could implement a metric bridge for OpenCensus.

Note that the specifications are experimental, so it isn't critical that it is implemented at this time.

Changes:

  • [ ] Define a MetricProducer interface, following https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#metricproducer
  • [ ] Define a RegisterProducer(metricProducer) function on MetricReader, following https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#registerproducermetricproducer
  • [ ] Create an OpenCensus metric bridge which implements the MetricProducer interface, following https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/opencensus.md

cc @aabmass

dashpole avatar Dec 01 '22 20:12 dashpole