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

[receiver/nginx] Add featuregate to emit 'nginx.connections_current' as a non-monotonic sum #21686

Merged
merged 1 commit into from
May 11, 2023

Conversation

djaglowski
Copy link
Member

The featuregate is called receiver.nginx.emitConnectionsCurrentAsSum.

Since the intended change involves emitting the same metric with a different data type, it was necessary to temporarily introduce a dummy metric that could be swapped in place when the gate is enabled. This dummy metric is never actually emitted with its dummy name or description, but it does appear in autogenerated documentation.

Updates #4326

@djaglowski djaglowski force-pushed the nginx-connections-sum branch 2 times, most recently from d72b819 to 98a3d5b Compare May 9, 2023 19:06
…as a non-monotonic sum

The featuregate is called 'receiver.nginx.emitConnectionsCurrentAsSum'.

Since the intended change involves emitting a metric with a different data type, it was
necessary to temporarily introduce a dummy metric that could be swapped in place when
the gate is enabled. This metric is never actually emitted, but it does appear in
autogenerated documentation.
@djaglowski djaglowski force-pushed the nginx-connections-sum branch from 98a3d5b to b3e919f Compare May 9, 2023 19:14
@djaglowski djaglowski marked this pull request as ready for review May 9, 2023 20:29
@djaglowski djaglowski requested review from a team and mx-psi May 9, 2023 20:29
@djaglowski djaglowski requested a review from dmitryax May 9, 2023 20:30
@djaglowski djaglowski merged commit 57aa114 into open-telemetry:main May 11, 2023
@djaglowski djaglowski deleted the nginx-connections-sum branch May 11, 2023 14:20
@github-actions github-actions bot added this to the next release milestone May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants