coderzc opened a new pull request, #25306: URL: https://github.com/apache/pulsar/pull/25306
## Motivation This PR implements part 2 of [PIP-447](https://github.com/apache/pulsar/blob/master/pip/pip-447.md). Part 1 for Prometheus labels has already been merged in [#24991](https://github.com/apache/pulsar/pull/24991). This follow-up extends the same custom topic metric label support to OpenTelemetry topic metrics. ## Changes - add custom topic metric labels to OpenTelemetry topic metrics for persistent topics - extend `PersistentTopicAttributes` to build OpenTelemetry attributes with custom labels - update OpenTelemetry topic stats recording to reuse merged attributes across metrics - add broker tests covering custom labels in OpenTelemetry metrics - fix the renamed config setter in the new test after rebasing on latest `master` ## Verification - `mvn clean install -DskipTests` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
