OpenTelemetry SDK
    Preparing search index...

    Type Alias OtlpGrpcMetricExporterConfigModel

    OtlpGrpcMetricExporterConfigModel:
        | {
            compression?: string
            | null;
            default_histogram_aggregation?: ExporterDefaultHistogramAggregation;
            endpoint?: string | null;
            headers?: NameStringValuePairConfigModel[];
            headers_list?: string | null;
            temporality_preference?: ExporterTemporalityPreference;
            timeout?: number | null;
            tls?: GrpcTlsConfigModel;
        }
        | null

    Configure exporter to be OTLP with gRPC transport. If omitted, ignore.

    Type Declaration

    • {
          compression?: string | null;
          default_histogram_aggregation?: ExporterDefaultHistogramAggregation;
          endpoint?: string | null;
          headers?: NameStringValuePairConfigModel[];
          headers_list?: string | null;
          temporality_preference?: ExporterTemporalityPreference;
          timeout?: number | null;
          tls?: GrpcTlsConfigModel;
      }
      • Optionalcompression?: string | null

        Configure compression. Known values include: gzip, none. Implementations may support other compression algorithms. If omitted or null, none is used.

      • Optionaldefault_histogram_aggregation?: ExporterDefaultHistogramAggregation
      • Optionalendpoint?: string | null

        Configure endpoint. If omitted or null, http://localhost:4317 is used.

      • Optionalheaders?: NameStringValuePairConfigModel[]

        Configure headers. Entries have higher priority than entries from .headers_list. If an entry's .value is null, the entry is ignored. If omitted, no headers are added.

        1

      • Optionalheaders_list?: string | null

        Configure headers. Entries have lower priority than entries from .headers. The value is a list of comma separated key-value pairs matching the format of OTEL_EXPORTER_OTLP_HEADERS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options for details. If omitted or null, no headers are added.

      • Optionaltemporality_preference?: ExporterTemporalityPreference
      • Optionaltimeout?: number | null

        Configure max time (in milliseconds) to wait for each export. Value must be non-negative. A value of 0 indicates no limit (infinity). If omitted or null, 10000 is used.

      • Optionaltls?: GrpcTlsConfigModel
    • null