SE-PRG / azmitool

☁️🕵️‍♂️ Azure Managed Identity tool
MIT License
2 stars 5 forks source link

Missing overview about amount of azmi downloads #161

Open MangyCoyote opened 4 years ago

MangyCoyote commented 4 years ago

Major: Azmi is stable and usable. We miss simple stats about amount of downloads (binary and .deb) from users. What is the possible usage Worldwide? We have no clue ATM.

Minor: While watching this closely, there is small contradiction. We provide an app for Linux VM (at least that is what we say to users as our main goal), yet we download either binary or .deb package from URL beginning with: https://azmi.blob.core.**windows**.net/ Not a big deal, but might confuse our users!? it is an app designed for Windows? Something to consider.

iricigor commented 4 years ago

Just dropping some ideas about azmi storage account monitoring / configuration.

Regarding statistics, we can monitor storage account usage. Like in graph below, there was 3GB of data downloaded from it in last 30 days. This means approximately 40-150 downloads. I also created “an alert”, severity 4, that is sending me information if download is higher than 0 KB. It got triggered on 20th of May, when there was about 500MB downloaded.

image

MangyCoyote commented 4 years ago

Yup, the point is: we should real-time update count of downloads on GitHub documentation (badge?). Why so?

MangyCoyote commented 4 years ago

40 - 150 downloads estimate is unfortunately too wide [with respect to future] Also, perhaps we should exclude ourselves?

iricigor commented 4 years ago

I enabled logging on storage account. Should be possible to extract download count from it, as described here.

iricigor commented 4 years ago

A problem with this metric might be that some clients will not download from public source, but from proxy source.