Story #10484
closed
[keepstore] Add S3 bucket statistics and current #clients to status.json
Added by Tom Morris about 8 years ago.
Updated about 8 years ago.
Estimated time:
(Total: 0.00 h)
Description
- requests by type - PUT, GET, LIST, DELETE
- bytes on the wire - received, sent
- errors, grouped by status codes (HTTP response code + S3)
- Description updated (diff)
- Description updated (diff)
- Subject changed from [keepstore] Log S3 statistics to [keepstore] Add S3 bucket statistics to status.json
- Assigned To set to Tom Clegg
- Target version changed from Arvados Future Sprints to 2016-11-23 sprint
- Story points set to 1.0
- Subject changed from [keepstore] Add S3 bucket statistics to status.json to [keepstore] Add S3 bucket statistics and current #clients to status.json
- Status changed from New to In Progress
- I am unable to run tests. Seeing this error when I invoke run-tests with install: (with go version go1.7 linux/amd64)
********** Running services/keepstore install **********
package context: unrecognized import path "context" (import path does not begin with hostname)
********** !!!!!! services/keepstore install FAILED !!!!!! **********
- In s3_volume.go -> IndexTo method, why invoke stats.tick twice in a row at lines 459 and 460?
Radhika Chippada wrote:
- I am unable to run tests. Seeing this error when I invoke run-tests with install: (with go version go1.7 linux/amd64)
package context: unrecognized import path "context" (import path does not begin with hostname)
Hm, not sure what to make of this. https://blog.golang.org/go1.7 says context was added to stdlib in go1.7. Does it help to reinstall (1.7.3 is current)? Maybe make sure you don't have a GOROOT pointing to an older Go installation?
- In s3_volume.go -> IndexTo method, why invoke stats.tick twice in a row at lines 459 and 460?
One for dataL.First() and one for recentL.First(), both on the following line...
Tom said:
Maybe make sure you don't have a GOROOT pointing to an older Go installation
Yes, this was the cause. Tests are passing now.
LGTM
Branch 10484-count-clients LGTM
- Status changed from In Progress to Resolved
- % Done changed from 67 to 100
Applied in changeset arvados|commit:d13a369065b4e72047c8c267d6ceaa5c84d50c3d.
Also available in: Atom
PDF