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

Add container_id field to docker_container_status metrics #6019

Conversation

masuyama-ascade
Copy link
Contributor

Required for all PRs:

Currently, docker_container_status has no container_id field. It is required to get start and finshed time
of docker container and join other metrics like docker_container_cpu, docker_container_mem.

Required for all PRs:
[x] Signed CLA.
[x] Associated README.md updated.
[x] Has appropriate unit tests.

@danielnelson
Copy link
Contributor

Looks good, can you just run make fmt with Go 1.11 or newer which will align the map fields in docker.go?

@danielnelson danielnelson added this to the 1.11.1 milestone Jun 20, 2019
@danielnelson danielnelson added the fix pr to fix corresponding bug label Jun 20, 2019
@masuyama-ascade
Copy link
Contributor Author

I pushed docker.go formatted with go 1.12

@danielnelson danielnelson merged commit e6d71bd into influxdata:master Jun 21, 2019
danielnelson pushed a commit that referenced this pull request Jun 21, 2019
bitcharmer pushed a commit to bitcharmer/telegraf that referenced this pull request Oct 18, 2019
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
xp-1000 pushed a commit to xp-1000/telegraf that referenced this pull request Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docker fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants