-
-
Notifications
You must be signed in to change notification settings - Fork 157
Updates for parseable cluster scheduler #1471
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
Updates for parseable cluster scheduler #1471
Conversation
WalkthroughThis PR fixes a typo in an analytics log message and removes the periodic cluster metrics scheduler and its wiring, making the cluster billing metrics fetch function public. Changes
Sequence Diagram(s)Previous flow (with scheduler) sequenceDiagram
participant Scheduler as Scheduler (AsyncScheduler)
participant Cluster as ClusterModule
participant Fetch as fetch_cluster_billing_metrics()
participant Ingest as ingest_internal_stream()
Note over Scheduler,Cluster: periodic job
Scheduler->>Cluster: trigger job
Cluster->>Fetch: call fetch_cluster_billing_metrics()
Fetch-->>Cluster: return metrics
Cluster->>Ingest: ingest metrics
Ingest-->>Cluster: ack
New flow (scheduler removed, fetch public) sequenceDiagram
participant Caller as External Caller / Task
participant Fetch as pub fetch_cluster_billing_metrics()
participant Cluster as ClusterModule
Note over Caller,Fetch: on-demand or caller-managed scheduling
Caller->>Fetch: call fetch_cluster_billing_metrics()
Fetch-->>Caller: return metrics
Note over Caller,Cluster: caller decides ingestion/wiring
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings, 1 inconclusive)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
🧰 Additional context used🧠 Learnings (5)📚 Learning: 2025-10-20T17:48:53.444ZApplied to files:
📚 Learning: 2025-08-25T01:32:25.980ZApplied to files:
📚 Learning: 2025-08-20T06:28:46.051ZApplied to files:
📚 Learning: 2025-09-18T09:59:20.177ZApplied to files:
📚 Learning: 2025-08-25T01:31:41.786ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (2)
Comment |
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
159cf7d
f706208 to
159cf7d
Compare
Remove the cluster scheduler task as it's not required anymore
Description
This PR has:
Summary by CodeRabbit
Bug Fixes
Refactor
✏️ Tip: You can customize this high-level summary in your review settings.