Skip to content

Monitoring

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.

  • 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

Arbeidsflate uses OpenTelemetry for collecting and routing telemetry data:

  • 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
  1. Applications emit OpenTelemetry-compliant telemetry
  2. Container Apps OpenTelemetry agent collects the data
  3. Data is sent to Azure Application Insights
  4. Grafana visualizes the data through Azure Monitor data source
  • 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 tracesConfiguration and logsConfiguration only, so any exported metrics are discarded by the agent

Detailed monitoring of Redis cache performance and health:

  • 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

Monitoring of Azure Container Apps deployments and performance:

  • 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

Comprehensive monitoring of Azure Application Gateway performance and WAF 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
  • Real-time performance monitoring
  • Security threat visualization
  • Network traffic analysis
  • Response time breakdown
  • Resource utilization tracking

The Application Gateway dashboard is available in the same Grafana instance at Grafana Altinn Cloud.