[ARVADOS] updated: 36352ce56096e4406344c531147236c355c73235
Git user
git at public.curoverse.com
Tue Jan 3 15:51:21 EST 2017
Summary of changes:
services/keepstore/azure_blob_volume.go | 108 ++++++++++++++++++++++++++-
services/keepstore/azure_blob_volume_test.go | 62 ++++++++++++++-
services/keepstore/s3_volume.go | 85 +++++++--------------
services/keepstore/stats_ticker.go | 50 +++++++++++++
4 files changed, 244 insertions(+), 61 deletions(-)
create mode 100644 services/keepstore/stats_ticker.go
via 36352ce56096e4406344c531147236c355c73235 (commit)
via edf15f609d4eeccb2f693844e4df030f868dbd69 (commit)
via 991a32dd18fb9be2862baca9d6b374d09ae8bc38 (commit)
via 3cbe55d440788b0b9b1a9d9e642103929b57e8fd (commit)
via 3121f0dfb9262ccd50d0637c9f7cedf9191f69bf (commit)
from b2da02379210a1d43914b36f412f76e639203a81 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 36352ce56096e4406344c531147236c355c73235
Merge: b2da023 edf15f6
Author: Tom Clegg <tom at curoverse.com>
Date: Tue Jan 3 15:50:35 2017 -0500
Merge branch '10682-azure-stats'
refs #10682
commit edf15f609d4eeccb2f693844e4df030f868dbd69
Author: Tom Clegg <tom at curoverse.com>
Date: Tue Jan 3 15:49:46 2017 -0500
10682: Add GetMetadataOps and GetPropertiesOps to Azure backend stats.
diff --git a/services/keepstore/azure_blob_volume.go b/services/keepstore/azure_blob_volume.go
index 220744c..4839e3f 100644
--- a/services/keepstore/azure_blob_volume.go
+++ b/services/keepstore/azure_blob_volume.go
@@ -634,13 +634,15 @@ func (v *AzureBlobVolume) InternalStats() interface{} {
type azureBlobStats struct {
statsTicker
- Ops uint64
- GetOps uint64
- GetRangeOps uint64
- CreateOps uint64
- SetMetadataOps uint64
- DelOps uint64
- ListOps uint64
+ Ops uint64
+ GetOps uint64
+ GetRangeOps uint64
+ GetMetadataOps uint64
+ GetPropertiesOps uint64
+ CreateOps uint64
+ SetMetadataOps uint64
+ DelOps uint64
+ ListOps uint64
}
func (s *azureBlobStats) TickErr(err error) {
@@ -670,14 +672,14 @@ func (c *azureBlobClient) ContainerExists(cname string) (bool, error) {
}
func (c *azureBlobClient) GetBlobMetadata(cname, bname string) (map[string]string, error) {
- c.stats.Tick(&c.stats.Ops)
+ c.stats.Tick(&c.stats.Ops, &c.stats.GetMetadataOps)
m, err := c.client.GetBlobMetadata(cname, bname)
c.stats.TickErr(err)
return m, err
}
func (c *azureBlobClient) GetBlobProperties(cname, bname string) (*storage.BlobProperties, error) {
- c.stats.Tick(&c.stats.Ops)
+ c.stats.Tick(&c.stats.Ops, &c.stats.GetPropertiesOps)
p, err := c.client.GetBlobProperties(cname, bname)
c.stats.TickErr(err)
return p, err
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list