Monitoring
Overview Dashboard
Section titled “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
Section titled “Main Metrics”- System Health: Availability, request stats, latency
- Container Apps: CPU, memory, requests (GraphQL, app gateway)
- Infrastructure: PostgreSQL, Redis
- Select environment (test, yt01, staging, prod)
- Default view: Last 24 hours
- Start with system health, then drill down as needed
Telemetry Collection
Section titled “Telemetry Collection”Arbeidsflate uses OpenTelemetry for collecting and routing telemetry data:
OpenTelemetry Integration
Section titled “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
Section titled “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
Section titled “Implementation Details”- Traces and logs are configured to use Application Insights as destination
- Uses the OpenTelemetry Node SDK (
@opentelemetry/sdk-node) in the BFF; the frontend uses the Application Insights Web SDK directly - Automatic correlation of distributed traces across services
- Custom traces can be added through the OpenTelemetry SDK. Metrics are not routed anywhere: the Container Apps environment declares
tracesConfigurationandlogsConfigurationonly, so any exported metrics are discarded by the agent
Redis Dashboard
Section titled “Redis Dashboard”Detailed monitoring of Redis cache performance and health:
Key Metrics
Section titled “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
- Select subscription, environment, and Redis resource
- Default view: Last 24 hours
- Refresh interval: 30 seconds
Container Apps Dashboard
Section titled “Container Apps Dashboard”Monitoring of Azure Container Apps deployments and performance:
Key Metrics
Section titled “Key Metrics”- System Logs: Container app system events and logs
- Application Logs: Service-specific application traces
- Deployment Status: Revision tracking and deployment logs
- Filter by service name and revision
- View logs by deployment or system events
- Track service-specific metrics and traces
Application Gateway Dashboard
Section titled “Application Gateway Dashboard”Comprehensive monitoring of Azure Application Gateway performance and WAF metrics:
Key Metrics
Section titled “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
- 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
Section titled “Dashboard Features”- Real-time performance monitoring
- Security threat visualization
- Network traffic analysis
- Response time breakdown
- Resource utilization tracking
Access
Section titled “Access”The Application Gateway dashboard is available in the same Grafana instance at Grafana Altinn Cloud.