Skip to content

Investigation: Syntax checker may return warnings for metrics without a suffix #15791

@ywwg

Description

@ywwg

The web UI has a helpful annotation for possibly-incorrect queries, like taking the delta of a metric that is not a counter. However it determines metric type based on the suffix. Otel metrics will not have suffixes, and therefore this warning may be produced incorrectly. We should identify if this is a real problem, and if so, determine how to avoid it.

Solutions could involve disabling this sort of check via a flag in situations where the user knows their configuration does not support it, or using alternative means to look up the type (new otlp labels, other metadata, etc)

Metadata

Metadata

Assignees

Labels

area/utf8Issues pertaining to UTF-8 support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions