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

feat: add additional tags/fields to pod metrics #7691

Merged

Conversation

rawkode
Copy link
Contributor

@rawkode rawkode commented Jun 16, 2020

Add state reason, which can eventually deprecated terminated_reason, to pod_container metrics; as well as a tag to represent the readiness of the container.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@rawkode
Copy link
Contributor Author

rawkode commented Jun 16, 2020

I've removed terminated_status from the README.md, but it is still emitted from the plugin.

My thoughts were that we can hide / discourage it's use from the README and deprecate in favour of state_reason later.

Would like feedback

Copy link
Contributor

@danielnelson danielnelson left a comment

Choose a reason for hiding this comment

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

On the terminated_reason field, make it as deprecated and follow the pattern in https://github.com/influxdata/telegraf/wiki/Deprecation#deprecate-metrics

plugins/inputs/kube_inventory/pod.go Outdated Show resolved Hide resolved
plugins/inputs/kube_inventory/pod.go Show resolved Hide resolved
@danielnelson danielnelson added this to the 1.15.0 milestone Jun 16, 2020
@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Jun 16, 2020
@rawkode
Copy link
Contributor Author

rawkode commented Jun 16, 2020

Done. Thank you, @danielnelson

@rawkode rawkode force-pushed the feat/improve-pod-understanding branch from ab50020 to fb4e264 Compare June 16, 2020 17:44
@danielnelson danielnelson merged commit 3568200 into influxdata:master Jun 16, 2020
@rawkode rawkode deleted the feat/improve-pod-understanding branch June 16, 2020 20:28
@rawkode
Copy link
Contributor Author

rawkode commented Jun 16, 2020

Thanks, @danielnelson

rhajek pushed a commit to bonitoo-io/telegraf that referenced this pull request Jul 13, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants