File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,8 +186,9 @@ The metrics exposed beyond the default Prometheus metrics are:
186186 record uploads.
187187* ` deptracker_post_record_rate_limited ` : the number of post attempts
188188 that were rate limited.
189- * ` deptracker_post_record_no_attestation ` : the number of successful
190- posts for container digest with no matching attestation for the org.
189+ * ` deptracker_post_record_no_attestation ` : the number of attempts
190+ that resulted in no matching attestation for the container digest
191+ (404 "no artifacts found" responses).
191192* ` deptracker_post_record_soft_fail ` : the number of recoverable failed
192193 attempts to upload the deployment record.
193194* ` deptracker_post_record_hard_fail ` : the number of failures to
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ func (c *ClientError) Unwrap() error {
160160 return c .err
161161}
162162
163- // NoArtifactError represents a 404 client response where no artifact was found.
163+ // NoArtifactError represents a 404 client response whose body indicates "no artifacts found" .
164164type NoArtifactError struct {
165165 err error
166166}
Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ var (
5353 PostDeploymentRecordNoAttestation = promauto .NewCounter (
5454 prometheus.CounterOpts {
5555 Name : "deptracker_post_record_no_attestation" ,
56- Help : "The total number of successful posts for container digest with no matching attestation for the org " ,
56+ Help : "The total number of post attempts that resulted in no matching attestation for the container digest (404 'no artifacts found' responses) " ,
5757 },
5858 )
5959
6060 //nolint: revive
6161 PostDeploymentRecordRateLimited = promauto .NewCounter (
6262 prometheus.CounterOpts {
6363 Name : "deptracker_post_record_rate_limited" ,
64- Help : "The total number of post failures due to rate limits " ,
64+ Help : "The total number of post attempts that were rate limited " ,
6565 },
6666 )
6767
You can’t perform that action at this time.
0 commit comments