metal-stack / gardener-extension-audit

A Gardener extension that provides audit forwarding to different backends
MIT License
1 stars 2 forks source link

With unlimited retries the health check does not work #14

Closed Gerrit91 closed 7 months ago

Gerrit91 commented 7 months ago

For the splunk output we configure retry_limit False. If this backend cannot send records, then the healthcheck will still tell everything is good:

curl localhost:2020/api/v1/metrics | jq   
...
    "splunk.0": {
      "proc_records": 0,
      "proc_bytes": 0,
      "errors": 0,
      "retries": 1080,
      "retries_failed": 0,
      "dropped_records": 0,
      "retried_records": 1516
    },
...
❯ curl localhost:2020/api/v1/health  
ok