We're adding logging links <to Flyte using the tas...
# flyte-support
c
We're adding logging links to Flyte using the task logs plugin, we're using Grafana internally, we're giving it a time range so that it can filter the region of logs that has data fast. We first tried to use
podRFC3339StartTime
and
podRFC3339FinishTime
but the problem we have is that Grafana expects datetimes in RFC3339 in millisecond precision so our links don't currently work as podRFC3339StartTime which reads the pod.CreationTimestamp, and of course the creation timestamp is in seconds precision. The way we've "solved" this is to instead use the unix timestamp and pad it with zeroes:
Copy code
&from={{ "{{" }} .podUnixStartTime {{ "}}" }}000&to={{ "{{" }} .podUnixFinishTime {{ "}}" }}000
Hopefully, that helps folks who are using Grafana for their logging.
👍 2
🙇🏽 1
gratitude thank you 1