grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.97k stars 3.46k forks source link

feat: add lines skipped metric to pattern ingesters #14997

Open trevorwhitney opened 3 days ago

trevorwhitney commented 3 days ago

What this PR does / why we need it:

This adds a lines_skpped metric to the pattern ingesters, which counts log lines that have been skipped for pattern ingestion. This also adds logic to skip lines with too many (> 50) tokens.

Reasons for skipping:

Which issue(s) this PR fixes: Fixes #14882

Special notes for your reviewer:

Checklist