rekor
rekor copied to clipboard
Visualize growth of Rekor log over time
Similar to #466
To show growth of usage of Rekor, and to promote a sense of trust in the project, I think it would be useful to have a graph somewhere on the public site showing Rekor's log size over time.
This information can be reconstructed from previous log entry timestamps, and periodically (daily?) regenerated and put somewhere where rekor.sigstore.dev can embed it from.
Technically it doesn't have to even be done by Rekor itself, but rekor.sigstore.dev seems like a useful public place to show it.
I wrote up a quick script to try this out and it looks like this currently:
Here's the script:
last=928224 # just get this from rekor-cli loginfo
dec=1000 # this is the step size, could make it coarser or finer
for ((i=$last-$dec; i>0; i=$i-$dec)); do
ts=$(./rekor-cli get --log-index=$i --format=json | jq .IntegratedTime)
echo "$i,$ts" >> timestamps.csv
done
Then I uploaded the CSV to a google sheet, converted the UNIX timestamps to dates with this silly little formula: https://stackoverflow.com/questions/45227380/convert-unix-epoch-time-to-date-in-google-sheets
and plotted it.
You can pretty clearly see @priyawadhwa's little "load test" from a few months ago :)
Filtering to the time after that, you can start to see some decent growth!
Thought I would drop in this link from @SantiagoTorres since it includes related rekor visualizations: https://medium.com/@torresariass?p=1950b7c150df