How does Prometheus gather information about monitored hosts and services?
A. It implements the ICMP and SNMP protocols to ping and query remote services.
B. It opens a webhook where monitored applications have to submit various metrics.
C. It uses HTTP to retrieve JSON encoded metrics from the monitored objects.
D. It queries a relational database for metrics written to the database by monitored applications.
E. It runs scripts on the Prometheus server which perform tests and return various metrics.