OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 yıl önce
..
internal 91643ba261 [mdatagen] allow adding resource_attribute warnings (#27257) 1 yıl önce
testdata f000cfca9a [receiver/haproxy] add support for http (#24560) 1 yıl önce
Makefile 2b565795c4 [receiver/haproxyreceiver] add HAProxy receiver (#16842) 2 yıl önce
README.md b16f6d15bd [receiver/haproxy] move haproxyreceiver to beta (#27255) 1 yıl önce
config.go 5133f4ccd6 [chore] use license shortform (#22052) 1 yıl önce
doc.go 5133f4ccd6 [chore] use license shortform (#22052) 1 yıl önce
documentation.md b9d2a01943 [reciever/haproxy] remove unused resource attributes (#26702) 1 yıl önce
factory.go f000cfca9a [receiver/haproxy] add support for http (#24560) 1 yıl önce
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 yıl önce
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 yıl önce
integration_test.go f000cfca9a [receiver/haproxy] add support for http (#24560) 1 yıl önce
metadata.yaml b16f6d15bd [receiver/haproxy] move haproxyreceiver to beta (#27255) 1 yıl önce
scraper.go f000cfca9a [receiver/haproxy] add support for http (#24560) 1 yıl önce
scraper_test.go cd92432fd2 [pkg/golden] internal/coreinternal/golden -> pkg/golden (#28636) 1 yıl önce

README.md

HAProxy Receiver

Status
Stability beta: metrics
Distributions contrib, sumo
Issues Open issues Closed issues
Code Owners @atoulme, @MovieStoreGuy

The HAProxy receiver generates metrics by polling periodically the HAProxy process through a dedicated socket or HTTP URL.

Getting Started

Configuration

endpoint (required)

Path to the endpoint exposed by HAProxy for communications. It can be a local file socket or a HTTP URL.

Collection interval settings (optional)

The scraping collection interval can be configured.

Default: 1 minute

Initial delay settings (optional)

defines how long this receiver waits before starting.

Default: 1s

Example configuration

haproxy:
  endpoint: file:///var/run/haproxy.ipc
  collection_interval: 1m
  metrics:
    

Enabling 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