diff --git a/receiver/haproxyreceiver/metadata.yaml b/receiver/haproxyreceiver/metadata.yaml index e689aea9c2170..0c6b512550c0a 100644 --- a/receiver/haproxyreceiver/metadata.yaml +++ b/receiver/haproxyreceiver/metadata.yaml @@ -54,46 +54,6 @@ metrics: value_type: int input_type: string unit: "{servers}" - haproxy.connections.rate: - description: Number of connections over the last elapsed second (frontend). Corresponds to HAProxy's `conn_rate` metric. - stability: - level: development - enabled: true - gauge: - value_type: int - input_type: string - unit: "{connections}" - haproxy.sessions.count: - description: Current sessions. Corresponds to HAProxy's `scur` metric. - stability: - level: development - enabled: true - gauge: - value_type: int - input_type: string - unit: "{sessions}" - haproxy.connections.total: - description: Cumulative number of connections (frontend). Corresponds to HAProxy's `conn_tot` metric. - stability: - level: development - enabled: false - sum: - aggregation_temporality: cumulative - monotonic: true - value_type: int - input_type: string - unit: "{connections}" - haproxy.server_selected.total: - description: Number of times a server was selected, either for new sessions or when re-dispatching. Corresponds to HAProxy's `lbtot` metric. - stability: - level: development - enabled: true - sum: - aggregation_temporality: cumulative - monotonic: true - value_type: int - input_type: string - unit: "{selections}" haproxy.bytes.input: description: Bytes in. Corresponds to HAProxy's `bin` metric. stability: @@ -138,6 +98,17 @@ metrics: value_type: int input_type: string unit: by + haproxy.compression.count: + description: Number of HTTP responses that were compressed. Corresponds to HAProxy's `comp_rsp` metric. + stability: + level: development + enabled: false + sum: + aggregation_temporality: cumulative + monotonic: true + value_type: int + input_type: string + unit: "{responses}" haproxy.compression.input: description: Number of HTTP response bytes fed to the compressor. Corresponds to HAProxy's `comp_in` metric. stability: @@ -160,19 +131,37 @@ metrics: value_type: int input_type: string unit: by - haproxy.compression.count: - description: Number of HTTP responses that were compressed. Corresponds to HAProxy's `comp_rsp` metric. + haproxy.connections.average_time: + description: Average connect time in ms over the 1024 last requests. Corresponds to HAProxy's `ctime` metric. stability: level: development enabled: false + gauge: + value_type: double + input_type: string + unit: ms + haproxy.connections.errors: + description: Number of requests that encountered an error trying to connect to a backend server. The backend stat is the sum of the stat. Corresponds to HAProxy's `econ` metric + stability: + level: development + enabled: true sum: aggregation_temporality: cumulative monotonic: true value_type: int input_type: string - unit: "{responses}" - haproxy.requests.denied: - description: Requests denied because of security concerns. Corresponds to HAProxy's `dreq` metric + unit: "{errors}" + haproxy.connections.rate: + description: Number of connections over the last elapsed second (frontend). Corresponds to HAProxy's `conn_rate` metric. + stability: + level: development + enabled: true + gauge: + value_type: int + input_type: string + unit: "{connections}" + haproxy.connections.retries: + description: Number of times a connection to a server was retried. Corresponds to HAProxy's `wretr` metric. stability: level: development enabled: true @@ -181,20 +170,20 @@ metrics: monotonic: true value_type: int input_type: string - unit: "{requests}" - haproxy.responses.denied: - description: Responses denied because of security concerns. Corresponds to HAProxy's `dresp` metric + unit: "{retries}" + haproxy.connections.total: + description: Cumulative number of connections (frontend). Corresponds to HAProxy's `conn_tot` metric. stability: level: development - enabled: true + enabled: false sum: aggregation_temporality: cumulative monotonic: true value_type: int input_type: string - unit: "{responses}" + unit: "{connections}" haproxy.downtime: - description: Total downtime (in seconds). The value for the backend is the downtime for the whole backend, not the sum of the server downtime. Corresponds to HAProxy's `downtime` metric + description: Total downtime (in seconds). The value for the backend is the downtime for the whole backend, not the sum of the server downtime. Corresponds to HAProxy's `downtime` metric stability: level: development enabled: false @@ -204,19 +193,28 @@ metrics: value_type: int input_type: string unit: s - haproxy.connections.errors: - description: Number of requests that encountered an error trying to connect to a backend server. The backend stat is the sum of the stat. Corresponds to HAProxy's `econ` metric + haproxy.failed_checks: + description: Number of failed checks. (Only counts checks failed when the server is up). Corresponds to HAProxy's `chkfail` metric. stability: level: development - enabled: true + enabled: false sum: aggregation_temporality: cumulative monotonic: true value_type: int input_type: string - unit: "{errors}" - haproxy.requests.errors: - description: Cumulative number of request errors. Corresponds to HAProxy's `ereq` metric. + unit: "{checks}" + haproxy.requests.average_time: + description: Average queue time in ms over the 1024 last requests. Corresponds to HAProxy's `qtime` metric. + stability: + level: development + enabled: false + gauge: + value_type: double + input_type: string + unit: ms + haproxy.requests.denied: + description: Requests denied because of security concerns. Corresponds to HAProxy's `dreq` metric stability: level: development enabled: true @@ -225,9 +223,9 @@ metrics: monotonic: true value_type: int input_type: string - unit: "{errors}" - haproxy.responses.errors: - description: Cumulative number of response errors. Corresponds to HAProxy's `eresp` metric, `srv_abrt` will be counted here also. + unit: "{requests}" + haproxy.requests.errors: + description: Cumulative number of request errors. Corresponds to HAProxy's `ereq` metric. stability: level: development enabled: true @@ -235,18 +233,28 @@ metrics: aggregation_temporality: cumulative monotonic: true value_type: int + input_type: string unit: "{errors}" - haproxy.failed_checks: - description: Number of failed checks. (Only counts checks failed when the server is up). Corresponds to HAProxy's `chkfail` metric. + haproxy.requests.queued: + description: Current queued requests. For the backend this reports the number queued without a server assigned. Corresponds to HAProxy's `qcur` metric. stability: level: development - enabled: false + enabled: true sum: aggregation_temporality: cumulative monotonic: true value_type: int input_type: string - unit: "{checks}" + unit: "{requests}" + haproxy.requests.rate: + description: HTTP requests per second over last elapsed second. Corresponds to HAProxy's `req_rate` metric. + stability: + level: development + enabled: true + gauge: + value_type: double + input_type: string + unit: "{requests}" haproxy.requests.redispatched: description: Number of times a request was redispatched to another server. Corresponds to HAProxy's `wredis` metric. stability: @@ -271,8 +279,17 @@ metrics: unit: "{requests}" attributes: - status_code - haproxy.connections.retries: - description: Number of times a connection to a server was retried. Corresponds to HAProxy's `wretr` metric. + haproxy.responses.average_time: + description: Average response time in ms over the 1024 last requests. Corresponds to HAProxy's `rtime` metric. + stability: + level: development + enabled: false + gauge: + value_type: double + input_type: string + unit: ms + haproxy.responses.denied: + description: Responses denied because of security concerns. Corresponds to HAProxy's `dresp` metric stability: level: development enabled: true @@ -281,20 +298,19 @@ metrics: monotonic: true value_type: int input_type: string - unit: "{retries}" - haproxy.sessions.total: - description: Cumulative number of sessions. Corresponds to HAProxy's `stot` metric. + unit: "{responses}" + haproxy.responses.errors: + description: Cumulative number of response errors. Corresponds to HAProxy's `eresp` metric, `srv_abrt` will be counted here also. stability: level: development - enabled: false + enabled: true sum: aggregation_temporality: cumulative monotonic: true value_type: int - input_type: string - unit: "{sessions}" - haproxy.requests.queued: - description: Current queued requests. For the backend this reports the number queued without a server assigned. Corresponds to HAProxy's `qcur` metric. + unit: "{errors}" + haproxy.server_selected.total: + description: Number of times a server was selected, either for new sessions or when re-dispatching. Corresponds to HAProxy's `lbtot` metric. stability: level: development enabled: true @@ -303,16 +319,7 @@ metrics: monotonic: true value_type: int input_type: string - unit: "{requests}" - haproxy.requests.rate: - description: HTTP requests per second over last elapsed second. Corresponds to HAProxy's `req_rate` metric. - stability: - level: development - enabled: true - gauge: - value_type: double - input_type: string - unit: "{requests}" + unit: "{selections}" haproxy.sessions.average: description: Average total session time in ms over the last 1024 requests. Corresponds to HAProxy's `ttime` metric. stability: @@ -322,57 +329,50 @@ metrics: value_type: double input_type: string unit: ms - haproxy.sessions.rate: - description: Number of sessions per second over last elapsed second. Corresponds to HAProxy's `rate` metric. + haproxy.sessions.count: + description: Current sessions. Corresponds to HAProxy's `scur` metric. stability: level: development enabled: true gauge: - value_type: double + value_type: int input_type: string unit: "{sessions}" - haproxy.weight: - description: Total effective weight (backend) or effective weight (server). Corresponds to HAProxy's `weight` metric. + haproxy.sessions.limit: + description: Configured session limit. Corresponds to HAProxy's `slim` metric. stability: level: development enabled: false gauge: value_type: int input_type: string - unit: "1" - haproxy.connections.average_time: - description: Average connect time in ms over the 1024 last requests. Corresponds to HAProxy's `ctime` metric. - stability: - level: development - enabled: false - gauge: - value_type: double - input_type: string - unit: ms - haproxy.requests.average_time: - description: Average queue time in ms over the 1024 last requests. Corresponds to HAProxy's `qtime` metric. + unit: "{sessions}" + haproxy.sessions.rate: + description: Number of sessions per second over last elapsed second. Corresponds to HAProxy's `rate` metric. stability: level: development - enabled: false + enabled: true gauge: value_type: double input_type: string - unit: ms - haproxy.responses.average_time: - description: Average response time in ms over the 1024 last requests. Corresponds to HAProxy's `rtime` metric. + unit: "{sessions}" + haproxy.sessions.total: + description: Cumulative number of sessions. Corresponds to HAProxy's `stot` metric. stability: level: development enabled: false - gauge: - value_type: double + sum: + aggregation_temporality: cumulative + monotonic: true + value_type: int input_type: string - unit: ms - haproxy.sessions.limit: - description: Configured session limit. Corresponds to HAProxy's `slim` metric. + unit: "{sessions}" + haproxy.weight: + description: Total effective weight (backend) or effective weight (server). Corresponds to HAProxy's `weight` metric. stability: level: development enabled: false gauge: value_type: int input_type: string - unit: "{sessions}" + unit: "1"