Monitoring
Overview Dashboardβ
Arbeidsflate's monitoring dashboards are hosted in Grafana and provide comprehensive insights into system performance, health metrics, and operational status. The dashboards are accessible at Grafana Altinn Cloud.
Main Metricsβ
- System Health: Availability, request stats, latency
- Container Apps: CPU, memory, requests (GraphQL, app gateway)
- Infrastructure: PostgreSQL, Redis
Usageβ
- Select environment (test, yt01, staging, prod)
- Default view: Last 24 hours
- Start with system health, then drill down as needed
Telemetry Collectionβ
Arbeidsflate uses OpenTelemetry for collecting and routing telemetry data:
OpenTelemetry Integrationβ
- Utilizes Azure Container Apps' managed OpenTelemetry agent
- Automatically collects traces and logs from container apps
- Routes telemetry data to Azure Application Insights
- Configured through Container Apps Environment settings
Data Flowβ
- Applications emit OpenTelemetry-compliant telemetry
- Container Apps OpenTelemetry agent collects the data
- Data is sent to Azure Application Insights
- Grafana visualizes the data through Azure Monitor data source
Implementation Detailsβ
- Traces and logs are configured to use Application Insights as destination
- Uses standard OpenTelemetry instrumentation for .NET
- Automatic correlation of distributed traces across services
- Custom metrics and traces can be added through the OpenTelemetry SDK
Redis Dashboardβ
Detailed monitoring of Redis cache performance and health:
Key Metricsβ
- Memory Usage: Total and percentage used memory
- Operations: Commands executed, cache hits/misses
- Keys: Total keys, expired vs evicted keys
- Connections: Connected clients, server load
- Performance: Cache hit ratio, command processing rate
Usageβ
- Select subscription, environment, and Redis resource
- Default view: Last 24 hours
- Refresh interval: 30 seconds
Container Apps Dashboardβ
Monitoring of Azure Container Apps deployments and performance:
Key Metricsβ
- System Logs: Container app system events and logs
- Application Logs: Service-specific application traces
- Deployment Status: Revision tracking and deployment logs
Usageβ
- Filter by service name and revision
- View logs by deployment or system events
- Track service-specific metrics and traces
Application Gateway Dashboardβ
Comprehensive monitoring of Azure Application Gateway performance and WAF metrics:
Key Metricsβ
-
System Health
- Compute Units and Capacity Units
- Healthy Host Count
- Current Connections
- TLS Protocol Distribution
-
Performance
- Request Throughput
- Network Transfer (Bytes Sent/Received)
- Response Times (Total, Backend Connect, First/Last Byte)
- New Connections per Second
-
WAF Security
- WAF Log Analysis
- Blocked Request Statistics
- Rule Violation Distribution
- Detailed Block List with Client IPs
Usageβ
- Select subscription and environment (test, yt01, staging, prod)
- Monitor real-time metrics with auto-refresh (1 minute default)
- View historical data with customizable time ranges
- Analyze WAF security events and blocked requests
Dashboard Featuresβ
- Real-time performance monitoring
- Security threat visualization
- Network traffic analysis
- Response time breakdown
- Resource utilization tracking
Accessβ
The Application Gateway dashboard is available in the same Grafana instance at Grafana Altinn Cloud.