Skip to content

Commit

Permalink
Merge pull request #328 from GoogleCloudPlatform/metricname
Browse files Browse the repository at this point in the history
Don’t send name in create custom metric
  • Loading branch information
waprin committed May 5, 2016
2 parents 5d78296 + 9c18e18 commit d194e98
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions monitoring/api/v3/custom_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit d194e98

Please sign in to comment.