Exemplo n.º 1
0
 internal TestAgentConfigurationReader BuildConfigurationReader(IApmLogger logger) =>
 new TestAgentConfigurationReader(logger
                                  , flushInterval: FlushInterval.HasValue ? $"{FlushInterval.Value.TotalMilliseconds}ms" : null
                                  , maxBatchEventCount: MaxBatchEventCount?.ToString()
                                  , maxQueueEventCount: MaxQueueEventCount?.ToString());
Exemplo n.º 2
0
 internal MockConfigSnapshot BuildConfig(IApmLogger logger) =>
 new MockConfigSnapshot(logger
                        , flushInterval: FlushInterval.HasValue ? $"{FlushInterval.Value.TotalMilliseconds}ms" : null
                        , maxBatchEventCount: MaxBatchEventCount?.ToString()
                        , maxQueueEventCount: MaxQueueEventCount?.ToString());