이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Overview

OpenTelemetry HAProxy metrics in an HAProxy dashboard

The HAProxy receiver allows for collection of HAProxy metrics and access to the HAProxy Overview dashboard. Configure the receiver according to the specifications of the latest version of the haproxyreceiver.

For more information, see the OpenTelemetry project documentation for the HAProxy receiver.

Setup

To collect HAProxy metrics with OpenTelemetry for use with Datadog:

  1. Configure the HAProxy receiver in your OpenTelemetry Collector configuration.
  2. Ensure the OpenTelemetry Collector is configured to export to Datadog.

See the HAProxy receiver documentation for detailed configuration options and requirements.

Data collected

OTELDESCRIPTIONFILTER
haproxy.bytes.inputBytes in. Corresponds to HAProxy’s bin metric.haproxy.service_name: FRONTEND
haproxy.bytes.inputBytes in. Corresponds to HAProxy’s bin metric.haproxy.service_name: BACKEND
haproxy.bytes.outputBytes out. Corresponds to HAProxy’s bout metric.haproxy.service_name: FRONTEND
haproxy.bytes.outputBytes out. Corresponds to HAProxy’s bout metric.haproxy.service_name: BACKEND
haproxy.clients.canceledNumber of data transfers aborted by the client. Corresponds to HAProxy’s cli_abrt metric
haproxy.compression.bypassNumber of bytes that bypassed the HTTP compressor (CPU/BW limit). Corresponds to HAProxy’s comp_byp metric.
haproxy.compression.countNumber of HTTP responses that were compressed. Corresponds to HAProxy’s comp_rsp metric.
haproxy.compression.inputNumber of HTTP response bytes fed to the compressor. Corresponds to HAProxy’s comp_in metric.
haproxy.compression.outputNumber of HTTP response bytes emitted by the compressor. Corresponds to HAProxy’s comp_out metric.
haproxy.connections.totalCumulative number of connections (frontend). Corresponds to HAProxy’s conn_tot metric.
haproxy.failed_checksNumber of failed checks. (Only counts checks failed when the server is up). Corresponds to HAProxy’s chkfail metric.
haproxy.requests.deniedRequests denied because of security concerns. Corresponds to HAProxy’s dreq metrichaproxy.service_name: BACKEND
haproxy.requests.deniedRequests denied because of security concerns. Corresponds to HAProxy’s dreq metrichaproxy.service_name: FRONTEND
haproxy.requests.errorsCumulative number of request errors. Corresponds to HAProxy’s ereq metric.haproxy.service_name: FRONTEND
haproxy.requests.totalTotal number of HTTP requests received. Corresponds to HAProxy’s req_tot, hrsp_1xx, hrsp_2xx, hrsp_3xx, hrsp_4xx, hrsp_5xx and hrsp_other metrics.haproxy.service_name: FRONTEND
haproxy.requests.totalTotal number of HTTP requests received. Corresponds to HAProxy’s req_tot, hrsp_1xx, hrsp_2xx, hrsp_3xx, hrsp_4xx, hrsp_5xx and hrsp_other metrics.haproxy.service_name: BACKEND
haproxy.responses.deniedResponses denied because of security concerns. Corresponds to HAProxy’s dresp metrichaproxy.service_name: FRONTEND
haproxy.responses.deniedResponses denied because of security concerns. Corresponds to HAProxy’s dresp metrichaproxy.service_name: BACKEND
haproxy.responses.errorsCumulative number of response errors. Corresponds to HAProxy’s eresp metric, srv_abrt will be counted here also.haproxy.service_name: BACKEND
haproxy.server_selected.totalNumber of times a server was selected, either for new sessions or when re-dispatching. Corresponds to HAProxy’s lbtot metric.
haproxy.sessions.countCurrent sessions. Corresponds to HAProxy’s scur metric.
haproxy.sessions.totalCumulative number of sessions. Corresponds to HAProxy’s stot metric.haproxy.service_name: BACKEND
haproxy.sessions.totalCumulative number of sessions. Corresponds to HAProxy’s stot metric.haproxy.service_name: FRONTEND

For the full mapping between OpenTelemetry and Datadog metric names, see OpenTelemetry Metrics Mapping.

Further reading

추가 유용한 문서, 링크 및 기사: