Draft
Conversation
…ry Range components for Prometheus integration Implements the five new components for the Prometheus integration: - prometheus.createSilence: Create a silence in Alertmanager - prometheus.expireSilence: Expire (delete) a silence in Alertmanager - prometheus.getSilence: Get a silence by ID from Alertmanager - prometheus.query: Execute an instant PromQL query - prometheus.queryRange: Execute a range PromQL query Includes: - Extended client with Alertmanager silence APIs and query range support - Comprehensive unit tests for all new components - Example output JSON files for each component - Documentation strings for all components Closes #3083
Add component mappers, types, and state registries for: - createSilence: Shows duration and matchers metadata - expireSilence: Shows silence ID metadata - getSilence: Shows silence ID metadata with full details - query: Shows PromQL query metadata - queryRange: Shows PromQL query and step metadata Each mapper includes: - Node display with relevant metadata - Execution details with component-specific output fields - Proper state registries (created, expired, retrieved, queried)
Author
|
Cursor Agent can help with this pull request. Just |
Collaborator
|
@cursoragent don't forget to run make gen.component.docs. |
Author
|
Done -- I ran |
Run make gen.components.docs to generate documentation for: - Create Silence - Expire Silence - Get Silence - Query - Query Range Also fix typo in create silence example output JSON.
Deploying superplane with
|
| Latest commit: |
f0046de
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8bb07463.superplane.pages.dev |
| Branch Preview URL: | https://cursor-agent-b7170375.superplane.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


feat: Implement Prometheus integration #3083 by adding Alertmanager silence management and advanced query components.