Skip to content

Commit

Permalink
add for prom
Browse files Browse the repository at this point in the history
  • Loading branch information
musa-asad committed Feb 4, 2025
1 parent d73e303 commit 471e814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translator/translate/otel/exporter/awsemf/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func setPrometheusLogGroup(conf *confmap.Conf, cfg *awsemfexporter.Config) error
}
} else {

if clusterName := util.GetClusterNameFromEc2Tagger(); clusterName != "" {
if clusterName := common.GetClusterName(conf); clusterName != "" {
cfg.LogGroupName = fmt.Sprintf(eksDefaultLogGroupFormat, clusterName)
}
}
Expand Down

0 comments on commit 471e814

Please sign in to comment.