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

Update state_node metricset #7699

Merged
merged 6 commits into from
Jul 24, 2018
Merged

Update state_node metricset #7699

merged 6 commits into from
Jul 24, 2018

Conversation

exekias
Copy link
Contributor

@exekias exekias commented Jul 24, 2018

kube_node_status_ready was deprecated in favor of kube_node_status_condition. This PR updates state_node metricset to support both old and new fields.

More details in: closes #6499

@exekias exekias added bug module containers Related to containers use case labels Jul 24, 2018
labels map[string]string
}

func (o opFilter) Process(field string, value interface{}, labels common.MapStr) (string, interface{}, common.MapStr) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why Hound is not complaining here? Asking because this could use a comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess it's because this is implementing a known interface, will add the comments anyway

Copy link
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

WFG

@tsg tsg added the v6.4.0 label Jul 24, 2018
@tsg tsg merged commit 6a25c09 into elastic:master Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug containers Related to containers use case module v6.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing node_status data when using kube-state-metrics > v0.5.0
3 participants