From the course: Prometheus Fundamentals by Pearson

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Basic querying

Basic querying

Remember, Prometheus relies on the Prometheus Query Language, or PromQL. It allows a user to select and view time series data in real time. PromQL is the foundation from which we can access data that has been scraped. To run PROMQL-based queries, you can use the Expression Browser or the Web UI, which we've shown already, or a dashboard such as Grafana, or a connection to an API, like we showed with the curl command. The Expression Browser is helpful for running basic queries, creating PROMQL expressions, and debugging and ad hoc testing. But a note, the Expression Browser is more of a nuts and bolts tool. If you want more pretty visualizations or be able to view an entire infrastructure in one glimpse, then you want a more sophisticated front-end tool like Grafana. In the next sub lesson, we'll take a look at the expression browser, otherwise known as the web UI.

Contents