It does indeed seem like the DataDog integration is only meant to retrieve information about the Prometheus server itself and not other metrics that are being scraped by Prometheus.
I'm unfamiliar with federation but it seems like it's mostly used for pulling data from multiple Prometheus instances into a single instance. Do all the scraped metrics show up on the /federate URL if federation is setup? Thanks for your help! On Wednesday, August 26, 2020 at 10:34:13 PM UTC-7 Christian Hoffmann wrote: > Hi, > > On 8/27/20 3:16 AM, 'Rounak Salim' via Prometheus Users wrote: > > The /metrics endpoint only shows me the metrics for the Prometheus > > server and none of the metrics scraped by Prometheus from other > > applications are shown. > > > > How can I get all my metrics to be shown in the /metrics endpoint? > I don't think you can. /metrics is supposed to be about the application > (Prometheus) itself, not about data from other servers. > > The /federate endpoint would probably do what you want: > https://prometheus.io/docs/prometheus/latest/federation/ > > However, keep in mind that it's not intended to export arbitrary large > chunks of data. > > > This is causing problems getting our metrics consumed by DataDog agents > > since they are only able to pick up the Prometheus server metrics from > > the /metrics endpoint and I couldn't get it to work with any other > > endpoint on their config file. > > Followed this documentation to get it setup with the Prometheus > > integration: https://www.datadoghq.com/blog/monitor-prometheus-metrics/ > I don't know datadog but it seems like it is intended to scrape the > targets itself without any Prometheus server inbetween? > > Kind regards, > Christian > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/65bacd37-ec35-426d-8f57-7a540b963dc9n%40googlegroups.com.

