Application Logs Not Appearing in Application Observability Dashboard

What Grafana version and what operating system are you using?

  • Grafana Cloud integrated with a Kubernetes cluster on Digital Ocean.
  • Application stack: Node.js.

What are you trying to achieve?

  • Display application logs in the Application Observability dashboard, grouped by service.
  • Currently, logs only appear in the Logs UI, separated by instance, but they do not appear in the correct service view within the Application Observability panel.

How are you trying to achieve it?

  • Installed grafana-k8s-monitoring following the official documentation.
  • Enabled podLogs, and logs appear correctly in the Logs UI.
  • My application uses @opentelemetry/api and @opentelemetry/auto-instrumentations-node for metrics, traces, and logs.
  • Metrics and traces are correctly registered and displayed in the Grafana dashboard, but logs are not shown under the service in Application Observability.

What happened?

  • Application logs are not displayed in the Application Observability view but are correctly available in the Logs UI, filtered by instance.
  • Metrics and traces appear correctly in the dashboard.

What did you expect to happen?

  • Expected logs to be associated correctly with the service and visible in the Application Observability dashboard alongside metrics and traces, without needing to filter by instance.

Can you copy/paste the configuration(s) that you are having problems with?

Here is my values.yaml configuration:

yaml

CopiarEditar

destinations:
  - name: grafana-cloud-metrics
    type: prometheus
    url: https://prometheus-prod-56-prod-us-east-2.grafana.net/api/prom/push
    auth:
      type: basic
      username: "XXXXX"
      password: XXXXX
  - name: grafana-cloud-logs
    type: loki
    url: https://logs-prod-036.grafana.net/loki/api/v1/push
    auth:
      type: basic
      username: "XXXX"
      password: XXXXX
  - name: grafana-cloud-traces
    type: otlp
    url: https://tempo-prod-26-prod-us-east-2.grafana.net:443
    protocol: grpc
    auth:
      type: basic
      username: "XXXX"
      password: XXXXX
    metrics:
      enabled: false
    logs:
      enabled: false
    traces:
      enabled: true
  - name: grafana-cloud-profiles
    type: pyroscope
    url: https://profiles-prod-001.grafana.net:443
    auth:
      type: basic
      username: "XXXX"
      password: XXXXX

podLogs:
  enabled: true
  namespaces:
    - apps

applicationObservability:
  enabled: true
  receivers:
    otlp:
      grpc:
        enabled: true
        port: 4317
      http:
        enabled: true
        port: 4318
    zipkin:
      enabled: true
      port: 9411
  connectors:
    grafanaCloudMetrics:
      enabled: true

autoInstrumentation:
  enabled: true

Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • No errors appear in the Grafana UI.
  • Logs appear correctly in Loki, but they are not grouped under Application Observability Dashboard.

Did you follow any online instructions? If so, what is the URL?

Question

Is there any additional configuration needed to ensure logs are correctly grouped by service in the Application Observability Dashboard?