Skip to content

Commit ce89e9a

Browse files
authored
Merge pull request #63 from hnlq715/hnlq715-patch-2
Update nginx_vts_exporter.go
2 parents 1e319bf + d940502 commit ce89e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx_vts_exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func NewExporter(uri string) *Exporter {
188188
},
189189
upstreamMetrics: map[string]*prometheus.Desc{
190190
"requests": newUpstreamMetric("requests", "requests counter", []string{"upstream", "code", "backend"}),
191-
"bytes": newUpstreamMetric("bytes", "request/response bytes", []string{"upstream", "direction"}),
191+
"bytes": newUpstreamMetric("bytes", "request/response bytes", []string{"upstream", "direction", "backend"}),
192192
"responseMsec": newUpstreamMetric("responseMsec", "average of only upstream/backend response processing times in milliseconds", []string{"upstream", "backend"}),
193193
"requestMsec": newUpstreamMetric("requestMsec", "average of request processing times in milliseconds", []string{"upstream", "backend"}),
194194
},

0 commit comments

Comments
 (0)