Increment axios timeout sending events (#172062)

This commit is contained in:
Sebastián Zaffarano 2023-11-29 10:25:02 +01:00 committed by GitHub
parent e333c6ee2e
commit f20e8357e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,7 +397,7 @@ export class TelemetryEventsSender implements ITelemetryEventsSender {
'X-Elastic-Stack-Version': clusterVersionNumber ? clusterVersionNumber : '8.0.0',
...(licenseId ? { 'X-Elastic-License-ID': licenseId } : {}),
},
timeout: 5000,
timeout: 10000,
});
this.telemetryUsageCounter?.incrementCounter({
counterName: createUsageCounterLabel(usageLabelPrefix.concat(['payloads', channel])),