lib/opentelemetry/sdk/trace/export/metrics_reporter.rb in opentelemetry-sdk-1.2.0 vs lib/opentelemetry/sdk/trace/export/metrics_reporter.rb in opentelemetry-sdk-1.2.1
- old
+ new
@@ -13,9 +13,10 @@
# be used to report metrics such as dropped spans, and successful and
# failed export attempts. This exists to decouple the Trace SDK from
# the unstable OpenTelemetry Metrics API. An example implementation in
# terms of StatsD is:
#
+ # @example
# module MetricsReporter
# def add_to_counter(metric, increment: 1, labels: {})
# StatsD.increment(metric, increment, labels, no_prefix: true)
# end
# def record_value(metric, value:, labels: {})