Skip to content

[metrics] Fix typo in scanner metric name#3448

Merged
luoyuxia merged 1 commit into
apache:mainfrom
charlesdong1991:fix-scanner-last-poll-seconds-ago-typo
Jun 9, 2026
Merged

[metrics] Fix typo in scanner metric name#3448
luoyuxia merged 1 commit into
apache:mainfrom
charlesdong1991:fix-scanner-last-poll-seconds-ago-typo

Conversation

@charlesdong1991

Copy link
Copy Markdown
Contributor

Purpose

The scanner metric constant SCANNER_LAST_POLL_SECONDS_AGO exposes its value as lastPoolSecondsAgo, but i believe the intended name is lastPollSecondsAgo (aka "Poll", not "Pool")

Brief change log

Fix the string value of MetricNames.SCANNER_LAST_POLL_SECONDS_AGO from lastPoolSecondsAgo to lastPollSecondsAgo.

NOTE:
This changes a user-facing client scanner metric name. Existing dashboards/alerts referencing lastPoolSecondsAgo would need to be updated, so kinda breaking change for end users.
Let me know if you want this PR to retain compatibiilty instead.

@luoyuxia luoyuxia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1

@luoyuxia luoyuxia merged commit 0cd9327 into apache:main Jun 9, 2026
7 checks passed
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