Skip to content

Can't write rules that are compatible with latest version of LogQL #6

@moustafab

Description

@moustafab

The expression validator doesn't support literals and doesn't recognize several of the newer query expressions from LogQL 2.X.

So far I've had a literal expression 1 (trying to use for a dead man's switch alert) fail for example. Also had issues with absent_over_time.

I think it probably needs an update to the Loki package and a couple of modifications to the expression parsing logic. I'd be happy to contribute a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions