feat(plugins): add error tracking metrics and Grafana dashboard to llm-guard plugin#3406
Open
feat(plugins): add error tracking metrics and Grafana dashboard to llm-guard plugin#3406
Conversation
…tion metrics. Signed-off-by: habeck <habeck@us.ibm.com>
Signed-off-by: habeck <habeck@us.ibm.com>
Signed-off-by: habeck <habeck@us.ibm.com>
Signed-off-by: habeck <habeck@us.ibm.com>
…abled) Signed-off-by: habeck <habeck@us.ibm.com>
Signed-off-by: habeck <habeck@us.ibm.com>
… use localhost instead of 127.0.0.1. Signed-off-by: habeck <habeck@us.ibm.com>
… provide example for LLMGuardPlugin Signed-off-by: habeck <habeck@us.ibm.com>
…sboard to visualize Scanner initialization time, Per-scanner execution time and Error rates by type Signed-off-by: habeck <habeck@us.ibm.com>
Signed-off-by: habeck <habeck@us.ibm.com>
…RF compatibility. Signed-off-by: habeck <habeck@us.ibm.com>
Member
|
Thanks @tedhabeck — comprehensive error tracking for #1961. The metrics labels, fail-safe error handling, and Grafana dashboard are well-designed. The lazy evaluation logging fix is a nice bonus. LGTM. |
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.
🔗 Related Issue
Closes #1961
📝 Summary
Overview
Added comprehensive error tracking metrics to the LLM Guard plugin to monitor error rates by type across all components, with corresponding Grafana dashboard visualizations.
Key Features
Platform compatibility changes
🏷️ Type of Change
🧪 Verification
make lintmake testmake coverage✅ Checklist
make black isort pre-commit)📓 Notes (optional)
Requires application of changes in this PR for successful testing: #3211