OpenTelemetry SDK
    Preparing search index...

    OTLP-gRPC metric exporter

    Hierarchy

    • OTLPMetricExporterBase
      • OTLPMetricExporter
    Index
    • Export items.

      Parameters

      • items: ResourceMetrics
      • resultCallback: (result: ExportResult) => void

      Returns void

    • Returns Promise<void>

    • Select the Aggregation for the given InstrumentType for this exporter.

      Parameters

      • instrumentType: InstrumentType

      Returns AggregationOption

    • Select the AggregationTemporality for the given InstrumentType for this exporter.

      Parameters

      • instrumentType: InstrumentType

      Returns AggregationTemporality

    • Parameters

      • metrics: ExporterMetrics<ResourceMetrics>

      Returns void

    • Experimental

      Sets the meter provider to use to collect metrics for the exporter itself. This method is experimental and is subject to breaking changes in minor releases.

      Parameters

      • meterProvider: MeterProvider

      Returns void

    • Returns Promise<void>