You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "eric9204 (via GitHub)" <gi...@apache.org> on 2024/12/09 09:44:09 UTC

[PR] add labs to podmonitor for discover it by prometheus [kyuubi]

eric9204 opened a new pull request, #6845:
URL: https://github.com/apache/kyuubi/pull/6845

   <!--
   Thanks for sending a pull request!
   
   Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/master/contributing/code/index.html
     2. If the PR is related to an issue in https://github.com/apache/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
   -->
   
   ### Why are the changes needed?
   the prometheus can not discover the podMonitor created by kyuubi helm chart. 
   
   
   ### How was this patch tested?
   1. enable pod monitor:
     ```
   metrics:
     # Enable metrics system, used for 'kyuubi.metrics.enabled' property
     enabled: true
     # A comma-separated list of metrics reporters, used for 'kyuubi.metrics.reporters' property
     reporters: PROMETHEUS
     # Prometheus port, used for 'kyuubi.metrics.prometheus.port' property
     prometheusPort: 10019
   
     # PodMonitor by Prometheus Operator
     podMonitor:
       # Enable PodMonitor creation
       enabled: true
       # List of pod endpoints serving metrics to be scraped by Prometheus, see Prometheus Operator docs for more details
       #podMetricsEndpoints: []
       podMetricsEndpoints:
         - path: /metrics
           port: prometheus
     ```
   2. Helm install kyuubi .
   3. check prometheus web ui.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [PR] add labels to podmonitor for discover it by prometheus [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on code in PR #6845:
URL: https://github.com/apache/kyuubi/pull/6845#discussion_r1877351357


##########
charts/kyuubi/values.yaml:
##########
@@ -285,6 +285,8 @@ metrics:
     #  podMetricsEndpoints:
     #    - path: /metrics
     #      port: prometheus
+    # Additional labels to be used to make podMonitor discovered by Prometheus

Review Comment:
   ```suggestion
       # Additional labels for PodMonitor to be discovered by Prometheus
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [PR] Support additional labels for PodMonitor to be discovered by Prometheus [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 closed pull request #6845: Support additional labels for PodMonitor to be discovered by Prometheus
URL: https://github.com/apache/kyuubi/pull/6845


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [PR] add labels to podmonitor for discover it by prometheus [kyuubi]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #6845:
URL: https://github.com/apache/kyuubi/pull/6845#issuecomment-2527878765

   ## [Codecov](https://app.codecov.io/gh/apache/kyuubi/pull/6845?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   All modified and coverable lines are covered by tests :white_check_mark:
   > Project coverage is 0.00%. Comparing base [(`dc3ac89`)](https://app.codecov.io/gh/apache/kyuubi/commit/dc3ac89453f9dad3229e4bfbb35d88cb0bf33aad?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`17dd254`)](https://app.codecov.io/gh/apache/kyuubi/commit/17dd254b51f98a5d56b146c5552ce0b8dbb69133?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   > Report is 1 commits behind head on master.
   
   <details><summary>Additional details and impacted files</summary>
   
   
   ```diff
   @@          Coverage Diff           @@
   ##           master   #6845   +/-   ##
   ======================================
     Coverage    0.00%   0.00%           
   ======================================
     Files         687     687           
     Lines       42463   42463           
     Branches     5796    5796           
   ======================================
     Misses      42463   42463           
   ```
   
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/kyuubi/pull/6845?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [PR] Support additional labels for PodMonitor to be discovered by Prometheus [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on PR #6845:
URL: https://github.com/apache/kyuubi/pull/6845#issuecomment-2530474721

   thanks, merged to master


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org