-
Notifications
You must be signed in to change notification settings - Fork 924
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
[KYUUBI #5944] Introduce Prometheus and Grafana for Kyuubi Playground #5945
Conversation
docker/playground/.env
Outdated
@@ -28,3 +28,5 @@ SPARK_VERSION=3.4.2 | |||
SPARK_BINARY_VERSION=3.4 | |||
SPARK_HADOOP_VERSION=3.3.4 | |||
ZOOKEEPER_VERSION=3.6.3 | |||
PROMETHEUS_VERSION=v2.45.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why leave a leading v
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prometheus docker image requires.
See more tags in https://hub.docker.com/r/prom/prometheus/tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's tag, not version. if wanted, we may use apache-kyuubi:${KYUUBI_VERSION}-spark
or something
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5945 +/- ##
============================================
- Coverage 61.26% 61.18% -0.09%
Complexity 23 23
============================================
Files 621 622 +1
Lines 36864 36882 +18
Branches 5014 5014
============================================
- Hits 22586 22566 -20
- Misses 11848 11877 +29
- Partials 2430 2439 +9 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except to one line
Co-authored-by: Cheng Pan <[email protected]>
Thanks, merged to master |
…ground # 🔍 Description ## Issue References 🔗 This pull request fixes apache#5944 ## Describe Your Solution 🔧 Add prometheus and grafana docker image to docker compose yaml, and by defaults, prometheus will get kyuubi server's metrics and grafana set prometheus as default datasource. Help developers quickly build a dashboard development environment. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 In local test - [x] all container start success - [x] By defaults, prometheus get kyuubi's metrics - [x] Grafana take the prometheus as default datasource #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes apache#5945 from zwangsheng/KYUUBI#5944. Closes apache#5944 031deed [Binjie Yang] Update docker/playground/README.md dbf41e3 [zwangsheng] declare metrics related config e6efe30 [zwangsheng] make grafana as anonymous 404dd42 [zwangsheng] fix comments f7ca4ae [zwangsheng] fix prometheus 089f8d0 [zwangsheng] eof 6872078 [zwangsheng] add license header cfa6edf [zwangsheng] [KYUUBI apache#5944][Improvement] Introduce Prometheus and Grafana for Kyuubi Playground Lead-authored-by: zwangsheng <[email protected]> Co-authored-by: Binjie Yang <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
…ground # 🔍 Description ## Issue References 🔗 This pull request fixes apache#5944 ## Describe Your Solution 🔧 Add prometheus and grafana docker image to docker compose yaml, and by defaults, prometheus will get kyuubi server's metrics and grafana set prometheus as default datasource. Help developers quickly build a dashboard development environment. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 In local test - [x] all container start success - [x] By defaults, prometheus get kyuubi's metrics - [x] Grafana take the prometheus as default datasource #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes apache#5945 from zwangsheng/KYUUBI#5944. Closes apache#5944 031deed [Binjie Yang] Update docker/playground/README.md dbf41e3 [zwangsheng] declare metrics related config e6efe30 [zwangsheng] make grafana as anonymous 404dd42 [zwangsheng] fix comments f7ca4ae [zwangsheng] fix prometheus 089f8d0 [zwangsheng] eof 6872078 [zwangsheng] add license header cfa6edf [zwangsheng] [KYUUBI apache#5944][Improvement] Introduce Prometheus and Grafana for Kyuubi Playground Lead-authored-by: zwangsheng <[email protected]> Co-authored-by: Binjie Yang <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
🔍 Description
Issue References 🔗
This pull request fixes #5944
Describe Your Solution 🔧
Add prometheus and grafana docker image to docker compose yaml, and by defaults, prometheus will get kyuubi server's metrics and grafana set prometheus as default datasource.
Help developers quickly build a dashboard development environment.
Types of changes 🔖
Test Plan 🧪
In local test
Behavior Without This Pull Request ⚰️
Behavior With This Pull Request 🎉
Related Unit Tests
Checklist 📝
Be nice. Be informative.