We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68532d6 commit b392b6fCopy full SHA for b392b6f
metrics_azurerm_security.go
@@ -32,6 +32,7 @@ func (m *MetricsCollectorAzureRmSecurity) Setup(collector *CollectorGeneral) {
32
},
33
[]string{
34
"subscriptionID",
35
+ "location",
36
"assessmentType",
37
38
)
@@ -86,6 +87,7 @@ func (m *MetricsCollectorAzureRmSecurity) collectAzureSecurityCompliance(ctx con
86
87
for _, result := range *complienceResult.AssessmentResult {
88
infoLabels := prometheus.Labels{
89
"subscriptionID": to.String(subscription.SubscriptionID),
90
+ "location" : location,
91
"assessmentType": to.String(result.SegmentType),
92
}
93
infoMetric.Add(infoLabels, to.Float64(result.Percentage))
0 commit comments