-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
telegraf docker plugin fails to parse the metric when running under kubernetes #3110
Comments
Can you retest with the latest release? |
Please reopen after testing with latest release. |
You need to exclude annotation.kubernetes* from that list, what's happening is sometimes the kubernetes annotations have no value which causes that error. |
@pilsy how do you exclude it? |
I think adding this option to your docker plugin will work: [[inputs.docker]]
docker_label_exclude = ["annotation.kubernetes*"] |
@danielnelson thank you, got rid of my errors. I'm on kubernetes 1.8 |
I added this to the docker README: ad4a5aa |
Bug report
Possibly related to 2780, telegraf docker plugin errors out when pulling stats from docker
Relevant telegraf.conf:
[[inputs.docker]]
endpoint = "unix:///var/run/docker.sock"
container_names = []
timeout = "180s"
interval = "180s"
System info:
Steps to reproduce:
Expected behavior:
It should parse and send metrics to output sink
Actual behavior:
it fails to parse
Other info
We are running kubernetes 1.7
Let me know if you need more information.
The text was updated successfully, but these errors were encountered: