Description
What happened:
I tried changing the opentelemetry-collector-contrib exporter to use JSON instead of Map(String,String) for LogAttributes and ResourceAttributes.
Outputting some JSON values throws an error.
What you expected to happen:
All JSON values correctly showing.
How to reproduce it (as minimally and precisely as possible):
Change the otel schema to use JSON instead of Map(String,String) for LogAttributes
Selecting the root JSON value breaks in my scenario, some other nested JSONs also break.
Screenshots




Environment:
- Grafana version: 11.5
- Plugin version: 4.8
- OS Grafana is installed on: docker
- User OS & Browser: macOS and Safari