Skip to content

Commit

Permalink
Merge pull request #5939 from devtron-labs/telemetry-dashboard-event-…
Browse files Browse the repository at this point in the history
…packet-fixes

fix: telemetry dashboard event packet fixes
  • Loading branch information
gireesh-naidu authored Oct 1, 2024
2 parents 3b3b5f6 + 0fd7710 commit 0b51ad3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/telemetry/TelemetryEventClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,10 @@ func (impl *TelemetryEventClientImpl) SendTelemetryDashboardAccessEvent() error
return err
}
cm, err := impl.K8sUtil.GetConfigMap(impl.aCDAuthConfig.ACDConfigMapNamespace, DevtronUniqueClientIdConfigMap, client)
if err != nil {
impl.logger.Errorw("DashboardAccessed EventForTelemetry,failed to get DevtronUniqueClientIdConfigMap", "error", err)
return err
}
datamap := cm.Data

accessEventValue, installEventKeyExists := datamap[UIEventKey]
Expand Down Expand Up @@ -667,6 +671,10 @@ func (impl *TelemetryEventClientImpl) SendTelemetryDashboardLoggedInEvent() erro
return err
}
cm, err := impl.K8sUtil.GetConfigMap(impl.aCDAuthConfig.ACDConfigMapNamespace, DevtronUniqueClientIdConfigMap, client)
if err != nil {
impl.logger.Errorw("DashboardLoggedIn EventForTelemetry,failed to get DevtronUniqueClientIdConfigMap", "error", err)
return err
}
datamap := cm.Data

accessEventValue, installEventKeyExists := datamap[UIEventKey]
Expand Down

0 comments on commit 0b51ad3

Please sign in to comment.