You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(googlecloudmonitoring): support monitoring filters (#37264)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes part of
#36898
<!--Describe what testing was performed and which tests were added.-->
#### Testing
<!--Describe the documentation added.-->
#### Documentation
<!--Please delete paragraphs that you did not use before submitting.-->
Copy file name to clipboardExpand all lines: receiver/googlecloudmonitoringreceiver/README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,10 @@ receivers:
41
41
42
42
Each single metric can have the following configuration:
43
43
44
-
- `metric_name` (Required): The specific metric name to collect.
44
+
- `metric_name` (Optional): The specific metric name to collect.
45
+
- `metric_descriptor_filter` (Optional): Filter for [listing metric descriptors](https://cloud.google.com/monitoring/api/v3/filters#metric-descriptor-filter). Only support `project` and `metric.type` as filter objects.
45
46
47
+
One of `metric_name` and `metric_descriptor_filter` MUST be specified, but MUST not be specified at the same time.
0 commit comments