helm: add ServiceMonitor resource#2260
Conversation
Signed-off-by: Nicolas Lamirault <[email protected]>
charts/gateway-helm/values.tmpl.yaml
Outdated
|
|
||
| serviceMonitor: | ||
| # -- Enable this if you're using https://github.com/coreos/prometheus-operator | ||
| enabled: true |
There was a problem hiding this comment.
I don't think we should support this, at least it should be default off.
Signed-off-by: Nicolas Lamirault <[email protected]>
|
sure @zirain it was a mistake. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2260 +/- ##
==========================================
- Coverage 66.89% 64.31% -2.58%
==========================================
Files 163 112 -51
Lines 23453 15728 -7725
==========================================
- Hits 15689 10116 -5573
+ Misses 6838 4973 -1865
+ Partials 926 639 -287 ☔ View full report in Codecov by Sentry. |
Xunzhuo
left a comment
There was a problem hiding this comment.
IMO, it is better to move this into addons or examples.
we can add a new helm chart for all these things, and it won't break the |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions! |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions! |
|
@zirain a new chart just for ServiceMonitor resource ? |
| @@ -0,0 +1,26 @@ | |||
| {{- if .Values.serviceMonitor.enabled }} | |||
There was a problem hiding this comment.
Do we want an extra layer of protection with something like {{ if .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" -}} ?
I think that other projects also take this approach: https://github.com/istio/istio/blob/4f54ef1ba6ff4608841e76c5233827322e683a86/samples/addons/extras/prometheus-operator.yaml#L48 +1 for an addons chart that will contain additional observability examples, like the ones here: https://github.com/envoyproxy/gateway/tree/main/examples/. |
|
I understand that why users want add this, but I do really don't want this be part of part Option 1: be part of examples. |
|
adding some labels to this, so we prioritize making a decision here |
|
should this be a add-on chart (along with prom and grafana with no EG resource) or a demo/extended chart (with EG as a subchart) ? |
either is better than current. |
|
Since #3470 landed, what is the status of this PR? Do we still need this? |
The |
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, when it's ready. Thank you for your contributions! |
|
closing this PR since its become inactive, the ServiceMonitor should be available in the |
What type of PR is this?
Support
ServiceMonitorresource to monitoring Envoy Gateway using the Prometheus OperatorWhat this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #