Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

prometheus doesn't match regex query

May be because you have / in the regex. Try with something like visits_total{route=~".*order.*"} and see if the result is generated or not.

Try this also,

visits_total{route!~"\/api\/docs\/\*"}

If you want to exclude all the things that has the word docs you can use below,

visits_total{route!~".*docs.*"}

Tags:

Grafana

Prometheus

Related

Adding properties to a class via decorators in TypeScript Spring Kafka integration test Error while writing to highwatermark file How to Monitor/inspect data/attribute flow in Java code How to pip install in a docker image with a jenkins pipline step? Expanding to fill remaining space in a CSS Grid layout Can you track background geolocation with React Native? Firestore: How to query a map object inside a collection of documents? How to force VSCode to use locally installed TypeScript How to find an element in a specified range in std::map? Select "Text" node using querySelector Unresolved reference ActivityTestRule for AndroidX Pandas to_sql - Increase table's index when appending DataFrame

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy