Commit eb93859
authored
fix(storage): emit delete metric for the Azure blob backend (#6469)
The S3 (`s3_compatible_storage`) and GCS/opendal backends both increment
`object_storage_requests_total{action="delete_object"}` on delete, but the
Azure blob backend did not, so delete activity was invisible in metrics for
Azure-backed deployments.
Increment the counter (and record the request-duration histogram) in
`AzureBlobStorage::delete`. Since the Azure backend has no batch-delete API,
`bulk_delete` already funnels through `delete` one blob at a time, so this
covers both single and bulk deletes with no other changes.1 parent 710aa11 commit eb93859
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
382 | 383 | | |
383 | 384 | | |
384 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
385 | 390 | | |
386 | 391 | | |
387 | 392 | | |
| |||
0 commit comments