-
Notifications
You must be signed in to change notification settings - Fork 38
Alerting Provisioning: Added support for the name query parameter
#230
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
... to the `get_contactpoints` method, for filtering by name.
Summary by CodeRabbit
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant AlertingProvisioning
participant GrafanaAPI
User->>AlertingProvisioning: get_contactpoints(name)
AlertingProvisioning->>GrafanaAPI: GET /contact-points?name={name}
GrafanaAPI-->>AlertingProvisioning: Response (filtered contact points)
AlertingProvisioning-->>User: Return filtered contact points
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Graph Analysis (2)grafana_client/elements/_async/alertingprovisioning.py (1)
grafana_client/elements/alertingprovisioning.py (1)
🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #230 +/- ##
==========================================
- Coverage 92.40% 92.25% -0.16%
==========================================
Files 27 27
Lines 1818 1821 +3
==========================================
Hits 1680 1680
- Misses 138 141 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
About
The
get_contactpointsmethod receives support for filtering by name, as suggested by @devth. Thanks!