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

Inject K8S_NODE_NAME environment variable when using the kubeletstats receiver #3389

Merged
merged 11 commits into from
Nov 1, 2024

Conversation

Signed-off-by: Israel Blancas <iblancas@redhat.com>
… receiver

Signed-off-by: Israel Blancas <iblancas@redhat.com>
@iblancasa iblancasa self-assigned this Oct 24, 2024
… receiver

Signed-off-by: Israel Blancas <iblancas@redhat.com>
Signed-off-by: Israel Blancas <iblancas@redhat.com>
@iblancasa iblancasa marked this pull request as ready for review October 28, 2024 17:04
@iblancasa iblancasa requested a review from a team as a code owner October 28, 2024 17:04
Signed-off-by: Israel Blancas <iblancas@redhat.com>
Copy link
Contributor

@swiatekm swiatekm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add some simple unit tests for the functions you've added? It would also be good to check that the variable exists in the kubeletstatsreceiver e2e test here: https://github.com/open-telemetry/opentelemetry-operator/tree/main/tests/e2e-automatic-rbac/receiver-kubeletstats.

Signed-off-by: Israel Blancas <iblancas@redhat.com>
@iblancasa
Copy link
Contributor Author

Done! @swiatekm @jaronoff97
Thanks for your feedback!

@swiatekm swiatekm requested a review from jaronoff97 October 30, 2024 11:38
@jaronoff97
Copy link
Contributor

looks like some unit tests failures.

@swiatekm swiatekm merged commit fa0f54a into open-telemetry:main Nov 1, 2024
36 checks passed
@swiatekm
Copy link
Contributor

swiatekm commented Nov 1, 2024

looks like some unit tests failures.

Flaky unit tests in target allocator service discovery again: /home/runner/work/opentelemetry-operator/opentelemetry-operator/cmd/otel-allocator/watcher/promOperator_test.go:956.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants