Querying the exporter to scrape another target.It has its own metrics, usually available at /metrics. You should see a few log lines and if everything went well the last one should report msg="Listening on address" as seen here: level=info ts=T15:41:35.4997596Z caller=main.go:324 msg="Listening on address" address=:9115 Depending on your system configuration you might need to prepend the command with a sudo: docker run -p 9115:9115 prom/blackbox-exporter Use Docker to start a blackbox exporter container by running this in a terminal. Because they are queried and do query over network they do need appropriate open ports. As regular programs, in containers, as background services, on baremetal, on virtual machines. Multi-target exporters are flexible regarding their environment and can be run in many ways. latency and reachability of a website from a specific point outside of our network, a common use case for the blackbox exporter. network gear speaking SNMP, or that we are explicitly interested in the distance, e.g. The reason is that we either can’t run an exporter on the targets, e.g. This pattern is only used for certain exporters, such as the blackbox and the SNMP exporter. the exporter can query multiple targets.the exporter subsequently starts the scrape after getting Prometheus’ GET requests and once it is done with scraping.the exporter gets the targets and a query config string as parameters of Prometheus’ GET request.the exporter does not have to run on the machine the metrics are taken from.the exporter will get the target’s metrics via a network protocol.examine a popular pattern of configuring Prometheus to scrape exporters using relabeling.īy multi-target exporter pattern we refer to a specific design, in which:.let the blackbox exporter run basic metric queries against the Prometheus website,.configure a custom query module for the blackbox exporter,.run the blackbox exporter as an example of the pattern,.describe the multi-target exporter pattern and why it is used,.This guide will introduce you to the multi-target exporter pattern. Querying multi-target exporters with Prometheus.Basic querying of multi-target exporters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |