kamon-io / Kamon

Distributed Tracing, Metrics and Context Propagation for applications running on the JVM
https://kamon.io
Other
1.41k stars 327 forks source link

Allow failure log level configuration #1358

Closed thyandrecardoso closed 4 weeks ago

thyandrecardoso commented 1 month ago

Datadog APIs sometimes give us timeouts or 502s, which seems to happen to others as well.

The API reporter currently logs those failures in ERROR level which can be a bit frustrating for transient failures like those.

Here I try to add a configuration mechanism to control that log level. What do you think?

ivantopo commented 4 weeks ago

Thanks @thyandrecardoso!