public BlobFileConventionActor(NestBatchPusher pusher,
                                ITelemetryProvider telemetryProvider)
 {
     _telemetryProvider    = telemetryProvider;
     _pusher               = pusher;
     _durationInstrumentor = telemetryProvider.GetInstrumentor <BlobFileConventionActor>();
 }
Esempio n. 2
0
 public BlobFileConventionActor(IElasticsearchBatchPusher pusher,
                                ITempDownloadLocationProvider tempDownloadLocationProvider,
                                ITelemetryProvider telemetryProvider)
 {
     _tempDownloadLocationProvider = tempDownloadLocationProvider;
     _telemetryProvider            = telemetryProvider;
     _pusher = pusher;
     _durationInstrumentor = telemetryProvider.GetInstrumentor <BlobFileConventionActor>();
 }
Esempio n. 3
0
 public ShardKeyActor(IElasticsearchBatchPusher pusher,
                      ITelemetryProvider telemetryProvider,
                      IConfigurationValueProvider configurationValueProvider)
 {
     _pusher               = pusher;
     _telemetryProvider    = telemetryProvider;
     _durationInstrumentor = telemetryProvider.GetInstrumentor <ShardKeyActor>();
     if (!int.TryParse(
             configurationValueProvider.GetValue(ConfigurationKeys.ShadKeyArrivalDelayWarningInSeconds),
             out _shardKeyDelayWarning))
     {
         _shardKeyDelayWarning = 120;
     }
 }
Esempio n. 4
0
 public MasterScheduler(IEventQueueOperator eventQueueOperator,
                        IConfigurationValueProvider configurationValueProvider,
                        ISourceConfiguration sourceConfiguration,
                        IElasticsearchClient elasticsearchClient,
                        IServiceLocator locator,
                        ILockStore lockStore,
                        ITelemetryProvider telemetryProvider,
                        IIndexNamer indexNamer,
                        IKeyValueStore keyValueStore)
 {
     _keyValueStore                = keyValueStore;
     _indexNamer                   = indexNamer;
     _lockStore                    = lockStore;
     _telemetryProvider            = telemetryProvider;
     _sourceConfiguration          = sourceConfiguration;
     _locator                      = locator;
     _elasticsearchClient          = elasticsearchClient;
     _configurationValueProvider   = configurationValueProvider;
     _eventQueueOperator           = eventQueueOperator;
     _scheduleDurationInstrumentor = telemetryProvider.GetInstrumentor <MasterScheduler>();
 }
Esempio n. 5
0
 public BlobFileActor(IElasticsearchBatchPusher pusher, ITelemetryProvider telemetryProvider)
 {
     _pusher               = pusher;
     _telemetryProvider    = telemetryProvider;
     _durationInstrumentor = telemetryProvider.GetInstrumentor <BlobFileActor>();
 }