Initial commit

This commit is contained in:
Nathaniel Landau
2022-02-05 16:22:33 -05:00
parent 43e9f4fc59
commit 84958e0ef8
103 changed files with 10138 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
[[processors.regex]]
namepass = ["consul_health_checks"]
# Tag and field conversions defined in a separate sub-tables
[[processors.regex.tags]]
## Tag to change
key = "check_name"
## Regular expression to match on a tag value
pattern = "^service: \\W(\\w+)\\W check$"
## Matches of the pattern will be replaced with this string. Use ${1}
## notation to use the text of the first submatch.
replacement = "${1}"
[[inputs.consul]]
address = "consul.service.consul:8500"
scheme = "http"
insecure_skip_verify = true
metric_version = 2
namedrop = ["traefik.http*","traefik.enable*","traefik.tcp*"]
tagexclude = ["traefik.http*","traefik.enable*", "traefik.tcp*"]
[inputs.consul.tagdrop]
check_name = [ "Nomad Client*", "Nomad Server*", "Serf Health Status" ]