Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nddq committed Mar 18, 2024
1 parent 21af575 commit 22fd6ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion captureworkload/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {

var tel telemetry.Telemetry
if applicationInsightsID != "" {
l.Info("Start telemetry with Azure App Insights Monitor", zap.String("applicationInsightsID", applicationInsightsID))
l.Info("telemetry enabled", zap.String("applicationInsightsID", applicationInsightsID))
telemetry.InitAppInsights(applicationInsightsID, version)
defer telemetry.ShutdownAppInsights()
tel = telemetry.NewAppInsightsTelemetryClient("retina-capture", map[string]string{
Expand Down
2 changes: 1 addition & 1 deletion controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func main() {

var tel telemetry.Telemetry
if config.EnableTelemetry && applicationInsightsID != "" {
mainLogger.Infof("telemetry enabled, using Application Insights ID: %s", applicationInsightsID)
mainLogger.Info("telemetry enabled", zap.String("applicationInsightsID", applicationInsightsID))
tel = telemetry.NewAppInsightsTelemetryClient("retina-agent", map[string]string{
"version": version,
"apiserver": cfg.Host,
Expand Down
2 changes: 1 addition & 1 deletion operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func main() {
"version": version,
telemetry.PropertyApiserver: apiserverURL,
}
tel = telemetry.NewAppInsightsTelemetryClient("retina-agent", properties)
tel = telemetry.NewAppInsightsTelemetryClient("retina-operator", properties)
} else {
mainLogger.Info("telemetry disabled", zap.String("apiserver", apiserverURL))
tel = telemetry.NewNoopTelemetry()
Expand Down

0 comments on commit 22fd6ad

Please sign in to comment.