From 0ea1b66d03c55d8c91799a1ea8f2b255c1233a3b Mon Sep 17 00:00:00 2001 From: Bill Prin Date: Thu, 5 May 2016 13:07:07 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20send=20name=20in=20create=20cus?= =?UTF-8?q?tom=20metric?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitoring/api/v3/custom_metric.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/monitoring/api/v3/custom_metric.py b/monitoring/api/v3/custom_metric.py index 61d6aac8139..c3e050bea34 100644 --- a/monitoring/api/v3/custom_metric.py +++ b/monitoring/api/v3/custom_metric.py @@ -59,8 +59,6 @@ def create_custom_metric(client, project_id, custom_metric_type, metric_kind): """Create custom metric descriptor""" metrics_descriptor = { - "name": "projects/{}/metricDescriptors/{}".format( - project_id, custom_metric_type), "type": custom_metric_type, "labels": [ {