@@ -74,7 +74,7 @@ export class Plugin {
74
74
private monitoringCore = { } as MonitoringCore ;
75
75
private legacyShimDependencies = { } as LegacyShimDependencies ;
76
76
private bulkUploader : IBulkUploader = { } as IBulkUploader ;
77
- private elasticsearchClient : IClusterClient | undefined ;
77
+ private telemetryElasticsearchClient : IClusterClient | undefined ;
78
78
79
79
constructor ( initializerContext : PluginInitializerContext ) {
80
80
this . initializerContext = initializerContext ;
@@ -148,7 +148,7 @@ export class Plugin {
148
148
registerMonitoringCollection (
149
149
plugins . telemetryCollectionManager ,
150
150
this . cluster ,
151
- ( ) => this . elasticsearchClient ,
151
+ ( ) => this . telemetryElasticsearchClient ,
152
152
{
153
153
maxBucketSize : config . ui . max_bucket_size ,
154
154
}
@@ -241,7 +241,7 @@ export class Plugin {
241
241
// The new client should be inititalized with a similar config to `this.cluster` but, since we're not using
242
242
// the new client in Monitoring Telemetry collection yet, setting the local client allos progress for now.
243
243
// We will update the client in a follow up PR.
244
- this . elasticsearchClient = elasticsearch . client ;
244
+ this . telemetryElasticsearchClient = elasticsearch . client ;
245
245
}
246
246
247
247
stop ( ) {
0 commit comments