argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
18.04k stars 5.51k forks source link

Export metrics for a number of daily users (dau) #20801

Open andrii-korotkov-verkada opened 2 weeks ago

andrii-korotkov-verkada commented 2 weeks ago

Summary

Export a metric about how many distinct users of ArgoCD server were there in the last 24 hours (or maybe support a few other intervals).

Motivation

This can be great to evaluate how many people need to use the tool. It can be interpreted both ways - lower metric can also mean people don't have many issues and rely on autosync.

Proposal

Keep some counter with a rolling window on ArgoCD server and populate daily users from it.