Have Loki as log DB and promtail pushing content (What an marvelous piece of software ). Prometheus as a datasource, to my understanding via LOKI datasource you cannot get list of jobs and files to dashboard variables?
Almost there but not quite.
I can get jobs listed with this query label_values(job)
How to list all File(s) from Loki? and filtered by chosen Job.
@jengstro it’s likely you do not need this answer anymore but for others that may come across this as documentation is still sparse, I was able to set the query as such using Loki as source: