grafana/packages/grafana-schema
Matias Chomicki a64af68955
OTel logs: Move OTel augmented attributes out of the log line to a field (#110901)
* OTel: make attributes a field

* Logs: normalize field names

* chore: remove test

* Translations

* Cleaner approach compatible with "show original line"

* Revert "Cleaner approach compatible with "show original line""

This reverts commit e27c3de4ede5538f12cc8fc27d0aee06906c7792.

* formats: remove scope name from default attributes

* Logs: sync panel state once

* otel formatting: exclude dashboards

* Fix dashboard exclusion

* LogsMetaRow: introduce new reset option for OTel logs

* Translations

* Update test

* Rename constant

* processing: only add otel attributes field for otel logs

* Implement defaultDisplayedFields

* Update translations

* Logs: initialize displayed fields with panel state

* Address lint issues

* LogLine: fix log attributes field title

* Optimization: memo HighlightedLogRenderer

* Otel log attributes: highlight when rendering

* getOtelAttributesField: update

* OTEL_RESOURCE_ATTRS_REGEX: exclude cluster, namespace, and pod

* DisplayedFields: respect syntaxHighlighting state

* chore: revert experimental changes

* chore: use argument

* chore: remove comment

* formats: update tests

* LogList: add integration test

* LogLine: more integration tests

* LogList: more integration tests

* LogList: even more tests

* LogList: add assertion

* processing: update tests

* formats: more tests

* LogLabels: update test

* LogLine: update test

* Prettier

* Logs Panel: add dashboard option

* Translations

* Table: exclude generated field

* LogListContext: invert order of effects

* Explore: remove unnecessary effect

* Explore: unify displayed fields effects

* Remove log

* Rename field

* Update supressions
2025-10-07 11:19:27 +00:00
..
src OTel logs: Move OTel augmented attributes out of the log line to a field (#110901) 2025-10-07 11:19:27 +00:00
CHANGELOG.md
LICENSE_APACHE2
README.md Grafana/schema: trigger new canary release (#101672) 2025-03-06 09:51:19 +02:00
package.json Release: Bump version to 12.3.0-pre (#110974) 2025-09-12 17:54:11 +00:00
project.json Build: Nx improvements (#88341) 2024-10-15 14:25:45 +02:00
rollup.config.ts Fix: Prevent Rollup from treeshaking NPM packages (#108567) 2025-07-24 10:54:02 +02:00
tsconfig.build.json Kindsys: Rename mudball to common schemas, allow multiple input cue files (#61703) 2023-01-18 17:40:22 +00:00
tsconfig.json Chore: Remove @grafana/tsconfig (#109186) 2025-08-06 15:34:34 +01:00

README.md

Grafana Schema Library

@grafana/schema is currently in ALPHA.

This package holds the definitions for objects that should be stored in JSON configuration files

Installation

yarn add @grafana/schema

npm install @grafana/schema