Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus: Search pattern for metrics in query box, doesnt search whole word rather it search for each letter of the word #3187
Comments
This comment has been minimized.
This comment has been minimized.
|
I'd not restrict the input to whole word matches, but assuming Maybe @stuartnelson3 can port his weight algorithm from alertmanager over? |
This comment has been minimized.
This comment has been minimized.
|
Can try to take a look if I have time this weekend. Relevant code is here: https://github.com/prometheus/prometheus/blob/master/web/ui/static/js/graph.js#L234-L240 Docs are here: |
brian-brazil
added
component/ui
kind/enhancement
priority/P3
labels
Sep 28, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kavyakul commentedSep 18, 2017
What did you do?
Search metrics in Prometheus
What did you expect to see?
name of the metric matching the pattern
What did you see instead? Under which circumstances?
the word was not matched as a whole, rather each letter was searched.
Environment
System information:
Docker container running on Linux 3.10.0-514.26.2.el7.x86_64 x86_64
Prometheus version:
Prometheus docker image version: v1.7.1
Regards,
Kavya K