Skip to content

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

Merged
merged 4 commits into from
May 21, 2025

Conversation

ATGardner
Copy link
Contributor

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

ATGardner added 3 commits May 21, 2025 16:39
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.
@ATGardner ATGardner requested review from a team as code owners May 21, 2025 07:05
@ATGardner ATGardner self-assigned this May 21, 2025
@@ -592,6 +592,11 @@ app-proxy:
annotations: {}
name: "cap-app-proxy"

serviceMonitor:
create: true
Copy link
Contributor

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

Copy link
Contributor Author

@ATGardner ATGardner May 21, 2025

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.
@ATGardner
Copy link
Contributor Author

/e2e

@ATGardner
Copy link
Contributor Author

/e2e

1 similar comment
@ATGardner
Copy link
Contributor Author

/e2e

@ATGardner ATGardner merged commit 0a35053 into main May 21, 2025
3 checks passed
@ATGardner ATGardner deleted the chore/monitor-app-proxy-metrics branch May 21, 2025 09:56
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.

3 participants