-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Manage observability at entrypoint and router level #11308
Conversation
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.
IMHO, the general Observability section of the documentation should be updated explaining the configuration procedure (global in static conf + default value + granular).
Otherwise, I love it ❤️
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
} | ||
|
||
// ShouldAddMetrics returns whether the metrics should be enabled for the given resource. | ||
func (o *ObservabilityMgr) ShouldAddMetrics(resourceName string) bool { | ||
// ShouldAddMetrics returns whether the metrics should be enabled for the given resource and the observability config. |
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.
// ShouldAddMetrics returns whether the metrics should be enabled for the given resource and the observability config. | |
// ShouldAddMetrics returns whether the metrics should be enabled for the given serviceName and the observability config. |
4101917
to
be4f43e
Compare
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
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
4cdbecf
to
9c0b3d1
Compare
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 does this PR do?
This PR introduces options to control observability (access-logs, metrics and tracing) at entrypoint and router level.
Motivation
Fixes #6059
Fixes #10646
More
Additional Notes
Co-authored-by: Kevin Pollet pollet.kevin@gmail.com