Closed snaggen closed 1 week ago
Encountered with the same issue when using this crate and Datadog
I've manually applied this fix and confirmed that the Prometheus exporter is now compliant with the DataDog Prometheus scraper.
Prometheus Exposition Format and Content-Type header: https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format
Seems reasonable to me! 👍🏻
Released as metrics-exporter-prometheus@v0.15.3
.
Thanks again for your contribution!
Playing around with different tools to view metrics, I found that some tool complained about not having Content-Type text/plain. So this PR fixes that.