Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #196 from madushan1000/master
Browse files Browse the repository at this point in the history
Added missing _time_average_seconds per server metrics
  • Loading branch information
SuperQ authored Mar 12, 2021
2 parents 78268db + 23ebba3 commit 747f2c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions haproxy_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ var (
44: newServerMetric("http_responses_total", "Total of HTTP responses.", prometheus.CounterValue, prometheus.Labels{"code": "other"}),
49: newServerMetric("client_aborts_total", "Total number of data transfers aborted by the client.", prometheus.CounterValue, nil),
50: newServerMetric("server_aborts_total", "Total number of data transfers aborted by the server.", prometheus.CounterValue, nil),
58: newServerMetric("http_queue_time_average_seconds", "Avg. HTTP queue time for last 1024 successful connections.", prometheus.GaugeValue, nil),
59: newServerMetric("http_connect_time_average_seconds", "Avg. HTTP connect time for last 1024 successful connections.", prometheus.GaugeValue, nil),
60: newServerMetric("http_response_time_average_seconds", "Avg. HTTP response time for last 1024 successful connections.", prometheus.GaugeValue, nil),
61: newServerMetric("http_total_time_average_seconds", "Avg. HTTP total time for last 1024 successful connections.", prometheus.GaugeValue, nil),
}

frontendMetrics = metrics{
Expand Down

0 comments on commit 747f2c3

Please sign in to comment.