-
Notifications
You must be signed in to change notification settings - Fork 7
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
3528 add monitoring tags #3550
3528 add monitoring tags #3550
Conversation
JaCoCo Test Coverage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes here propagate into the ContentionEventsListener class in the svc-bie-kafka
and some of the tags will be duplicated. Can you extend your review to fix that as well?
shared/lib-metrics/src/main/java/gov/va/vro/metricslogging/MetricLoggerService.java
Outdated
Show resolved
Hide resolved
shared/lib-metrics/src/main/java/gov/va/vro/metricslogging/MetricLoggerService.java
Outdated
Show resolved
Hide resolved
shared/lib-metrics/src/main/java/gov/va/vro/metricslogging/MetricLoggerService.java
Outdated
Show resolved
Hide resolved
Ah one other thing that is just a thought... what about making the metric prefix also part of this MetricLogger class and imported as a property? |
shared/lib-metrics/src/main/java/gov/va/vro/metricslogging/MetricLoggerService.java
Show resolved
Hide resolved
This was your recent addition, right? Any objections to removing the tags here in favor of the common code addition in MetricLoggerService?
Looks plenty do-able, but it'll touch a few interfaces. Be prepared for a larger PR!
I can update these while I'm in the code. |
…dencies; add MetricLoggerService tests
… into brostk/3528-bip-monitoring-tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
What was the problem?
Monitoring tags are required by the VA but not present on metrics.
Associated tickets or Slack threads:
How does this fix it?[^1]
MetricLoggerService
now includes all required tags with values populated by properties defined inapplication.yaml
.