pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[test][broker] Exposing metrics in BrokerInterceptor

Open crossoverJie opened this issue 1 year ago • 1 comments

PIP: PIP-264

Motivation

Shows how to expose metrics in BrokerInterceptor.

Modifications

Using OTel in BrokerInterceptor to expose metrics.

Verifying this change

  • [x] Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • [ ] Dependencies (add or upgrade a dependency)
  • [ ] The public API
  • [ ] The schema
  • [ ] The default values of configurations
  • [ ] The threading model
  • [ ] The binary protocol
  • [ ] The REST endpoints
  • [ ] The admin CLI options
  • [ ] The metrics
  • [ ] Anything that affects deployment

Documentation

  • [ ] doc
  • [ ] doc-required
  • [x] doc-not-needed
  • [ ] doc-complete

Matching PR in forked repository

PR in forked repository: https://github.com/crossoverJie/pulsar/pull/26

crossoverJie avatar May 25 '24 16:05 crossoverJie

@asafm PTAL, thanks.

crossoverJie avatar May 25 '24 16:05 crossoverJie