# Etcd Monitoring

**URL:** <https://forums.percona.com/t/etcd-monitoring/10191>\
**Category:** PMM 2.x\
**Created:** [April 21, 2021, 4:00pm UTC](https://forums.percona.com/t/etcd-monitoring/10191 "2021-04-21T16:00:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpetrisor](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@dpetrisor](https://forums.percona.com/u/dpetrisor)\
**Post date:** [April 21, 2021, 4:00pm UTC](https://forums.percona.com/t/etcd-monitoring/10191/1 "2021-04-21T16:00:55Z")

</div>

I’m trying to use PMM to monitor a PostgreSQL cluster and so far this looks like an excellent product!

The cluster is build using [**Patroni**](https://github.com/zalando/patroni) and **etcd** which has a mechanism to integrate with Prometheus and Grafana, described [here](https://etcd.io/docs/next/op-guide/monitoring/).

Can I use PMM’s VictoriaMetrics and Grafana components to scrap the etcd cluster and display the information?

For etcd I need to use static\_configs which should be supported by VictoriaMetrics but I’m not entirely sure which file(s) should I modify on PMM for this purpose.

Any help is greatly appreciated!

Thanks,

Emil

---

<div class="post-metadata">

**Author:** ![steve.hoffman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/steve.hoffman/32/66_2.png) [@steve.hoffman](https://forums.percona.com/u/steve.hoffman)\
**Post date:** [April 21, 2021, 6:30pm UTC](https://forums.percona.com/t/etcd-monitoring/10191/2 "2021-04-21T18:30:23Z")

</div>

Since you’re using a prometheus compatible exporter, you can use one of two options for PMM:

External exporter or External Serverless exporter. The difference between them is just “is there a pmm client available on the system in question” (if yes use External, if no use External Serverless and run on any system that has pmm2-client installed)

The details can be found [here](https://www.percona.com/doc/percona-monitoring-and-management/2.x/setting-up/client/external.html) and I’m guessing you’ll execute something like:  
`pmm-admin add external --service-name=etcd --listen-port=9090 --metrics-path=/metrics`  
there are more options you can pass to improve filtering and the like  
`pmm-admin add {external | external-serverless} --help`  
but this should get your started. Note that it’s unlikely that your metrics will show up on default dashboards since our default graphs may not be aware of the metric names but you can use the explore functionality of grafana to find the metrics and create graphs and charts as you like.

---

<div class="post-metadata">

**Author:** ![dpetrisor](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@dpetrisor](https://forums.percona.com/u/dpetrisor)\
**Post date:** [April 21, 2021, 7:49pm UTC](https://forums.percona.com/t/etcd-monitoring/10191/3 "2021-04-21T19:49:26Z")

</div>

Excellent, I will give it a try and report here the results.

Thanks a lot for your help!

Emil
