Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
u5surf committed Jan 28, 2024
1 parent 1d2762f commit 738fc28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions nginx/changelog.d/16717.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix typo
6 changes: 3 additions & 3 deletions nginx/datadog_checks/nginx/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'nginx.upstream.down': 'nginx.upstream.peers.health_checks.last_passed',
}

# NGNINX Plus metrics that are sent as both a count and gauge for backwards compatibility
# NGINX Plus metrics that are sent as both a count and gauge for backwards compatibility
# The count metrics will have _count appended to their names
METRICS_SEND_AS_COUNT = [
'nginx.upstream.peers.responses.1xx',
Expand Down Expand Up @@ -112,11 +112,11 @@
'nginx.upstream.peers.unavail',
]

# NGNINX Plus metrics that are sent as both a histogram and gauge for backwards compatibility
# NGINX Plus metrics that are sent as both a histogram and gauge for backwards compatibility
# The histogram metrics will have _histogram appended to their names
METRICS_SEND_AS_HISTOGRAM = {'nginx.upstream.peers.response_time', 'nginx.stream.upstream.peers.response_time'}

# NGNINX Plus metrics that are sent as only a count.
# NGINX Plus metrics that are sent as only a count.
# These metrics will not have _count appended to their names
COUNT_METRICS = [
'nginx.location_zone.responses.total',
Expand Down

0 comments on commit 738fc28

Please sign in to comment.