-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a webpage for target relabeling debug #3407
Comments
The commit a8b8e23 substitutes the old-style debugging for relabeling via |
…ality for relabel debugging Updates #3407
…ality for relabel debugging Updates #3407
The relabel debug is available starting from VictoriaMetrics v1.85.0 - see these docs. Closing the feature request as done. |
… metric relabeling for a particular target Updates #3407
… metric relabeling for a particular target Updates #3407
Is your feature request related to a problem? Please describe.
Sometimes target relableing may lead to unexpected results. For example:
It is hard to detect the relabeling rule or the set of labels at the discovered target, which could lead to such unexpected results.
Describe the solution you'd like
It would be great if
vmagent
and single-node VictoriaMetrics could provide a special webpage for target relabel debugging at/target-relabel-debug?target_id=...
path.This webpage should contain information, which should simplify answering the following questions:
Given these questions, the webpage should contain a list of per-relabeling rule entries with the following information:
Every target entry at
/targets
page and at/service-discovery
page must contain a link to/target-relabel-debug?target_id=...
webpage, so users could click on the link and instantly understand why the particular target was dropped or why the target has unexpected labels.Describe alternatives you've considered
An alternative is to manually apply relabeling rules to the original target labels listed at the
/service-discovery
page via third-party service such as relabeler playground. Unfortunately this service doesn't support relabeling enhancements implemented invmagent
.Another alternative is to enable debug logging for relabeling at
vmagent
according to these docs. This solution isn't trivial to use. It also doesn't allow identifying the particular relabeling rule, which led to unexpected results.Additional context
Related issues:
The text was updated successfully, but these errors were encountered: