Export metrics for a number of daily users (dau)
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.
Is this issue still available
Sorry for the long reply, yeah, it's available, the linked PR doesn't address it IIUC.
@andrii-korotkov-verkada @rumstead can you take a look at this PR. I have added a counter that increments whenever a user logs in.
I also looked into ways to accurately track the active users instead just counting request by using tools like ClickHouse. But it requires adding another tool just for this purpose which i figured is not what we are looking for.
I think the idea of implementing daily user count metrics through login is good. However, I'm not sure if it's okay to collect new metrics every time log in.
I'm curious about other reviewers' opinions :)
I am running 3.2.1 but I am not getting the metric. Is there anything I need to do to enable it?