Skip to content

Commit 2a42fb0

Browse files
committed
[Telemetry] Fetch snapshot: allow specifying the version via querystring (#164670)
(cherry picked from commit 57a5824)
1 parent b8f9d4a commit 2a42fb0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/plugins/telemetry/server/routes/telemetry_usage_stats.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export function registerTelemetryUsageStatsRoutes(
9292
.post({
9393
access: 'internal',
9494
path: FetchSnapshotTelemetry,
95+
enableQueryVersion: true, // Allow specifying the version through querystring so that we can use it in Dev Console
9596
})
9697
// Just because it used to be /v2/, we are creating identical v1 and v2.
9798
.addVersion({ version: '1', validate: v2Validations }, v2Handler)

0 commit comments

Comments
 (0)