diff --git a/go/pkg/qtag/declarations/sundeck.yaml b/go/pkg/qtag/declarations/sundeck.yaml index a500aea..ebcceda 100644 --- a/go/pkg/qtag/declarations/sundeck.yaml +++ b/go/pkg/qtag/declarations/sundeck.yaml @@ -30,3 +30,7 @@ fields: type: TRACE - name: child_query_ids type: TRACE + - name: workload + type: DIMENSION + - name: kind + type: DIMENSION diff --git a/tests/test.yaml b/tests/test.yaml index efb9c00..f23b36e 100644 --- a/tests/test.yaml +++ b/tests/test.yaml @@ -119,7 +119,7 @@ - name: test sundeck tags query: | select 1 - -- {"app": "sundeck", "warehouse_updated": true, "query_text_updated": true, "flow_name": "DEFAULT", "query_rejected": false, "hooks_applied": ["hook1", "hook2"], "reject_message": "unknown"} + -- {"app": "sundeck", "warehouse_updated": true, "query_text_updated": true, "flow_name": "DEFAULT", "query_rejected": false, "hooks_applied": ["hook1", "hook2"], "reject_message": "unknown", "workload": "dev", "kind" : "pre_hook"} outcome: - source: sundeck key: app @@ -149,6 +149,14 @@ key: reject_message value: unknown type: TRACE + - source: sundeck + key: workload + value: dev + type: DIMENSION + - source: sundeck + key: kind + value: pre_hook + type: DIMENSION - name: test sundeck service tags query: | select 1