MCPcopy Create free account
hub / github.com/AdRoll/baker / Stats

Method Stats

upload/s3.go:218–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216}
217
218func (u *S3) Stats() baker.UploadStats {
219 bag := make(baker.MetricsBag)
220 bag.AddGauge("s3upload.queuedn", float64(atomic.LoadInt64(&u.queuedn)))
221
222 return baker.UploadStats{
223 NumProcessedFiles: atomic.LoadInt64(&u.totaln),
224 NumErrorFiles: atomic.LoadInt64(&u.totalerr),
225 Metrics: bag,
226 }
227}
228
229type sem chan struct{}
230

Callers

nothing calls this directly

Calls 1

AddGaugeMethod · 0.80

Tested by

no test coverage detected