Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DATAGO-80463: micrometer statsd log spam #193

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

mynecker
Copy link
Contributor

@mynecker mynecker commented Jul 18, 2024

What is the purpose of this change?

Fixing log spam of micrometers statsd exporter when management.statsd.metrics.export.enabled: false in env.yml is not provided.

How was this change implemented?

Added SpringBoot default configuration in EMAApplication.java (lowest precedence)

How was this change tested?

In local development environment

  • created a Docker image

  • started EMA without any management.micrometer.* configurations defined in env.yml

  • could not observer log spam anymore

  • started EMA with configuration management.statsd.metrics.export.enabled: true in env.yml

  • log spam can be observed - as expected due to missing statsd UDP listener

Is there anything the reviewers should focus on/be aware of?

nope

@mynecker mynecker changed the title DATAGO-80463 micrometer statsd log spam DATAGO-80463: micrometer statsd log spam Jul 18, 2024
Copy link

@mynecker mynecker marked this pull request as ready for review July 18, 2024 10:42
@mynecker mynecker merged commit 93f9878 into main Jul 18, 2024
6 checks passed
@mynecker mynecker deleted the mynecker/DATAGO-80463-micrometer-log-spam branch July 18, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants