cloudfoundry / firehose_exporter

Cloud Foundry Firehose Prometheus exporter
Apache License 2.0
26 stars 22 forks source link

getting metrics about services in Cloud Foundry #5

Closed thomasspatzier closed 7 years ago

thomasspatzier commented 7 years ago

It would be interesting to get metrics not only per application, but also for services. Is this something in scope and somewhere on the roadmap?

frodenas commented 7 years ago

It's up to the service creator to report its own metrics to the Cloud Foundry Firehose. I know that some services are starting to report metrics, but I don't know the timing/roadmap.

In the meantime, another approach is to use a specific Prometheus collector for that service. For example, the Prometheus BOSH Release ships with collectors for Consul, HAProxy, MySQL, NATS, PostgreSQL, ... so theoretically you can use those collectors to report service metrics.

thomasspatzier commented 7 years ago

Oh, I was not thinking about service specific metrics but just the basic that we also get for apps, like cpu percentage, disk bytes, etc. and whether those would be available on the firehose as well. Agreed, everything else should be in different collectors/exporters.

We'll look at Prometheus BOSH Release as you suggested. Thanks!

frodenas commented 7 years ago

Well, if you just want to get system level metrics, you can use the Node exporter or, for basic metrics, the BOSH exporter. The latter will fetch metrics from the BOSH director for each deployment.