public UtilizationStore(ISystemInfo systemInfo, IDnsStatic dnsStatic, IConfiguration configuration, IAgentHealthReporter agentHealthReporter) { _systemInfo = systemInfo; _dnsStatic = dnsStatic; _configuration = configuration; _agentHealthReporter = agentHealthReporter; }
public WrapperService(IConfigurationService configurationService, IWrapperMap wrapperMap, IAgent agent, IAgentHealthReporter agentHealthReporter, IAgentTimerService agentTimerService) { _configurationService = configurationService; _maxConsecutiveFailures = configurationService.Configuration.WrapperExceptionLimit; _agent = agent; _wrapperMap = wrapperMap; _agentHealthReporter = agentHealthReporter; _agentTimerService = agentTimerService; _functionIdToWrapper = new ConcurrentDictionary <ulong, InstrumentedMethodInfoWrapper>(); }
public DistributedTracePayloadHandler(IConfigurationService configurationService, IAgentHealthReporter agentHealthReporter, IAdaptiveSampler adaptiveSampler) { _configurationService = configurationService; _agentHealthReporter = agentHealthReporter; _adaptiveSampler = adaptiveSampler; }
public ConnectionHandler(ISerializer serializer, ICollectorWireFactory collectorWireFactory, IProcessStatic processStatic, IDnsStatic dnsStatic, ILabelsService labelsService, Environment environment, ISystemInfo systemInfo, IAgentHealthReporter agentHealthReporter, IEnvironment environmentVariableHelper) { _serializer = serializer; _collectorWireFactory = collectorWireFactory; _processStatic = processStatic; _dnsStatic = dnsStatic; _labelsService = labelsService; _environment = environment; _systemInfo = systemInfo; _agentHealthReporter = agentHealthReporter; _environmentVariableHelper = environmentVariableHelper; _connectionInfo = new ConnectionInfo(_configuration); _dataRequestWire = new NoOpCollectorWire(); }
public AgentTimer(IAgentHealthReporter agentHealthReporter, string eventName) { _agentHealthReporter = agentHealthReporter; _eventName = eventName; }
public ErrorEventAggregator(IDataTransportService dataTransportService, IScheduler scheduler, IProcessStatic processStatic, IAgentHealthReporter agentHealthReporter) : base(dataTransportService, scheduler, processStatic) { _agentHealthReporter = agentHealthReporter; ResetCollections(_configuration.ErrorCollectorMaxEventSamplesStored); }
public void Teardown() { _configAutoResponder.Dispose(); _healthReporter = null; _configVersion = 0; }
public HttpCollectorWire(IConfiguration configuration, IAgentHealthReporter agentHealthReporter) { _configuration = configuration; _requestHeadersMap = _emptyRequestHeadersMap; _agentHealthReporter = agentHealthReporter; }
public DataTransportService(IConnectionManager connectionManager, IDateTimeStatic dateTimeStatic, IAgentHealthReporter agentHealthReporter) { _connectionManager = connectionManager; _dateTimeStatic = dateTimeStatic; _lastMetricSendTime = _dateTimeStatic.UtcNow; _agentHealthReporter = agentHealthReporter; }
public SpanStreamingService(IGrpcWrapper <SpanBatch, RecordStatus> grpcWrapper, IDelayer delayer, IConfigurationService configSvc, IAgentHealthReporter agentHealthReporter, IAgentTimerService agentTimerService) : base(grpcWrapper, delayer, configSvc, agentHealthReporter, agentTimerService) { }
public CustomEventAggregator(IDataTransportService dataTransportService, IScheduler scheduler, IProcessStatic processStatic, IAgentHealthReporter agentHealthReporter) : base(dataTransportService, scheduler, processStatic) { _agentHealthReporter = agentHealthReporter; GetAndResetCollection(_configuration.CustomEventsMaximumSamplesStored); }
protected DataStreamingService(IGrpcWrapper <TRequestBatch, TResponse> grpcWrapper, IDelayer delayer, IConfigurationService configSvc, IAgentHealthReporter agentHealthReporter, IAgentTimerService agentTimerService) { _grpcWrapper = grpcWrapper; _delayer = delayer; _configSvc = configSvc; _agentTimerService = agentTimerService; _cancellationTokenSource = new CancellationTokenSource(); _agentHealthReporter = agentHealthReporter; //This will ensure that anything that depends on the token will not run until //we are ready (ie. we have called Start which will generate a new token). _cancellationTokenSource.Cancel(); }
public HttpCollectorWire(IConfiguration configuration, Dictionary <string, string> requestHeadersMap, IAgentHealthReporter agentHealthReporter) { _configuration = configuration; _requestHeadersMap = requestHeadersMap ?? _emptyRequestHeadersMap; _agentHealthReporter = agentHealthReporter; }
public ErrorTraceAggregator(IDataTransportService dataTransportService, IScheduler scheduler, IProcessStatic processStatic, IAgentHealthReporter agentHealthReporter) : base(dataTransportService, scheduler, processStatic) { _agentHealthReporter = agentHealthReporter; GetAndResetCollection(); }
public SpanEventAggregator(IDataTransportService dataTransportService, IScheduler scheduler, IProcessStatic processStatic, IAgentHealthReporter agentHealthReporter) : base(dataTransportService, scheduler, processStatic) { _agentHealthReporter = agentHealthReporter; //we don't care about the returned CPQ because it was initialized with zero size. GetAndResetCollection(); }
public void TearDown() { _mockAgentHealthReporter = null; }
public SqlTraceAggregator(IDataTransportService dataTransportService, IScheduler scheduler, IProcessStatic processStatic, IAgentHealthReporter agentHealthReporter) : base(dataTransportService, scheduler, processStatic) { _agentHealthReporter = agentHealthReporter; }