Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0ea1b66

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed

‎monitoring/api/v3/custom_metric.py

Copy file name to clipboardExpand all lines: monitoring/api/v3/custom_metric.py
-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.