
com.newrelic.agent.config.ApplicationLoggingMetricsConfig 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 2022 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/
package com.newrelic.agent.config;
import java.util.Map;
public class ApplicationLoggingMetricsConfig extends BaseConfig {
public static final String ROOT = "metrics";
public static final String ENABLED = "enabled";
public static final boolean DEFAULT_ENABLED = true;
private final boolean enabled;
public ApplicationLoggingMetricsConfig(Map props, String parentRoot) {
super(props, parentRoot + ROOT + ".");
enabled = getProperty(ENABLED, DEFAULT_ENABLED);
}
public boolean getEnabled() {
return enabled;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy