ADK for TypeScript: API Reference
    Preparing search index...

    Class AuthenticatedMetricExporter

    Authenticated OTLP metric exporter wrapper sending metrics to Google Cloud.

    Implements

    • PushMetricExporter
    • Exports metrics to Google Cloud.

      Parameters

      • metrics: ResourceMetrics

        Metrics to export.

      • resultCallback: (result: { code: number; error?: Error }) => void

        Callback called with the export result.

      Returns void

    • Selects aggregation temporality for instrument type.

      Parameters

      • instrumentType: InstrumentType

        Instrument type.

      Returns AggregationTemporality