Skip to content

MINOR: Add toString() to KafkaMetric for readable logging#22129

Open
adikou wants to merge 1 commit intoapache:trunkfrom
adikou:akousik/kafkaMetric_toString
Open

MINOR: Add toString() to KafkaMetric for readable logging#22129
adikou wants to merge 1 commit intoapache:trunkfrom
adikou:akousik/kafkaMetric_toString

Conversation

@adikou
Copy link
Copy Markdown

@adikou adikou commented Apr 23, 2026

This adds a toString() that includes the metric name, group, description, and tags. The metricValueProvider is represented by its simple class name rather than its full toString() to avoid dumping internal stat state like SampledStat's samples list into logs

This adds a toString() that includes the metric name, group, description, and
tags. The metricValueProvider is represented by its simple class name rather
than its full toString() to avoid dumping internal stat state like SampledStat's
samples list into logs
@github-actions github-actions Bot added triage PRs from the community clients small Small PRs labels Apr 23, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

@adikou
Copy link
Copy Markdown
Author

adikou commented May 7, 2026

Hi @AndrewJSchofield would you be able to take a look at this PR? I believe the tests have run to completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved clients small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants