Skip to main content
Hugo’s IT journal Hugo's IT journal

Notes about Prometheus & Grafana

monitor grafana prometheus
Installation>

Installation #

References>

References #

Grafana Dashboards>

Grafana Dashboards #

Prometheus>

Prometheus #

Thanos>

Thanos #

To archive the HA, third-party solutions like thanos will be needed.

These two articles are very good introduction of the concept of thanos

Also, there is a hand-on lab provided by killercoda which is recommended by thanos

This shows the architecture of thanos.

The thanos gateway works as a proxy on each prometheus instance (sidecar) to communicate to other thanos components. Also, data can be optionally saved to object stores (like aws s3 / mino) for long-term storage as well.

Queries will add an additional layer to the system. Instead of obtaining the data directly from prometheus, the client (grafana / end user) will now talk to the thanos querier instead. The queries will

  • deduplicate the data they get from the replicas
  • combine the data from the long term object store and shards

Thus, with the queries, prometheus instances can logically group into different shards / replicas.

Grafana>

Grafana #