Skip to content

Commit

Permalink
Fix typographical error (#287)
Browse files Browse the repository at this point in the history
* Fix typographical error

remove a duplicate "that were" in metric description

Co-authored-by: Luca Comellini <[email protected]>
  • Loading branch information
rwenz3l and lucacome authored Aug 27, 2022
1 parent 2750431 commit 1e406e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Name | Type | Description | Labels
Name | Type | Description | Labels
----|----|----|----|
`nginxplus_limit_request_passed` | Counter | Total number of requests that were neither limited nor accounted as limited | `zone` |
`nginxplus_limit_request_rejected` | Counter | Total number of requests that were that were rejected | `zone` |
`nginxplus_limit_request_rejected` | Counter | Total number of requests that were rejected | `zone` |
`nginxplus_limit_request_delayed` | Counter | Total number of requests that were delayed | `zone` |
`nginxplus_limit_request_rejected_dry_run` | Counter | Total number of requests accounted as rejected in the dry run mode | `zone` |
`nginxplus_limit_request_delayed_dry_run` | Counter | Total number of requests accounted as delayed in the dry run mode | `zone` |
Expand Down
2 changes: 1 addition & 1 deletion collector/nginx_plus.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func NewNginxPlusCollector(nginxClient *plusclient.NginxClient, namespace string
limitRequestMetrics: map[string]*prometheus.Desc{
"passed": newLimitRequestMetric(namespace, "passed", "Total number of requests that were neither limited nor accounted as limited", constLabels),
"delayed": newLimitRequestMetric(namespace, "delayed", "Total number of requests that were delayed", constLabels),
"rejected": newLimitRequestMetric(namespace, "rejected", "Total number of requests that were that were rejected", constLabels),
"rejected": newLimitRequestMetric(namespace, "rejected", "Total number of requests that were rejected", constLabels),
"delayed_dry_run": newLimitRequestMetric(namespace, "delayed_dry_run", "Total number of requests accounted as delayed in the dry run mode", constLabels),
"rejected_dry_run": newLimitRequestMetric(namespace, "rejected_dry_run", "Total number of requests accounted as rejected in the dry run mode", constLabels),
},
Expand Down

0 comments on commit 1e406e9

Please sign in to comment.