Grafana Cloud SLO with Loki

I’m trying out Grafana Cloud’s SLO feature.
Looking at the settings, it appears that I can only set Prometheus as the source.

I would like to create SLI from logs like Datadog, is it possible to do this with Grafana Cloud?

I am using Promtail to send Nginx logs to Loki in Grafana Cloud.

This may be a bit off topic here, but does anyone know how to turn Nginx logs into Prometheus metrics using Grafana’s product?

When thinking about where to collect SLI from, I would prefer to use load balancer logs rather than issuing Prometheus metrics from the app.

You might look into
promtail to Loki
Otel collector
Exporters

I was able to create Prometheus metrics from the logs using exactly that now.

1 Like