Class NewRelicProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProperties
org.springframework.boot.actuate.autoconfigure.metrics.export.newrelic.NewRelicProperties
@ConfigurationProperties(prefix="management.newrelic.metrics.export")
public class NewRelicProperties
extends StepRegistryProperties
@ConfigurationProperties
for configuring New Relic
metrics export.- Since:
- 2.0.0
- Author:
- Jon Schneider, Andy Wilkinson, Stephane Nicoll, Neil Powell
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.newrelic.ClientProviderType
getUri()
boolean
void
setAccountId
(String accountId) void
void
setClientProviderType
(io.micrometer.newrelic.ClientProviderType clientProviderType) void
setEventType
(String eventType) void
setMeterNameEventTypeEnabled
(boolean meterNameEventTypeEnabled) void
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties
getBatchSize, getConnectTimeout, getReadTimeout, getStep, isEnabled, setBatchSize, setConnectTimeout, setEnabled, setReadTimeout, setStep
-
Constructor Details
-
NewRelicProperties
public NewRelicProperties()
-
-
Method Details
-
isMeterNameEventTypeEnabled
public boolean isMeterNameEventTypeEnabled() -
setMeterNameEventTypeEnabled
public void setMeterNameEventTypeEnabled(boolean meterNameEventTypeEnabled) -
getEventType
-
setEventType
-
getClientProviderType
public io.micrometer.newrelic.ClientProviderType getClientProviderType() -
setClientProviderType
public void setClientProviderType(io.micrometer.newrelic.ClientProviderType clientProviderType) -
getApiKey
-
setApiKey
-
getAccountId
-
setAccountId
-
getUri
-
setUri
-