Add comprehensive monitoring stack documentation #20
+288
−0
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.
Summary
This PR adds comprehensive documentation for the kube-prometheus-stack monitoring infrastructure, providing a complete reference for Prometheus, Grafana, and AlertManager.
Changes
📚 New Documentation:
deployment/monitoring-stack.md
A complete monitoring guide covering:
Architecture & Components
Installation & Access
scripts/start-monitoring.sh
)ServiceMonitors
Metrics
Application Metrics:
http_requests_total
,http_request_duration_seconds
scanner_jobs_total
,scanner_job_duration_seconds
Kubernetes Metrics:
Alerts
Query Examples
Adding Custom Metrics
Python/FastAPI example showing:
prometheus_client
/metrics
endpointTroubleshooting
Production Recommendations
Benefits
✅ Complete Reference: Single source of truth for monitoring
✅ Quick Start: Copy-paste commands to get started immediately
✅ Production Ready: Best practices and recommendations included
✅ Developer Friendly: Clear examples for adding custom metrics
✅ Well Organized: Logical sections with clear headings
Integration
Integrates with tool-integration repo:
scripts/start-monitoring.sh
for quick accessTesting
Documentation tested locally:
🤖 Generated with Claude Code