Skip to content

Commit 82b519f

Browse files
committed
add label workspaceLocation
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 0aab23d commit 82b519f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

loganalytics/prober.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ func (p *LogAnalyticsProber) translateWorkspaceIntoConfig(val string) WorkspaceC
174174
workspaceConfig.Labels["workspaceResourceID"] = workspaceConfig.ResourceID
175175
workspaceConfig.Labels["workspaceResourceGroup"] = resourceInfo.ResourceGroup
176176
workspaceConfig.Labels["workspaceResourceName"] = resourceInfo.ResourceName
177+
workspaceConfig.Labels["workspaceLocation"] = to.String(workspaceResource.Location)
177178

178179
// add custom labels
179180
workspaceConfig.Labels = p.tagManagerConfig.AddResourceTagsToPrometheusLabels(

0 commit comments

Comments
 (0)