Skip to content

feat(metric): add cert metrics #2431

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

Merged
merged 5 commits into from
Apr 21, 2025
Merged

feat(metric): add cert metrics #2431

merged 5 commits into from
Apr 21, 2025

Conversation

woshigaopp
Copy link
Contributor

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@CLAassistant
Copy link

CLAassistant commented Apr 18, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@SCNieh SCNieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are several places that can be optimized to better fit with current coding style:

  1. new metrics can be added directly into S3StreamKafkaMetricsManager, this is where we put all the AutoMQ-related metrics
  2. you can refer to the usage of other gauge type metrics in S3StreamKafkaMetricsManager, which will typically have a corresponding supplier to for value retrieval in the callback of the gauge builder
  3. the supplier can be defined in TelemetryManager during initialization and set into S3StreamKafkaMetricsManager

@SCNieh SCNieh merged commit 7fdada6 into main Apr 21, 2025
6 checks passed
@SCNieh SCNieh deleted the feature/add_cert_metrics branch April 21, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants