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/20e07153-12c4-cc53-f69f-d3d04bb6bca6%40hoffmann-christian.info.

Reply via email to