-
Notifications
You must be signed in to change notification settings - Fork 941
Expose metrics of engine startup permit state #7072
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
Conversation
59246d6
to
483f44e
Compare
@wForget cc |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7072 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 697 697
Lines 43192 43203 +11
Branches 5854 5854
======================================
- Misses 43192 43203 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
docs/monitor/metrics.md
Outdated
@@ -65,6 +65,9 @@ These metrics include: | |||
| `kyuubi.engine.timeout` | | counter | 1.2.0 | <div style='width: 150pt;word-wrap: break-word;white-space: normal'> cumulative timeout engines</div> | | |||
| `kyuubi.engine.failed` | `${user}` | counter | 1.2.0 | <div style='width: 150pt;word-wrap: break-word;white-space: normal'> cumulative explicitly failed engine count for a `${user}`</div> | | |||
| `kyuubi.engine.failed` | `${errorType}` | counter | 1.2.0 | <div style='width: 150pt;word-wrap: break-word;white-space: normal'> cumulative explicitly failed engine count for a particular `${errorType}`, e.g. `ClassNotFoundException`</div> | | |||
| `kyuubi.engine.startup.permit.limit.total` | | meter | 1.10.1 | <div style='width: 150pt;word-wrap: break-word;white-space: normal'> concurrently startup engines permit limit </div> | |
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.
1.11.0
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.
@pan3793 Updated doc version, added grafana pannel json and resolved conflicts, please review again.
It's also encouraged to update the Grafana Dashboard when adding new metrics https://github.com/apache/kyuubi/tree/master/grafana |
483f44e
to
d6bf369
Compare
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, waiting for CI.
Thanks, merged to master |
Why are the changes needed?
The metrics
kyuubi_operation_state_LaunchEngine_*
cannot reflect the state of Semaphore after configuring the maximum engine startup limit throughkyuubi.server.limit.engine.startup
, add some metrics to show the relevant permit state.How was this patch tested?
Was this patch authored or co-authored using generative AI tooling?