Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions devtools/grafana/dashboards/forge-issue-detail.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@
},
"spec": {
"format": "table",
"rawSql": "SELECT any(if(metadata['ticket_type'] = 'Feature', 1, 0)) as value FROM traces FINAL WHERE session_id = '${jira_issue}'"
"rawSql": "SELECT any(nullIf(metadata['ticket_type'], '')) as value FROM traces FINAL WHERE session_id = '${jira_issue}'"
}
},
"refId": "A",
Expand All @@ -490,21 +490,7 @@
"textMode": "value"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"type": "value",
"options": {
"0": {
"text": "Bug"
},
"1": {
"text": "Feature"
}
}
}
]
},
"defaults": {},
"overrides": []
}
}
Expand Down
Loading