From f4ee6733db25198a2f122f558bebc45977dc9103 Mon Sep 17 00:00:00 2001 From: Alex Grant Date: Mon, 9 Dec 2024 09:22:58 -0500 Subject: [PATCH 1/2] feat: add filtering for country code --- .../analytics/analytics-utilities/src/types/explore/requests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/analytics/analytics-utilities/src/types/explore/requests.ts b/packages/analytics/analytics-utilities/src/types/explore/requests.ts index b6add7a205..b454aa7951 100644 --- a/packages/analytics/analytics-utilities/src/types/explore/requests.ts +++ b/packages/analytics/analytics-utilities/src/types/explore/requests.ts @@ -46,6 +46,7 @@ export type FilterableRequestDimensions = typeof filterableRequestDimensions[num export const queryableRequestWildcardDimensions = [ 'auth_type', 'client_ip', + 'country_code', 'data_plane_node_version', 'header_host', 'header_user_agent', From f7be8e8c977fc48fdc92b33ef0fe64b88236950d Mon Sep 17 00:00:00 2001 From: Alex Grant Date: Mon, 9 Dec 2024 10:40:55 -0500 Subject: [PATCH 2/2] feat: add explore support --- .../analytics/analytics-utilities/src/types/explore/advanced.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/analytics/analytics-utilities/src/types/explore/advanced.ts b/packages/analytics/analytics-utilities/src/types/explore/advanced.ts index a0d4a9c365..e9c1217b02 100644 --- a/packages/analytics/analytics-utilities/src/types/explore/advanced.ts +++ b/packages/analytics/analytics-utilities/src/types/explore/advanced.ts @@ -6,6 +6,7 @@ export const queryableExploreDimensions = [ ...queryableBasicExploreDimensions, 'application', 'consumer', + 'country_code', 'iso_code', ] as const