dora-metrics/pelorus

commit_timestamp should include source repo URLs so that users can audit/understand/validate measure calculation

etsauer opened this issue · 0 comments

Feature description

Currently the commit timestamp metric looks like this:

commit_timestamp{app="/pelorus-api/", commit="159c63792a5c1b0d34902be8bc2280406ad1ef06", image_sha="sha256:fad7883875aadddd22bcc7d5c03ac581be84795205dbf412c8c1253342b6ee71"}

In order to be able to trace the commit back to the source, I would like commit timestamp to also include the repo URL OR the commit URL, like this:

commit_timestamp{app="/pelorus-api/", commit="159c63792a5c1b0d34902be8bc2280406ad1ef06", image_sha="sha256:fad7883875aadddd22bcc7d5c03ac581be84795205dbf412c8c1253342b6ee71", repo_url="https://github.com/etsauer/pelorus-api"}

OR

commit_timestamp{app="/pelorus-api/", commit="159c63792a5c1b0d34902be8bc2280406ad1ef06", image_sha="sha256:fad7883875aadddd22bcc7d5c03ac581be84795205dbf412c8c1253342b6ee71", commit_url="https://github.com/etsauer/pelorus-api/commit/159c63792a5c1b0d34902be8bc2280406ad1ef06"}

How this will help you

This will greatly improve the quality and integrity of the results that we show to users.

Feature priority

⌛ It will greatly improve my experience using Pelorus

Code of Conduct

  • I agree to follow Pelorus's Code of Conduct