-
Notifications
You must be signed in to change notification settings - Fork 6
chore(app-proxy): add ServiceMonitor configuration for metrics monitoring #503
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
Conversation
Add ServiceMonitor resource definition to enable monitoring of the app-proxy's http-metrics endpoint. This change allows for better observability and performance tracking of the service.
charts/gitops-runtime/values.yaml
Outdated
@@ -592,6 +592,11 @@ app-proxy: | |||
annotations: {} | |||
name: "cap-app-proxy" | |||
|
|||
serviceMonitor: | |||
create: true |
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.
@ATGardner Can you change it to enabled: false
?
- We have a general convention to use
enabled
word - And I suggest to disable it by default, not all customers have ServiceMonitor CRD installed
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.
sure. i used create
similarly to the serviceAccount. but i guess this is a bit different. changing now
Change the ServiceMonitor configuration to use an 'enabled' flag instead of 'create'. This allows for better control over the monitoring setup in the app-proxy.
/e2e |
/e2e |
1 similar comment
/e2e |
Add ServiceMonitor resource definition to enable monitoring of the app-proxy's http-metrics endpoint. This change allows for better observability and performance tracking of the service.
What
Why
Notes