You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "cxzl25 (via GitHub)" <gi...@apache.org> on 2023/10/09 14:02:23 UTC
[PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
cxzl25 opened a new pull request, #1965:
URL: https://github.com/apache/incubator-celeborn/pull/1965
### What changes were proposed in this pull request?
`celeborn.metrics.prometheus.path`
### Why are the changes needed?
### Does this PR introduce _any_ user-facing change?
### How was this patch tested?
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
Posted by "cxzl25 (via GitHub)" <gi...@apache.org>.
cxzl25 commented on PR #1965:
URL: https://github.com/apache/incubator-celeborn/pull/1965#issuecomment-1754304770
> it doesn't seem necessary to make such a change, can you provide a practical scenario?
Spark and Kyuubi support configuring Prometheus Servlet to register on different paths.
https://github.com/apache/spark/blob/08640961e3bad7de38ed3358df8706bad028c27a/core/src/main/scala/org/apache/spark/metrics/sink/PrometheusServlet.scala#L41-L45
https://github.com/apache/kyuubi/blob/e33df9ce6664b7069baceaf3b5a874464ea87cd7/kyuubi-metrics/src/main/scala/org/apache/kyuubi/metrics/PrometheusReporterService.scala#L42
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
Posted by "xleoken (via GitHub)" <gi...@apache.org>.
xleoken commented on PR #1965:
URL: https://github.com/apache/incubator-celeborn/pull/1965#issuecomment-1754433283
> > it doesn't seem necessary to make such a change, can you provide a practical scenario?
>
> Spark and Kyuubi support configuring Prometheus Servlet to register on different paths.
>
> https://github.com/apache/spark/blob/08640961e3bad7de38ed3358df8706bad028c27a/core/src/main/scala/org/apache/spark/metrics/sink/PrometheusServlet.scala#L41-L45
>
> https://github.com/apache/kyuubi/blob/e33df9ce6664b7069baceaf3b5a874464ea87cd7/kyuubi-metrics/src/main/scala/org/apache/kyuubi/metrics/PrometheusReporterService.scala#L42
thanks, it seems not necessary from my side 😅
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #1965:
URL: https://github.com/apache/incubator-celeborn/pull/1965#issuecomment-1753100966
## [Codecov](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1965?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
> Merging [#1965](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1965?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (ea69b7e) into [main](https://app.codecov.io/gh/apache/incubator-celeborn/commit/84ef527181a58cec829fcefd27fdc65c72831a18?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (84ef527) will **increase** coverage by `0.67%`.
> Report is 9 commits behind head on main.
> The diff coverage is `100.00%`.
```diff
@@ Coverage Diff @@
## main #1965 +/- ##
==========================================
+ Coverage 46.50% 47.16% +0.67%
==========================================
Files 164 164
Lines 10341 10367 +26
Branches 954 957 +3
==========================================
+ Hits 4808 4889 +81
+ Misses 5218 5165 -53
+ Partials 315 313 -2
```
| [Files](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1965?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [...cala/org/apache/celeborn/common/CelebornConf.scala](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1965?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL3NjYWxhL29yZy9hcGFjaGUvY2VsZWJvcm4vY29tbW9uL0NlbGVib3JuQ29uZi5zY2FsYQ==) | `87.56% <100.00%> (+0.03%)` | :arrow_up: |
| [...apache/celeborn/common/metrics/MetricsSystem.scala](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1965?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL3NjYWxhL29yZy9hcGFjaGUvY2VsZWJvcm4vY29tbW9uL21ldHJpY3MvTWV0cmljc1N5c3RlbS5zY2FsYQ==) | `10.82% <ø> (-1.18%)` | :arrow_down: |
... and [14 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-celeborn/pull/1965/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
Posted by "xleoken (via GitHub)" <gi...@apache.org>.
xleoken commented on PR #1965:
URL: https://github.com/apache/incubator-celeborn/pull/1965#issuecomment-1754162137
Hi @cxzl25, it doesn't seem necessary to make such a change, can you provide a practical scenario? thanks.
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture closed pull request #1965: [CELEBORN-1028] Make prometheus path configurable
URL: https://github.com/apache/incubator-celeborn/pull/1965
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
Posted by "AngersZhuuuu (via GitHub)" <gi...@apache.org>.
AngersZhuuuu commented on PR #1965:
URL: https://github.com/apache/incubator-celeborn/pull/1965#issuecomment-1755345813
Should we also change the doc about RESTFUL API? @cxzl25 cc @waitinfuture
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CELEBORN-1028] Make prometheus path configurable [incubator-celeborn]
Posted by "waitinfuture (via GitHub)" <gi...@apache.org>.
waitinfuture commented on code in PR #1965:
URL: https://github.com/apache/incubator-celeborn/pull/1965#discussion_r1350433821
##########
common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:
##########
@@ -3661,6 +3661,14 @@ object CelebornConf extends Logging {
.intConf
.createWithDefault(10)
+ val METRICS_PROMETHEUS_PATH: ConfigEntry[String] =
+ buildConf("celeborn.metrics.prometheus.path")
+ .categories("metrics")
+ .doc("URI context path of prometheus metrics HTTP server")
Review Comment:
better to add version for the config
--
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: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org