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
…32901)

Fixes #31333

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling authored May 7, 2024
1 parent 02be293 commit df4dddd
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 df4dddd

Please sign in to comment.