Options
All
  • Public
  • Public/Protected
  • All
Menu

An internal interface describing the instrument.

This is intentionally distinguished from the public MetricDescriptor (a.k.a. InstrumentDescriptor) which may not contains internal fields like metric advice.

Hierarchy

  • InstrumentDescriptor

Index

Properties

advice: { explicitBucketBoundaries?: number[] }
experimental

This is intentionally not using the API's type as it's only available from @opentelemetry/api 1.7.0 and up. In SDK 2.0 we'll be able to bump the minimum API version and remove this workaround.

Type declaration

  • Optional explicitBucketBoundaries?: number[]

    Hint the explicit bucket boundaries for SDK if the metric has been aggregated with a HistogramAggregator.

description: string
name: string
unit: string
valueType: ValueType

Generated using TypeDoc