What is the minimum requirement for an application to expose Prometheus metrics?
Prometheus collects metrics by scraping an HTTP endpoint exposed by the target application. Therefore, the only essential requirement for an application to expose metrics to Prometheus is that it serves metrics in the Prometheus text exposition format over HTTP.
This endpoint is conventionally available at /metrics and provides metrics in plain text format (e.g., Content-Type: text/plain; version=0.0.4). The application can run on any operating system, architecture, or network --- as long as Prometheus can reach its endpoint.
It does not need to be Internet-accessible (it can be internal) and is not limited to Linux or any specific bitness.
Verified from Prometheus documentation -- Exposition Formats, Instrumenting Applications, and Target Scraping Requirements sections.
Trinidad
2 months agoAileen
3 months agoViva
3 months agoHerminia
3 months agoPilar
3 months agoJaime
3 months agoCarmela
4 months agoShelba
4 months agoGlen
4 months agoCarlton
4 months agoKaitlyn
5 months agoDell
5 months agoCarole
5 months agoPortia
5 months agoMan
5 months agoNoel
5 months agoCharolette
6 months agoYolando
6 months agoLuann
6 months agoDemetra
6 months agoDenae
6 months agoCorrina
7 months agoDevora
7 months agoMeaghan
7 months agoAn
7 months agoGiovanna
1 month agoChuck
2 months agoMelissia
2 months agoKanisha
2 months agoPaz
2 months ago