OpenTelemetry SDK
    Preparing search index...

    Type Alias ExperimentalPrometheusMetricExporterConfigModel

    ExperimentalPrometheusMetricExporterConfigModel:
        | {
            host?: string
            | null;
            port?: number | null;
            resource_constant_labels?: IncludeExclude;
            scope_info_enabled?: boolean | null;
            "target_info_enabled/development"?: boolean | null;
            translation_strategy?: ExperimentalPrometheusTranslationStrategy;
        }
        | null

    Configure exporter to be prometheus. If omitted, ignore.

    Type Declaration

    • {
          host?: string | null;
          port?: number | null;
          resource_constant_labels?: IncludeExclude;
          scope_info_enabled?: boolean | null;
          "target_info_enabled/development"?: boolean | null;
          translation_strategy?: ExperimentalPrometheusTranslationStrategy;
      }
      • Optionalhost?: string | null

        Configure host. If omitted or null, localhost is used.

      • Optionalport?: number | null

        Configure port. If omitted or null, 9464 is used.

      • Optionalresource_constant_labels?: IncludeExclude
      • Optionalscope_info_enabled?: boolean | null

        Configure Prometheus Exporter to produce metrics with scope labels. If omitted or null, true is used.

      • Optionaltarget_info_enabled/development?: boolean | null

        Configure Prometheus Exporter to produce metrics with a target info metric for the resource. If omitted or null, true is used.

      • Optionaltranslation_strategy?: ExperimentalPrometheusTranslationStrategy
    • null