How does Prometheus gather information about monitored hosts and services?
How does Prometheus gather information about monitored hosts and services?
Prometheus gathers information about monitored hosts and services using HTTP to retrieve metrics from the monitored objects. These metrics are typically in a text-based format and are exposed via an HTTP endpoint, which Prometheus scrapes at regular intervals to collect data.
The correct answer is C see: https://prometheus.io/docs/introduction/overview/#features "Features ... time series collection happens via a pull model over HTTP ..."
I don't agree. Prometheus uses HTTP to monitor objects. The correct answer is C
I think C is wrong because metrics are text-based and not json encoded. https://prometheus.io/docs/instrumenting/exposition_formats/
I think is C but you need to use an json exporter
whey we say Prometheus we say HTTP