Skip to content

promqltest: Add test for unary minus with native histograms#17046

Merged
beorn7 merged 1 commit intomainfrom
beorn7/promql
Aug 13, 2025
Merged

promqltest: Add test for unary minus with native histograms#17046
beorn7 merged 1 commit intomainfrom
beorn7/promql

Conversation

@beorn7
Copy link
Member

@beorn7 beorn7 commented Aug 13, 2025

This verifies that a counter histogram becomes a gauge histogram if an unary minus is applied to it.

/cc @NeerajGartia21 @juliusmh

Which issue(s) does the PR fix:

Related to #16570 but not yet sufficient to close it.

Does this PR introduce a user-facing change?

NONE

This verifies that a counter histogram becomes a gauge histogram if an
unary minus is applied to it.

Signed-off-by: beorn7 <beorn@grafana.com>
Copy link
Member

@krajorama krajorama left a comment

Choose a reason for hiding this comment

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

stamp

@beorn7 beorn7 merged commit 4217d4b into main Aug 13, 2025
63 of 65 checks passed
@beorn7 beorn7 deleted the beorn7/promql branch August 13, 2025 14:57
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.

2 participants