swarm: LocalStore metrics
* swarm/shed: remove metrics fields from DB struct * swarm/schunk: add String methods to modes * swarm/storage/localstore: add metrics and traces * swarm/chunk: unknown modes without spaces in String methods * swarm/storage/localstore: remove bin number from pull subscription metrics * swarm/storage/localstore: add resetting time metrics and code improvements
Showing
- swarm/chunk/chunk.go 39 additions, 0 deletionsswarm/chunk/chunk.go
- swarm/shed/db.go 31 additions, 40 deletionsswarm/shed/db.go
- swarm/storage/localstore/gc.go 12 additions, 0 deletionsswarm/storage/localstore/gc.go
- swarm/storage/localstore/localstore.go 10 additions, 0 deletionsswarm/storage/localstore/localstore.go
- swarm/storage/localstore/mode_get.go 27 additions, 1 deletionswarm/storage/localstore/mode_get.go
- swarm/storage/localstore/mode_has.go 19 additions, 2 deletionsswarm/storage/localstore/mode_has.go
- swarm/storage/localstore/mode_put.go 20 additions, 2 deletionsswarm/storage/localstore/mode_put.go
- swarm/storage/localstore/mode_set.go 20 additions, 2 deletionsswarm/storage/localstore/mode_set.go
- swarm/storage/localstore/subscription_pull.go 32 additions, 0 deletionsswarm/storage/localstore/subscription_pull.go
- swarm/storage/localstore/subscription_push.go 29 additions, 0 deletionsswarm/storage/localstore/subscription_push.go
Loading
Please register or sign in to comment