feat(provider): add Vertex AI provider#6202
Closed
DragonBot00 wants to merge 2 commits intokeephq:mainfrom
Closed
Conversation
Add a Vertex AI provider that integrates GCP Vertex AI model endpoint monitoring into Keep via Cloud Monitoring. Features: - Service account JSON auth (same pattern as gcpmonitoring provider) - Pull Vertex AI alerts from GCP Cloud Monitoring - Webhook support via GCP Monitoring notification channels - Auto-creates 3 default alert policies (error rate, latency, endpoint down) - Monitors prediction count, error rate, and latency metrics - 4 mock alert scenarios for testing Closes keephq#6087
|
@DragonBot00 is attempting to deploy a commit to the KeepHQ Team on Vercel. A member of the Team first needs to authorize it. |
Member
|
Closing: AI-generated spam. |
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.
What
Add a Vertex AI provider that integrates GCP Vertex AI model endpoint monitoring into Keep via Cloud Monitoring.
Why
Closes #6087 — Vertex AI is a core GCP service for serving LLMs. Users deploying Keep on GCP (like the issue requester on GKE) need native Vertex AI alerting support alongside their existing GCP infrastructure monitoring.
How
Vertex AI doesn't expose native webhooks — alerts flow through GCP Cloud Monitoring. This provider:
gcpmonitoringprovider)aiplatform.googleapis.com/*metrics and fetches their active incidentsaiplatform/prediction/online/error_count— prediction errorsaiplatform/prediction/online/latencies— prediction latency spikesaiplatform/prediction/online/prediction_count— endpoint availabilityTesting
_format_alertwith all 4 mock alert scenariosFiles Added
keep/providers/vertexai_provider/__init__.pykeep/providers/vertexai_provider/vertexai_provider.pykeep/providers/vertexai_provider/alerts_mock.pytests/test_vertexai_provider.pyDependencies Added
google-cloud-monitoring = "^2.18.0"inpyproject.toml