Skip to content

Otel metrics are exported per default even if unconfigured #1643

Closed

Description

@SuperSandro2000

I regularly see this log line

{"ts":1788112841.9274166,"level":"error","msg":"failed to upload metrics: Post \"https://localhost:4318/v1/metrics\": dial tcp [::1]:4318: connect: connection refused"}

but I have no metrics related args or envs configured.

I am on 8.36.0.

Activity

  1. gulien commented on Aug 31, 2026

    @gulien
    Member

    You're right. Telemetry defaulted to the OTLP exporter when OTEL_*_EXPORTER was unset, so the metrics reader kept trying localhost:4318. It's now off unless you configure an exporter. Fixed in c636a52

  2. SuperSandro2000 commented on Aug 31, 2026

    @SuperSandro2000
    Author

    Nice, thank you. For the time being I set the corresponding envs to none.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions