Hi, Flyte Team! I wonder flyte support Grafana Lo...
# flyte-support
g
Hi, Flyte Team! I wonder flyte support Grafana Logging with Loki in Flyte console. My team currently is using Kibana (EFK), but we consider it to replace Loki.
✔️ 1
ah, I think I can setup loki by following logging configuration docs. https://docs.flyte.org/projects/cookbook/en/stable/auto/deployment/configure_logging_links.html
❤️ 1
f
Also please consider contributing
q
I post the config I use for Grafana/Loki later
If you are using Grafana Cloud, in the helm values:
Copy code
task_logs:
    plugins:
      logs:
        templates:
          - displayName: Grafana Loki
            templateUris:
              - '<https://your.grafana.net/explore?left={>"datasource":"grafanacloud-logs","queries":[{"refId":"A","datasource":{"type":"loki","uid":"grafanacloud-logs"},"editorMode":"builder","expr":"{namespace%3D\"{{ "{{" }} .namespace {{ "}}" }}\", pod%3D\"{{ "{{" }} .podName {{ "}}" }}\"} |%3D ``","queryType":"range"}],"range":{"from":"{{ "{{" }} .podUnixStartTime {{ "}}" }}000","to":"now"}}'
thx 2
If you use your own grafana loki instance, adjust URL and datasource as needed. And don't omit the
000
as grafana expects the timestamp in ms
❤️ 1
f
Cc @high-park-82026 / @white-painting-22485
❤️ 1
282 Views