Skip to content

Commit 1e406e9

Browse files
rwenz3llucacome
andauthored
Fix typographical error (#287)
* Fix typographical error remove a duplicate "that were" in metric description Co-authored-by: Luca Comellini <luca.com@gmail.com>
1 parent 2750431 commit 1e406e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Name | Type | Description | Labels
264264
Name | Type | Description | Labels
265265
----|----|----|----|
266266
`nginxplus_limit_request_passed` | Counter | Total number of requests that were neither limited nor accounted as limited | `zone` |
267-
`nginxplus_limit_request_rejected` | Counter | Total number of requests that were that were rejected | `zone` |
267+
`nginxplus_limit_request_rejected` | Counter | Total number of requests that were rejected | `zone` |
268268
`nginxplus_limit_request_delayed` | Counter | Total number of requests that were delayed | `zone` |
269269
`nginxplus_limit_request_rejected_dry_run` | Counter | Total number of requests accounted as rejected in the dry run mode | `zone` |
270270
`nginxplus_limit_request_delayed_dry_run` | Counter | Total number of requests accounted as delayed in the dry run mode | `zone` |

collector/nginx_plus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ func NewNginxPlusCollector(nginxClient *plusclient.NginxClient, namespace string
478478
limitRequestMetrics: map[string]*prometheus.Desc{
479479
"passed": newLimitRequestMetric(namespace, "passed", "Total number of requests that were neither limited nor accounted as limited", constLabels),
480480
"delayed": newLimitRequestMetric(namespace, "delayed", "Total number of requests that were delayed", constLabels),
481-
"rejected": newLimitRequestMetric(namespace, "rejected", "Total number of requests that were that were rejected", constLabels),
481+
"rejected": newLimitRequestMetric(namespace, "rejected", "Total number of requests that were rejected", constLabels),
482482
"delayed_dry_run": newLimitRequestMetric(namespace, "delayed_dry_run", "Total number of requests accounted as delayed in the dry run mode", constLabels),
483483
"rejected_dry_run": newLimitRequestMetric(namespace, "rejected_dry_run", "Total number of requests accounted as rejected in the dry run mode", constLabels),
484484
},

0 commit comments

Comments
 (0)