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

Enable Docker and Kubernetes labels dedot by default #10338

Merged
merged 4 commits into from
Jan 29, 2019

Conversation

exekias
Copy link
Contributor

@exekias exekias commented Jan 25, 2019

Starting with 7.0 we want to make sure all container (both docker & kubernetes) labels and annotations are dedoted by default. This PR updates default settings to do so.

@exekias exekias added in progress Pull request is currently in progress. review containers Related to containers use case Team:Integrations Label for the Integrations team labels Jan 25, 2019
@exekias exekias requested review from a team as code owners January 25, 2019 12:09
@exekias exekias requested a review from kaiyan-sheng January 25, 2019 12:09
@exekias
Copy link
Contributor Author

exekias commented Jan 25, 2019

@kaiyan-sheng not sure if I covered all places? From my list this should be:

  • add_docker_metadata
  • add_kubernetes_metadata
  • kubernetes autodiscover
  • docker autodiscover
  • docker module
  • kubernetes module

@kaiyan-sheng
Copy link
Contributor

@exekias Yep I can't think of anything that you missed. But there are quite a few places in the code mentioning dedot default false that needs to get cleaned up here :-)
For example: https://github.com/elastic/beats/blob/master/metricbeat/module/kubernetes/event/event.go#L49
https://github.com/elastic/beats/blob/master/metricbeat/module/kubernetes/_meta/config.yml#L20

"module": elasticsearch.ModuleName,
"metricsets": []string{metricset},
"hosts": []string{getEnvHost() + ":" + getEnvPort()},
"module": elasticsearch.ModuleName,
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this change breaks CI?

@exekias exekias removed the in progress Pull request is currently in progress. label Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change containers Related to containers use case review Team:Integrations Label for the Integrations team v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants