67 lines
1.5 KiB
JSON
67 lines
1.5 KiB
JSON
{
|
|
"title": "Linear Void Monitoring",
|
|
"panels": [
|
|
{
|
|
"title": "Concurrent Viewers",
|
|
"type": "timeseries",
|
|
"targets": [{ "expr": "linearvoid_chat_connected_clients" }]
|
|
},
|
|
{
|
|
"title": "Stored Messages",
|
|
"type": "stat",
|
|
"targets": [
|
|
{
|
|
"expr": "linearvoid_chat_messages_total"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Moderation Actions",
|
|
"type": "timeseries",
|
|
"targets": [{ "expr": "linearvoid_chat_moderation_actions_total" }]
|
|
},
|
|
{
|
|
"title": "Redis Reachable",
|
|
"type": "stat",
|
|
"targets": [{ "expr": "linearvoid_chat_redis_up" }]
|
|
},
|
|
{
|
|
"title": "Admin Sessions",
|
|
"type": "timeseries",
|
|
"targets": [{ "expr": "linearvoid_chat_admin_sessions_active" }]
|
|
},
|
|
{
|
|
"title": "Chat Scrape Health",
|
|
"type": "stat",
|
|
"targets": [{ "expr": "up{job=\"chat\"}" }]
|
|
},
|
|
{
|
|
"title": "Cache Hit Ratio",
|
|
"type": "timeseries",
|
|
"targets": [
|
|
{
|
|
"expr": "linearvoid_cache_hit_ratio"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Redis Memory Usage",
|
|
"type": "timeseries",
|
|
"targets": [
|
|
{
|
|
"expr": "linearvoid_chat_redis_memory_usage_ratio"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Chat Request Latency p95",
|
|
"type": "timeseries",
|
|
"targets": [
|
|
{
|
|
"expr": "histogram_quantile(0.95, sum(rate(linearvoid_chat_request_duration_seconds_bucket[5m])) by (le))"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|