prometheus icon indicating copy to clipboard operation
prometheus copied to clipboard

refactor: make OTEL temporality check easier to read

Open fionaliao opened this issue 10 months ago • 0 comments

Very small refactor to make the check for otel valid temporalities easier to read. I did write the previous version but looking back, it's a bit confusing to reason out because there's a lot of negation. No behavioural changes.

The linter complains with QF1001: could apply De Morgan's law (staticcheck) when I make the edit but I think that should be ignored in this case.

fionaliao avatar Jun 04 '25 15:06 fionaliao