Files
bakery-ia/infrastructure/signoz/dashboards/log-analysis.json
2026-01-09 14:48:44 +01:00

99 lines
2.2 KiB
JSON

{
"dashboard": {
"title": "Bakery IA - Log Analysis",
"description": "Comprehensive log analysis and search dashboard",
"tags": ["logs", "analysis", "search"],
"panels": [
{
"title": "Log Volume",
"type": "timeseries",
"query": {
"metric": "log_lines_total",
"aggregate": "sum",
"groupBy": ["service"],
"filters": [
{
"key": "service",
"operator": "=",
"value": "${service}"
}
]
},
"unit": "logs/s"
},
{
"title": "Error Logs",
"type": "timeseries",
"query": {
"metric": "log_lines_total",
"aggregate": "sum",
"groupBy": ["service"],
"filters": [
{
"key": "service",
"operator": "=",
"value": "${service}"
},
{
"key": "level",
"operator": "=",
"value": "error"
}
]
},
"unit": "logs/s"
},
{
"title": "Logs by Level",
"type": "pie",
"query": {
"metric": "log_lines_total",
"aggregate": "sum",
"groupBy": ["level"],
"filters": [
{
"key": "service",
"operator": "=",
"value": "${service}"
}
]
}
},
{
"title": "Logs by Service",
"type": "pie",
"query": {
"metric": "log_lines_total",
"aggregate": "sum",
"groupBy": ["service"],
"filters": [
{
"key": "service",
"operator": "=",
"value": "${service}"
}
]
}
}
],
"variables": [
{
"name": "service",
"label": "Service",
"type": "dropdown",
"default": "*",
"values": ["*", "auth-service", "gateway-service", "inventory-service", "production-service", "forecasting-service"]
}
],
"layout": {
"type": "grid",
"columns": 12,
"gap": [16, 16]
},
"refresh": "30s",
"time": {
"from": "now-1h",
"to": "now"
}
}
}