Custom service discovery with etcd
Prometheus Blog

Custom service discovery with etcd


Summary

This article details how to implement custom service discovery in Prometheus using etcd, a distributed key-value store. It describes building a utility program that watches for changes in etcd (specifically under a `/services` path) and dynamically generates a JSON file of target groups that Prometheus can then use for service discovery. By leveraging etcd's watch functionality, the program efficiently updates Prometheus with new or removed services and instances, enabling automated monitoring without manual configuration.
Read the Original Article

This article originally appeared on Prometheus Blog.

Read Full Article on Original Site

Popular from Prometheus Blog

1
When (not) to use varbit chunks
When (not) to use varbit chunks

Björn “Beorn” Rabenstein May 8, 2016 64 views

2
Announcing Prometheus 3.0
Announcing Prometheus 3.0

The Prometheus Team Nov 14, 2024 30 views

3
Interview with Hostinger
Interview with Hostinger

Brian Brazil Feb 6, 2019 29 views

5
Interview with JustWatch
Interview with JustWatch

Brian Brazil Oct 12, 2016 28 views