-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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/kubeletstatsreceiver] Emit network metrics without a direction attribute #12588
Conversation
b8272f4
to
405807b
Compare
eda8a45
to
1cd7138
Compare
1. v0.56.0, July 2022: | ||
|
||
- The new metrics are available for all scrapers, but disabled by default, they can be enabled with the feature gates. | ||
- The old metrics with `direction` attribute are deprecated with a warning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The warning log still needs to be added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added warnings. In doing so, I noticed that some were removed in this PR: #12105. They were supposed to be added back in before the v0.56.0 release, but it doesn't appear that happened. I can make an issue and add them back if that's something we'd like to do. I used the phrasing from the original warnings. If we'd like to make any changes, suggest them here and I can apply them when adding the warnings elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3e5c01c
to
c7530b3
Compare
c7530b3
to
6d1359c
Compare
Description:
This PR updates the kubeletstatsreceiver so that it can emit metrics without a direction attribute (see #11815). The behavior of the direction attribute is currently controlled by the feature gates
receiver.kubeletstatsreceiver.emitMetricsWithoutDirectionAttribute
andreceiver.kubeletstatsreceiver.emitMetricsWithDirectionAttribute
. The feature gates will be available for a grace period to help users transition to metrics without a direction attribute, which will eventually become the default.Link to tracking Issue:
#12164
Testing:
Unit tests
Documentation:
The readme has been updated to document the feature gates and transition plan.