Skip to content

Instantly share code, notes, and snippets.

@gbrayut
Created January 12, 2016 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbrayut/8d9543a07a7f1b6d6f0b to your computer and use it in GitHub Desktop.
Save gbrayut/8d9543a07a7f1b6d6f0b to your computer and use it in GitHub Desktop.
Testing TagOverride
2016/01/12 16:12:26 fatal: main.go:266: Type mismatch for 'conf.Conf.Tags': Expected map but found '[]map[string]interface {}'.
Host = "http://ny-gbraylx01:8070"
DisableSelf = true
BatchSize = 5000
[[Cadvisor]]
URL = "http://ny-intapp01:8080"
[[TagOverride]]
CollectorExpr = 'cadvisor'
[[MatchedTags]]
docker_name = 'k8s_(?P<container_name>[^\.]+)\.[0-9a-z]+_(?P<pod_name>[^-]+)'
docker_id = '^(?P<docker_id>.{12})'
[[Tags]]
docker_name = ''
source = 'kubelet'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment