Skip to content

OpenTelemetry metric error with minimal configuration #8682

@spodugu

Description

@spodugu

Describe the bug

I am seeing below error with router version 2.6.0 and 2.8.2 and not seeing this with v1.x.

OpenTelemetry metric error occurred: Metrics exporter otlp failed with the grpc server returns error (The service is currently unavailable): , detailed error message: HTTP/2 was not negotiated.

To Reproduce

Steps to reproduce the behavior:

  1. route.config.yaml
supergraph:
  listen: 0.0.0.0:8080

health_check:
  listen: 0.0.0.0:8088
  enabled: true
  1. Environment variables

APOLLO_TELEMETRY_DISABLED=true

Expected behavior

No error should be logged since telemetry metrics are not configured.

Desktop (please complete the following information):

  • OS: Ubuntu

  • Version 24.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions