Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #16717

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Fix typo #16717

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading