argoproj / argo-rollouts

Progressive Delivery for Kubernetes
https://argo-rollouts.readthedocs.io/
Apache License 2.0
2.79k stars 873 forks source link

Add Grafana Loki provider in AnalysisTemplate for obtaining measurements #1883

Open bestrand opened 2 years ago

bestrand commented 2 years ago

Summary

Add support for Grafana Loki and LogQL as provider in AnalysisTemplate for obtaining measurements for analysis.

Use Cases

Run queries against Grafana Loki with LogQL to get status (errors or other relevant loginfo) from the logs during prePromotionAnalysis / postPromotionAnalysis or during canary release.

Be able to get a good overview both from a log and metrics perspective by using Loki and Prometheus during Analysis.


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

gitarns commented 2 years ago

i'd really like like this too.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity.

kostis-codefresh commented 4 months ago

Since version 1.5 everybody can write a plugin for any metric provider https://argo-rollouts.readthedocs.io/en/stable/analysis/plugins/

kostis-codefresh commented 4 months ago

You can always use https://argo-rollouts.readthedocs.io/en/stable/analysis/job/ and https://argo-rollouts.readthedocs.io/en/stable/analysis/web/ providers as well.