get for 10 biggest repo in forgejo #15
Loading…
Reference in New Issue
No description provided.
Delete Branch "forgejo_biggest_repo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I added that line to get the 10 biggest repo. I'm not sure it is the smartest way to use
echo "git_biggestrepos ${GIT_BIGGESTREPOS}" >> /tmp/git_stats
coz it would be displayed like this:So I don't know how to get this in monitoring to work...
With top 10 biggest repos, (and I would add top 10 repo owners) I would not push the result directly to zabbix as it will be hard to follow and create a trigger. I have pushed solution to formating and added top 10 repo owners. It's hard to make a trigger for this kind of data, perhaps we could just trigger if the data changes, so that if any of the top 10 changes we will get a trigger and then we can check what's up. Maybe it will not be happening too much often.
WIP: get for 10 biggest repo in forgejoto get for 10 biggest repo in forgejosounds good to me. Shall I merge this then?
Yes we could merge and then see what we do with the data on zabbix side or whether we want to also send out reports to xmpp or something. but thats another unrelated to this repo thing.