We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
One of the methods to authenticate with the API for the kubeletstatsreceiver needs the node name. The documentation explains how to do it: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kubeletstatsreceiver/README.md#service-account-authentication-example
kubeletstatsreceiver
It would be nice to inject the environment variable automatically from the operator.
The text was updated successfully, but these errors were encountered:
You can use the OTEL_RESOURCE_ATTRIBUTES_NODE_NAME environment variable injected by the operator to configure the receiver.
OTEL_RESOURCE_ATTRIBUTES_NODE_NAME
Example:
receivers: kubeletstats: collection_interval: 20s auth_type: "serviceAccount" endpoint: "https://${env:OTEL_RESOURCE_ATTRIBUTES_NODE_NAME}:10250" insecure_skip_verify: true
Sorry, something went wrong.
That's a good idea. Maybe we can add that note to the kubeletstatsreceiver doc.
Successfully merging a pull request may close this issue.
Component(s)
No response
Is your feature request related to a problem? Please describe.
One of the methods to authenticate with the API for the
kubeletstatsreceiver
needs the node name. The documentation explains how to do it: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kubeletstatsreceiver/README.md#service-account-authentication-exampleDescribe the solution you'd like
It would be nice to inject the environment variable automatically from the operator.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: