Skip to content

Commit

Permalink
SD-5181: Add Workload and Kind tag to Sundeck (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshuldata authored Nov 27, 2023
1 parent 7d2bb37 commit ab466c9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions go/pkg/qtag/declarations/sundeck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ fields:
type: TRACE
- name: child_query_ids
type: TRACE
- name: workload
type: DIMENSION
- name: kind
type: DIMENSION
10 changes: 9 additions & 1 deletion tests/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ab466c9

Please sign in to comment.