|
|
@ -33,16 +33,16 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
public class NewRelicProperties extends StepRegistryProperties {
|
|
|
|
public class NewRelicProperties extends StepRegistryProperties {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* When this is {@code false}, the New Relic eventType value will be set to
|
|
|
|
* Whether to send the meter name as the event type instead of using the 'event-type'
|
|
|
|
* {@link #eventType()}. Otherwise, the meter name will be used. Defaults to
|
|
|
|
* configuration property value. Can be set to 'true' if New Relic guidelines are not
|
|
|
|
* {@code false}.
|
|
|
|
* being followed or event types consistent with previous Spring Boot releases are
|
|
|
|
|
|
|
|
* required.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private boolean meterNameEventTypeEnabled;
|
|
|
|
private boolean meterNameEventTypeEnabled;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This configuration property will only be used if
|
|
|
|
* The event type that should be published. This property will be ignored if
|
|
|
|
* {@link #meterNameEventTypeEnabled()} is {@code false}. Default value is
|
|
|
|
* 'meter-name-event-type-enabled' is set to 'true'.
|
|
|
|
* {@code SpringBootSample}.
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private String eventType = "SpringBootSample";
|
|
|
|
private String eventType = "SpringBootSample";
|
|
|
|
|
|
|
|
|
|
|
|