---
title: "Discussion on \"How to use Consul to use service discovery in Prometheus & Grafana\" | Hashnode"
description: "Discussion on \"How to use Consul to use service discovery in Prometheus & Grafana\". It is a tedious task to monitor an instance in Grafana, as you have to previously set up all the environment + add every new machine manually. Today we're gonna learn how to automate that stuff.\nIt's very useful when working with a multi-cloud enviro..."
url: "https://hashnode.com/posts/consul-service-discovery-with-prometheus-and-grafana/62e43664430bd1d04a83f4ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use Consul to use service discovery in Prometheus & Grafana](https://blog.marcsg.com/consul-service-discovery-with-prometheus-and-grafana?utm_source=hashnode&utm_medium=feed)

It is a tedious task to monitor an instance in Grafana, as you have to previously set up all the environment + add every new machine manually. Today we're gonna learn how to automate that stuff. It's very useful when working with a multi-cloud enviro...

Jul 29, 2022 · 8 min read · blog.marcsg.com  
Read the article

-   [#prometheus](https://hashnode.com/tag/prometheus)
-   [#debian](https://hashnode.com/tag/debian)
-   [#nginx](https://hashnode.com/tag/nginx)
-   [#grafana](https://hashnode.com/tag/grafana)
-   [#consul](https://hashnode.com/tag/consul)

## Written by

[Marc Sánchez](https://hashnode.com/@cram)

@cram · Barcelona

  
[View profile](https://hashnode.com/@cram)

I do cloud DevOps/sre stuff

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
