Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve] [broker] Support expose metadataStore zookeeper client metrics. #19702

Conversation

lifepuzzlefun
Copy link
Contributor

@lifepuzzlefun lifepuzzlefun commented Mar 3, 2023

fix #19713

Motivation

expose metadataStore zookeeper metrics in prometheus.

Modifications

set prometheusMetricProvider in MetadataStoreConfig.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

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
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Mar 3, 2023
@lifepuzzlefun lifepuzzlefun force-pushed the support_expose_metadata_store_client_metric branch from 4e47eb4 to 9a4fb0f Compare March 4, 2023 03:46
1. only expose bkClient metric when enabled.
2. change init order on statsProvider
3. change PrometheusMetricsGenerator use global statsProvider.
@lifepuzzlefun
Copy link
Contributor Author

@hangc0276 @Technoboy- can you take a look? : - )

@github-actions
Copy link

The pr had no activity for 30 days, mark with Stale label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs ready-to-test Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose zookeeper client metric in BookkeeperMetadataDrivers.
4 participants