Hello all, I am adding loki and tempo as default datasources for grafana. Added derived fields also for loki. Datasources are added but derived fields are not updated on Grafana. Please help me to if this configuration is incorrect:
chart_specs = [
{
"name": "grafana",
"chart": {
"git": "https://github.com/grafana/helm-charts",
"path": "charts/grafana",
"ref": "bd62f15e63f3e78aa9514d420bc028db9b5f47f0"
},
"values": {
"datasources": {
"datasources.yaml": {
"datasources": [
{
"name": "Tempo",
"type": "tempo",
"access": "proxy",
"orgId": 1,
"url": "http://tempo:3100",
"basicAuth": False,
"isDefault": False,
"version": 1,
"editable": True,
"apiVersion": 1,
"uid": "tempo"
},
{
"name": "Loki",
"type": "loki",
"access": "proxy",
"orgId": 1,
"url": "http://loki:3100",
"basicAuth": False,
"isDefault": True,
"version": 1,
"editable": True,
"apiVersion": 1,
"jsonData": {
"derivedFields": [
{
"datasourceUid": "tempo",
"matcherRegex": "\"traceId\":\"(\\w+)\""
"name": "TraceId",
"url": "$${__value.raw}"
}
]
}
}
]
}
}
}
},