diff --git a/packages/observability/grafanactl/resources/dashboards/boxel-status/indexing.json b/packages/observability/grafanactl/resources/dashboards/boxel-status/indexing.json index e7458487f99..a5dc2f0129a 100644 --- a/packages/observability/grafanactl/resources/dashboards/boxel-status/indexing.json +++ b/packages/observability/grafanactl/resources/dashboards/boxel-status/indexing.json @@ -718,8 +718,57 @@ }, "properties": [ { - "id": "custom.hidden", - "value": true + "id": "actions", + "value": [ + { + "type": "fetch", + "title": "Cancel reservation ${__value.raw}", + "fetch": { + "method": "POST", + "url": "${realm_server}_grafana-complete-job", + "queryParams": [ + [ + "reservation_id", + "${__value.raw}" + ] + ], + "headers": [ + [ + "Authorization", + "Bearer ${grafana_secret}" + ] + ], + "body": "" + }, + "confirmation": "Cancel running indexing job (reservation ${__value.raw})? The worker will stop processing it.", + "oneClick": false + } + ] + }, + { + "id": "mappings", + "value": [ + { + "options": { + "from": 0, + "result": { + "color": "red", + "index": 0, + "text": "Cancel" + }, + "to": 9999999999999 + }, + "type": "range" + } + ] + }, + { + "id": "displayName", + "value": "Action" + }, + { + "id": "custom.filterable", + "value": false } ] },