Skip to content

Live-check: allow filtering findings when emitting logs over otlp #1248

@lmolkova

Description

@lmolkova
Image

Most of these findings are known, expected or something app developer has no control over (e.g. exception.escapted attribute is set by otel python for back-compat reasons).

I thought advice-preprocessor could help me, but it seems it only massages the data given to a policy and it does not seem I can use it to drop/filter things.

What would be great is some config (similar to linting suppressions) like

min_finding_level: WARN
suppress_findings:
  - ids: ["not_stable"]
  # some future advanced capabilities to suppress more granularly, but it might not be worth it

It can also be cmd line params (min finding level, finding ids to suppress) for the time being.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestlive-checkRelated to the live-check feature

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions