ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • N&O 2026-05-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The otel histogram currently relies on the opentelemetry-cpp implementation, which is tied to the MeterProvider. If`_metricsService` is not re-initialized with a new MeterProvider (which updates the histograms' internal objects), when the old MeterProvider is destroyed the histograms will be left with objects that no longer point to anything valid. If a subsequent test that increments a histogram creates a new `OtelMetricsCapturer`, this is not a problem since the constructor initializes`_metricsService`, but if not it the access will be a use-after-free.

            Assignee:
            Michael Nugent
            Reporter:
            Michael Nugent
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: