Grafana Captures Exceptions of One Job Only

I am currently using Grafana with Loki to run a query that collects all exceptions thrown in Airflow jobs. However, I’ve noticed an issue where Grafana is only capturing exceptions for a specific job, even though all jobs in Airflow have failed.

Although all the jobs in Airflow were failed, Grafana is only capturing exceptions for a specific job.
Following Airflow’s failed tasks:

Following Grafana’s output:

As you can see from the screenshots, Grafana has only captured one job.

Could anyone provide some insight into why this might be happening? Is there something I’m missing in my query or setup that could cause Grafana to only capture exceptions from one job?

Any help would be greatly appreciated!

You need to group by job in your loki query, so each job will have own timeserie.