coroot / coroot-node-agent

A Prometheus exporter based on eBPF that gathers comprehensive container metrics
https://coroot.com/docs/metrics/node-agent
Apache License 2.0
311 stars 55 forks source link

Configurable log rate limit #56

Closed keisku closed 7 months ago

keisku commented 7 months ago

This idea occurred to me during the discussion of https://github.com/coroot/coroot-node-agent/issues/55.

usage: coroot-node-agent [<flags>]

Flags:
....
      --log-per-second=10.0  The number of logs per second
      --log-burst=100        The maximum number of tokens that can be consumed
                             in a single call to allow
def commented 7 months ago

@keisku, thanks for you contribution