dora-metrics / pelorus

Automate the measurement of organizational behavior
https://pelorus.readthedocs.io/
Apache License 2.0
241 stars 82 forks source link

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

Open etsauer opened 8 months ago

etsauer commented 8 months ago

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