Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Conversation

@janos
Copy link
Member

@janos janos commented Apr 23, 2019

This PR adds metrics and traces to the new localstore and removes unneeded metics fields from shed to the scope of meter function.

fixes: #1345

@janos janos requested review from gluk256 and nonsense April 23, 2019 13:51
@janos janos self-assigned this Apr 23, 2019
@janos janos requested a review from nonsense April 24, 2019 13:14
Copy link
Contributor

@nonsense nonsense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - counters and resetting timers would def add a lot of value and give us intuition on how fast the localstore is in prod environment.

I am still not sure about the amount of spans that we will add for each trace to OpenTracing, so we might need to revisit this later.

@janos
Copy link
Member Author

janos commented Apr 24, 2019

Cool, thanks @nonsense.

Copy link
Contributor

@acud acud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM janos

@acud acud merged commit 7ef4555 into swarm-rather-stable Apr 25, 2019
@acud acud deleted the localstore-metrics branch April 25, 2019 08:24
nonsense pushed a commit that referenced this pull request May 10, 2019
* 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
nonsense pushed a commit that referenced this pull request May 10, 2019
* 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants