...
1label: Config Connector MonitoringMetricDescriptor
2markdownDescription: Creates yaml for a MonitoringMetricDescriptor resource
3insertText: |
4 apiVersion: monitoring.cnrm.cloud.google.com/v1beta1
5 kind: MonitoringMetricDescriptor
6 metadata:
7 name: \${1:monitoringmetricdescriptor-name}
8 spec:
9 projectRef:
10 external: \${2:projects/[PROJECT_ID?]}
11 labels:
12 - key: \${3:system_stable}
13 valueType: \${4:BOOL}
14 description: \${5:True if the estimation system is stable.}
15 - key: \${6:condition_summary}
16 valueType: \${7:STRING}
17 description: \${8:A description of the condition the market system is in.}
18 launchStage: \${9:BETA}
19 metadata:
20 ingestDelay: \${10:1000s}
21 samplePeriod: \${11:100s}
22 metricKind: \${12:GAUGE}
23 type: \${13:custom.googleapis.com/market/measurements/volume}
24 unit: \${14:[USD]/h}
25 valueType: \${15:DISTRIBUTION}
26 description: \${16:Tracks a combination of estimates of trade volume for a given
27 resource, in USD per hour.}
28 displayName: \${17:Trading Volume Estimate}
View as plain text