Skip to content

Commit 0ea1b66

Browse files
author
Bill Prin
committed
Don’t send name in create custom metric
1 parent c69d2b2 commit 0ea1b66

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

monitoring/api/v3/custom_metric.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ def create_custom_metric(client, project_id,
5959
custom_metric_type, metric_kind):
6060
"""Create custom metric descriptor"""
6161
metrics_descriptor = {
62-
"name": "projects/{}/metricDescriptors/{}".format(
63-
project_id, custom_metric_type),
6462
"type": custom_metric_type,
6563
"labels": [
6664
{

0 commit comments

Comments
 (0)