Performance analysis dashboard for investigating latency issues and service behavior.
| UID | opencloud-requests |
| Datasource | Prometheus |
| Refresh | auto |
- Users report slowness
- Investigate latency issues
- Identify slow services or endpoints
- Correlate load with resource usage
- Capacity planning
Not for: Error investigation → use Logs instead
Start from: Overview for quick health check
opencloud_proxy_requests_total
opencloud_proxy_errors_total
opencloud_proxy_duration_seconds_bucket
opencloud_*_http_requests_total
opencloud_*_grpc_requests_total
micro_request_duration_seconds_*
go_memstats_heap_alloc_bytes
go_goroutines
| Job | Description |
|---|---|
opencloud |
OpenCloud metrics endpoint (port 9205) |
| Panel | Shows | Thresholds |
|---|---|---|
| Total Requests/s | Overall request rate | green (baseline) |
| Error Rate | % failed requests | green <1%, yellow <5%, red ≥5% |
| P50 Latency | Median response time | green <100ms, yellow <500ms, red ≥500ms |
| P95 Latency | 95th percentile | green <500ms, yellow <2s, red ≥2s |
| P99 Latency | 99th percentile | green <1s, yellow <5s, red ≥5s |
| Errors/s | Absolute error count | green <1, yellow <10, red ≥10 |
| Panel | Shows |
|---|---|
| Latency Heatmap | Visual distribution of response times. Darker = more requests |
| Latency Percentiles Over Time | Track P50, P90, P95, P99 trends |
| Request Rate vs Errors | Correlation: Do errors increase with load? |
Interpretation:
- Consistent band in heatmap = good performance
- Spreading pattern = degradation
- Bimodal (two bands) = different request types
| Panel | Shows |
|---|---|
| HTTP Requests by Service | Frontend, WebDAV, OCM, Storage System |
| gRPC Requests by Service | Gateway, Users, Groups, Sharing, Storage Users, Auth |
Interpretation:
- Frontend = web UI/API
- WebDAV = desktop/mobile sync clients
- High traffic on one service may indicate bottleneck
| Panel | Shows |
|---|---|
| Microservice Latency by Endpoint | Top 10 slowest internal endpoints |
Focus optimization on high-volume + high-latency endpoints.
| Panel | Shows |
|---|---|
| Request Rate vs Memory | Heap memory and goroutines vs load |
Interpretation:
- Memory grows with load but drops after = normal
- Memory grows and never drops = leak
| Panel | Shows |
|---|---|
| Service Requests (selected range) | Request distribution for capacity planning |
| Service Totals (since start) | Cumulative counts since container restart |
P50 (Median) P95 P99
│ │ │
▼ ▼ ▼
┌───────────────────────────────────────────┐
│░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓████████████████│
└───────────────────────────────────────────┘
fast slow
░░░ = 50% of requests (typical user)
▓▓▓ = 45% of requests
███ = 5% of requests (slow, but still affect users)
What to watch:
- P50 = typical user experience
- P95 = slow users (1 in 20)
- P99 = worst case (1 in 100)
Large gap between P50 and P99 indicates outliers needing investigation.
- Check P50/P95/P99 Latency indicators
- Look at Latency Heatmap for when slowdown started
- Check Latency Percentiles Over Time for trends
- Expand Service Breakdown to identify affected service
- Expand Endpoint Analysis section
- Check Microservice Latency by Endpoint
- Note top 3-5 slowest endpoints
- Focus optimization on high-volume + high-latency
- Expand Resource Correlation section
- Watch Request Rate vs Memory over hours/days
- Does memory drop after load decreases?
- Do goroutines return to baseline?
- If not → potential leak
- Expand Service Totals section
- Review traffic distribution
- Expand Service Breakdown for peak patterns
- Identify which services need scaling
- Some operations are much slower than others
- Likely: large file operations, complex searches
- Check Microservice Latency by Endpoint for culprit
- System reaching capacity
- Check CPU/Memory on host (use Node Exporter dashboard)
- Consider resource allocation or scaling
- Two different types of requests
- Often: cached vs uncached, small vs large files
- May be normal behavior
- Systemic issue (disk I/O, network, dependency)
- Check infrastructure dashboards
- Review external dependencies
| Dashboard | Datasource | Use for |
|---|---|---|
| Overview | Prometheus | Quick health check (start here) |
| Proxy | Loki | HTTP access log analysis |
| Logs | Loki | Error investigation |
| Uploads | Prometheus | Upload pipeline analysis |
External: Node Exporter Full (from grafana.com) for host system metrics.