Skip to content

Commit 946202b

Browse files
committed
Polish 'Support 'New Relic' eventType properties'
See gh-18472
1 parent e73ae62 commit 946202b

File tree

1 file changed

+6
-6
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/newrelic

1 file changed

+6
-6
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/newrelic/NewRelicProperties.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
public class NewRelicProperties extends StepRegistryProperties {
3434

3535
/**
36-
* When this is {@code false}, the New Relic eventType value will be set to
37-
* {@link #eventType()}. Otherwise, the meter name will be used. Defaults to
38-
* {@code false}.
36+
* Whether to send the meter name as the event type instead of using the 'event-type'
37+
* configuration property value. Can be set to 'true' if New Relic guidelines are not
38+
* being followed or event types consistent with previous Spring Boot releases are
39+
* required.
3940
*/
4041
private boolean meterNameEventTypeEnabled;
4142

4243
/**
43-
* This configuration property will only be used if
44-
* {@link #meterNameEventTypeEnabled()} is {@code false}. Default value is
45-
* {@code SpringBootSample}.
44+
* The event type that should be published. This property will be ignored if
45+
* 'meter-name-event-type-enabled' is set to 'true'.
4646
*/
4747
private String eventType = "SpringBootSample";
4848

0 commit comments

Comments
 (0)