Skip to content

Commit

Permalink
add label workspaceLocation
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
  • Loading branch information
mblaschke committed Jun 19, 2024
1 parent 0aab23d commit 82b519f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loganalytics/prober.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func (p *LogAnalyticsProber) translateWorkspaceIntoConfig(val string) WorkspaceC
workspaceConfig.Labels["workspaceResourceID"] = workspaceConfig.ResourceID
workspaceConfig.Labels["workspaceResourceGroup"] = resourceInfo.ResourceGroup
workspaceConfig.Labels["workspaceResourceName"] = resourceInfo.ResourceName
workspaceConfig.Labels["workspaceLocation"] = to.String(workspaceResource.Location)

// add custom labels
workspaceConfig.Labels = p.tagManagerConfig.AddResourceTagsToPrometheusLabels(
Expand Down

0 comments on commit 82b519f

Please sign in to comment.