We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb51dc commit 37ae901Copy full SHA for 37ae901
1 file changed
src/client-side-metrics/exporter.ts
@@ -312,7 +312,9 @@ export class CloudMonitoringExporter extends MetricExporter {
312
try {
313
const projectId = await this.client.getProjectId();
314
const request = metricsToRequest(projectId, metrics);
315
- await this.client.createTimeSeries(request as ICreateTimeSeriesRequest);
+ await this.client.createServiceTimeSeries(
316
+ request as ICreateTimeSeriesRequest,
317
+ );
318
// The resultCallback typically accepts a value equal to {code: x}
319
// for some value x along with other info. When the code is equal to 0
320
// then the operation completed successfully. When the code is not equal
0 commit comments