Panfactum / stack

The Panfactum Stack
https://panfactum.com
Other
15 stars 5 forks source link

[feature]: Link Grafana Loki Logs in the Argo Workflows #113

Open wesbragagt opened 3 months ago

wesbragagt commented 3 months ago

Prior Search

What new functionality would you like to see?

I saw in the Argo docs https://argo-workflows.readthedocs.io/en/latest/configure-archive-logs/#suggested-alternatives talking about the ability to add an embedded link that leads to the appropriate pod logs related to the workflow.

You can add links to connect from the Argo UI to your logging facility's UI. See examples in the workflow-controller-configmap.yaml.

Link scope: workflow to the logs of a Workflow
Link scope: pod-logs to the logs of a specific Pod of a Workflow
Parametrize the link with ${metadata.name}, ${metadata.namespace}, ${metadata.labels}, and other available metadata

How would you use this new functionality?

I think it would be a great convenience addon for folks working with Argo to quickly click on the link to view logs as it works much better than the Argo UI.

fullykubed commented 3 months ago

This is a good idea. Ive definitely had enough of Argo's buggy logs to want something more solid. Will investigate as a part of the monitoring arc.