Skip to content

Implement relabeling debugger/inspector in Alloy UI and or documentation. #2799

Closed as not planned
@simonswine

Description

@simonswine

Background

I am a Prometheus user for many years, but when it comes to relabelling rules, that still doesn't help me from avoiding unexpected outcomes and debugging sessions.

They are pretty hard to debug and once there is enough complexity either in terms of rules or discovered targets, it gets quite hard to understand.

Proposal

I would like Alloy to implement an UI based relabel debugger, inspired by the existing examples like:

Image

As a major difference I would like Alloy UI to introduce a link from relabel compoments to that debugger, that would feed the current rule set and/or selected discovery.Targets.

I think this could be achieved frontend only, and then we would also be able to host a public play ground (like https://go.dev/play/), that purely works on information submitted in the URL fragment, without that many privacy concerns:

http://grafana.com/docs/alloy/latest/relabel-debug#

While this is helpful for us as experts, it will also make it easier for newer users that can play with example relabelling rules, share them to get help or just tweak them to do what they intend to.

cc @clayton-cornell @korniltsev @jdbaldry

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Declined

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions