Skip to content

Commit

Permalink
[exporter/loki] Documentation incorrect on mapping severity to level
Browse files Browse the repository at this point in the history
Fixes open-telemetry#31333

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling committed May 7, 2024
1 parent 391429f commit 25fe127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/lokiexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The following formats are supported:

## Severity

OpenTelemetry uses `record.severity` to track log levels where loki uses `record.attributes.level` for the same. The exporter automatically maps the two, except if a "level" attribute already exists.
OpenTelemetry uses `record.severityNumber` to track log levels where loki uses `record.attributes.level` for the same. The exporter automatically maps the two, except if a "level" attribute already exists.

## Advanced Configuration

Expand Down

0 comments on commit 25fe127

Please sign in to comment.