Skip to content

fix: correct swapped min/max metric names in vdom-resource - #385

Merged
bastischubert merged 2 commits into
prometheus-community:mainfrom
Aprazor:fix/vdom-resource-swapped-metric-names
Mar 26, 2026
Merged

fix: correct swapped min/max metric names in vdom-resource#385
bastischubert merged 2 commits into
prometheus-community:mainfrom
Aprazor:fix/vdom-resource-swapped-metric-names

Conversation

@Aprazor

@Aprazor Aprazor commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

The min_guaranteed_value map key was mapped to the _max_value metric
name and vice versa. Any dashboard using these metrics silently
showed inverted values.

The min_guaranteed_value map key was mapped to the _max_value metric
name and vice versa. Any dashboard using these metrics silently
showed inverted values.

Signed-off-by: Aprazors <Aprazors@gmail.com>
@Aprazor
Aprazor force-pushed the fix/vdom-resource-swapped-metric-names branch from 094bc66 to 9514ff1 Compare March 21, 2026 04:54
@Philldomd

Copy link
Copy Markdown
Contributor

Seems right, my bad. Update the test case with new values as well

Per reviewer feedback, update the test expected output to match the
corrected metric name mapping.

Signed-off-by: Aprazors <Aprazors@gmail.com>

@Philldomd Philldomd 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.

Great find thx for the contribution :)

@Aprazor

Aprazor commented Mar 24, 2026

Copy link
Copy Markdown
Contributor Author

done, test expectations updated in the second commit. thanks for the review!

@bastischubert bastischubert 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.

LGTM

@bastischubert
bastischubert merged commit c3fcd5a into prometheus-community:main Mar 26, 2026
9 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