Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 34bb4d9

Browse files
committed
fix: In Client-side metrics makes sure that the right views get created for the right metrics
1 parent e50b67d commit 34bb4d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client-side-metrics/gcp-metrics-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function createInstruments(projectId: string, exporter: PushMetricExporter) {
7171
new View({
7272
instrumentName: name,
7373
name,
74-
aggregation: name.endsWith('latencies')
74+
aggregation: !name.endsWith('latencies')
7575
? Aggregation.Sum()
7676
: new ExplicitBucketHistogramAggregation(latencyBuckets),
7777
}),

0 commit comments

Comments
 (0)