jaegertracing / jaeger

CNCF Jaeger, a Distributed Tracing Platform
https://www.jaegertracing.io/
Apache License 2.0
20.52k stars 2.44k forks source link

SPM is broken by OTEL's new version #5982

Closed yurishkuro closed 1 month ago

yurishkuro commented 2 months ago

The PR #5968 is trying to upgrade to v0.109 and the SPM e2e test is consistently failing. It could be related to these breaking changes :

spanmetricsconnector:

Tasks:

FlamingSaint commented 2 months ago

@yurishkuro I can take this up.

yurishkuro commented 2 months ago

@FlamingSaint sounds good

shinigami-777 commented 1 month ago

hi @yurishkuro There seems to be 2 solutions to this issue

  1. To modify the SPM e2e test to check for metrics under the new namespace.
  2. Use the Legacy metric names via the feature flag connector.spanmetrics.legacyLatencyMetricNames. The latter seems easy to implement but the first one seems like a more future-proof solution.
yurishkuro commented 1 month ago

We'd need to do both, for backwards compatibility for people running older versions of OTEL collector

mahadzaryab1 commented 1 month ago

@yurishkuro i've tried out an approach to fix this - would you be able to review https://github.com/jaegertracing/jaeger/pull/6007?