Skip to content

Commit c7e11ba

Browse files
author
Marco Antonio Ghiani
committed
fix(infra): track host cloud provider on host click
1 parent 46abd89 commit c7e11ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export class TelemetryClient implements ITelemetryClient {
2222

2323
public reportHostEntryClicked = ({
2424
hostname,
25-
cloud_provider: cloudProvider = 'unknown',
25+
cloud_provider: cloudProvider,
2626
}: HostEntryClickedParams) => {
2727
this.analytics.reportEvent(InfraTelemetryEventTypes.HOSTS_ENTRY_CLICKED, {
2828
hostname,
29-
cloud_provider: cloudProvider,
29+
cloud_provider: cloudProvider ?? 'unknown',
3030
});
3131
};
3232

0 commit comments

Comments
 (0)