MCP Server Framework - v1.0.0
    Preparing search index...

    Variable TELEMETRY_ENV_VARSConst

    TELEMETRY_ENV_VARS: {
        OTEL_ENABLED: "OTEL_ENABLED";
        OTEL_EXPORTER_OTLP_ENDPOINT: "OTEL_EXPORTER_OTLP_ENDPOINT";
        OTEL_LOG_LEVEL: "OTEL_LOG_LEVEL";
        OTEL_LOGS_EXPORTER: "OTEL_LOGS_EXPORTER";
        OTEL_METRIC_EXPORT_INTERVAL: "OTEL_METRIC_EXPORT_INTERVAL";
        OTEL_METRICS_EXPORTER: "OTEL_METRICS_EXPORTER";
        OTEL_SERVICE_NAME: "OTEL_SERVICE_NAME";
        OTEL_TRACES_EXPORTER: "OTEL_TRACES_EXPORTER";
    } = ...

    Environment variable names for telemetry configuration.

    Includes both framework-managed and standard OTEL variables. Standard vars are parsed in the config system so they can be set via config file, then passed through to the SDK and exporters. See: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/

    Type Declaration

    • ReadonlyOTEL_ENABLED: "OTEL_ENABLED"

      Enable/disable OpenTelemetry (framework master toggle)

    • ReadonlyOTEL_EXPORTER_OTLP_ENDPOINT: "OTEL_EXPORTER_OTLP_ENDPOINT"

      OTLP exporter endpoint URL

    • ReadonlyOTEL_LOG_LEVEL: "OTEL_LOG_LEVEL"

      SDK diagnostic log level

    • ReadonlyOTEL_LOGS_EXPORTER: "OTEL_LOGS_EXPORTER"

      Log exporter selection (default: 'none' — framework has own logger)

    • ReadonlyOTEL_METRIC_EXPORT_INTERVAL: "OTEL_METRIC_EXPORT_INTERVAL"

      Periodic metric export interval (ms)

    • ReadonlyOTEL_METRICS_EXPORTER: "OTEL_METRICS_EXPORTER"

      Metric exporters: otlp, prometheus, console, none (comma-separated)

    • ReadonlyOTEL_SERVICE_NAME: "OTEL_SERVICE_NAME"

      Service name (also read natively by SDK resource detector)

    • ReadonlyOTEL_TRACES_EXPORTER: "OTEL_TRACES_EXPORTER"

      Trace exporter selection