Skip to content

[metrics] Fix typo in scanner metric name#3448

Open
charlesdong1991 wants to merge 1 commit into
apache:mainfrom
charlesdong1991:fix-scanner-last-poll-seconds-ago-typo
Open

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

Conversation

@charlesdong1991
Copy link
Copy Markdown

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.

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.

1 participant