Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize growth of Rekor log over time #519

Open
imjasonh opened this issue Dec 2, 2021 · 3 comments
Open

Visualize growth of Rekor log over time #519

imjasonh opened this issue Dec 2, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@imjasonh
Copy link
Member

imjasonh commented Dec 2, 2021

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.

@imjasonh imjasonh added the enhancement New feature or request label Dec 2, 2021
@dlorenc
Copy link
Member

dlorenc commented Dec 9, 2021

I wrote up a quick script to try this out and it looks like this currently:

image

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 :)

@dlorenc
Copy link
Member

dlorenc commented Dec 9, 2021

Filtering to the time after that, you can start to see some decent growth!
image

@jspeed-meyers
Copy link
Contributor

Thought I would drop in this link from @SantiagoTorres since it includes related rekor visualizations: https://medium.com/@torresariass?p=1950b7c150df

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants