Skip to content

Commit 0a1e295

Browse files
pushkar-gBhavik Kumar
authored andcommitted
Reduce Micrometer logging (#55)
* Increase the connect timeout for newrelic reporter This is to remove the intermittent connection errors in the logs when services try to send metrics to newrelic Signed-off-by: Pushkar Gupte <[email protected]> * Update the new relic reporter log level to ERROR This will reduce the unnecessary logging from the micrometer newrelic reporter. Signed-off-by: Pushkar Gupte <[email protected]>
1 parent b7192bf commit 0a1e295

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service/src/main/resources/application.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spring:
1010

1111
logging:
1212
level:
13-
io.micrometer.newrelic: WARN
13+
io.micrometer.newrelic: ERROR
1414

1515
resource:
1616
path: /sbjb
@@ -28,6 +28,7 @@ management:
2828
export:
2929
newrelic:
3030
enabled: false
31+
connect-timeout: 10s
3132
tags:
3233
application: ${spring.application.name}
3334
container: ${HOSTNAME:}${COMPUTERNAME:}

0 commit comments

Comments
 (0)