gateway icon indicating copy to clipboard operation
gateway copied to clipboard

helm: add ServiceMonitor resource

Open nlamirault opened this issue 1 year ago • 14 comments

What type of PR is this?

Support ServiceMonitor resource to monitoring Envoy Gateway using the Prometheus Operator

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

nlamirault avatar Dec 01 '23 08:12 nlamirault

sure @zirain it was a mistake.

nlamirault avatar Dec 01 '23 12:12 nlamirault

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.31%. Comparing base (4c52f10) to head (34473ed). Report is 4 commits behind head on main.

:exclamation: Current head 34473ed differs from pull request most recent head 870a19c. Consider uploading reports for the commit 870a19c to get more accurate results

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     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Dec 01 '23 12:12 codecov[bot]

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 core.

zirain avatar Dec 06 '23 05:12 zirain

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!

github-actions[bot] avatar Jan 18 '24 20:01 github-actions[bot]

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!

github-actions[bot] avatar Feb 18 '24 12:02 github-actions[bot]

@zirain a new chart just for ServiceMonitor resource ?

nlamirault avatar May 07 '24 14:05 nlamirault

new chart just for ServiceMonitor resource ?

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/.

guydc avatar May 07 '24 21:05 guydc

I understand that why users want add this, but I do really don't want this be part of part core chart.

Option 1: be part of examples. Option 2: part of an new addon chart(maybe it's a little early)

zirain avatar May 07 '24 22:05 zirain

adding some labels to this, so we prioritize making a decision here

arkodg avatar May 07 '24 22:05 arkodg

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) ?

arkodg avatar May 08 '24 00:05 arkodg

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.

zirain avatar May 08 '24 00:05 zirain

Since #3470 landed, what is the status of this PR? Do we still need this?

shawnh2 avatar Jun 05 '24 03:06 shawnh2

@shawnh2 as part of https://github.com/envoyproxy/gateway/pull/3470, did we need to define a ServiceMonitor to ensure Prometheus can scrape properly ?

arkodg avatar Jun 05 '24 23:06 arkodg

@shawnh2 as part of #3470, did we need to define a ServiceMonitor to ensure Prometheus can scrape properly ?

The ServiceMonitor is used for Prometheus-operator, since we do not support this operator now, we can include this as a option in gateway-addons-helm.

shawnh2 avatar Jun 14 '24 03:06 shawnh2

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!

github-actions[bot] avatar Jul 25 '24 20:07 github-actions[bot]