
com.newrelic.agent.config.InfiniteTracingSpanEventsConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-agent Show documentation
Show all versions of newrelic-agent Show documentation
Jar required to run with a java application to monitor performance.
The newest version!
/*
*
* * Copyright 2020 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/
package com.newrelic.agent.config;
import java.util.Map;
public class InfiniteTracingSpanEventsConfig extends BaseConfig {
public static final String ROOT = "span_events";
public static final String QUEUE_SIZE = "queue_size";
public static final int DEFAULT_SPAN_EVENTS_QUEUE_SIZE = 100000;
private final int queue_size;
public InfiniteTracingSpanEventsConfig(Map props, String parentRoot) {
super(props, parentRoot + ROOT + ".");
queue_size = getIntProperty(QUEUE_SIZE, DEFAULT_SPAN_EVENTS_QUEUE_SIZE);
}
public int getQueueSize() {
return queue_size;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy