Asked by: Ramira Detjensasked in category: General Last Updated: 17th January, 2020
What is service discovery in Prometheus?
Thereof, how does Prometheus service discovery work?
A Service Discovery (SD) mechanism has to discover targets and provide them to Prometheus. We expect similar targets to be grouped together, in the form of a target group. The SD mechanism sends the targets down to prometheus as list of target groups.
Beside above, who discovered Prometheus? Theogony. The first recorded account of the Prometheus myth appeared in the late 8th-century BC Greek epic poet Hesiod's Theogony (507–616). He was a son of the Titan Iapetus by Clymene, one of the Oceanids. He was brother to Menoetius, Atlas, and Epimetheus.
Subsequently, question is, how do I refresh my Prometheus config?
Prometheus can reload its configuration at runtime. If the new configuration is not well-formed, the changes will not be applied. A configuration reload is triggered by sending a SIGHUP to the Prometheus process or sending a HTTP POST request to the /-/reload endpoint (when the --web. enable-lifecycle flag is enabled).
How do I change the default port in Prometheus?
By default, the Prometheus server will use port 9090. If this port is already in use, you can change it by adding the parameter --web. listen-address="<IP of machine>:<port>" at the end of the previous command.