OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) | 1 年之前 | |
---|---|---|
.. | ||
internal | 1 年之前 | |
testdata | 1 年之前 | |
Makefile | 2 年之前 | |
README.md | 1 年之前 | |
config.go | 1 年之前 | |
doc.go | 1 年之前 | |
documentation.md | 1 年之前 | |
factory.go | 1 年之前 | |
go.mod | 1 年之前 | |
go.sum | 1 年之前 | |
integration_test.go | 1 年之前 | |
metadata.yaml | 1 年之前 | |
scraper.go | 1 年之前 | |
scraper_test.go | 1 年之前 |
Status | |
---|---|
Stability | beta: metrics |
Distributions | contrib, sumo |
Issues | |
Code Owners | @atoulme, @MovieStoreGuy |
The HAProxy receiver generates metrics by polling periodically the HAProxy process through a dedicated socket or HTTP URL.
Path to the endpoint exposed by HAProxy for communications. It can be a local file socket or a HTTP URL.
The scraping collection interval can be configured.
Default: 1 minute
defines how long this receiver waits before starting.
Default: 1s
haproxy:
endpoint: file:///var/run/haproxy.ipc
collection_interval: 1m
metrics:
See documentation.md.
You can enable or disable selective metrics.
Example:
receivers:
haproxy:
endpoint: http://127.0.0.1:8080/stats
metrics:
haproxy.connection_rate:
enabled: false
haproxy.requests:
enabled: true