Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Telemetry improvements #1886

Merged
merged 12 commits into from
Feb 28, 2019
Merged

Telemetry improvements #1886

merged 12 commits into from
Feb 28, 2019

Conversation

cmichi
Copy link
Contributor

@cmichi cmichi commented Feb 27, 2019

This PR should close #1734.

There is a lot more stuff in Grandpa/Aura which could be telemetrified ‒ if the general approach is okay I would add a telemetry! next to the other debug!/info!/… statements in the consensus modules as well.

I tested it using cargo run -- --dev --telemetry-url "ws://localhost:8001" --telemetry-url "ws://localhost:8002 9" with two simple WebSocket echo servers.

@cmichi cmichi requested a review from gavofyork February 27, 2019 15:51
@cmichi cmichi added the A0-please_review Pull request needs code review. label Feb 27, 2019
@cmichi cmichi requested a review from maciejhirsz February 27, 2019 16:04
core/cli/src/lib.rs Outdated Show resolved Hide resolved
core/consensus/aura/src/lib.rs Outdated Show resolved Hide resolved
core/consensus/aura/src/lib.rs Outdated Show resolved Hide resolved
core/consensus/aura/src/lib.rs Outdated Show resolved Hide resolved
core/consensus/aura/src/lib.rs Outdated Show resolved Hide resolved
core/telemetry/src/lib.rs Outdated Show resolved Hide resolved
core/telemetry/src/lib.rs Outdated Show resolved Hide resolved
core/telemetry/src/lib.rs Outdated Show resolved Hide resolved
core/service/src/chain_spec.rs Outdated Show resolved Hide resolved
core/service/src/chain_spec.rs Outdated Show resolved Hide resolved
core/telemetry/src/lib.rs Outdated Show resolved Hide resolved
core/telemetry/src/lib.rs Outdated Show resolved Hide resolved
core/telemetry/src/lib.rs Outdated Show resolved Hide resolved
@maciejhirsz
Copy link
Contributor

On telemetry side everything looks fine to me. Tested the branch running against local telemetry server on both Dried Danta and dev chain, no issues.

@bkchr bkchr merged commit f429a0c into master Feb 28, 2019
@bkchr bkchr deleted the cmichi-telemetry-improvements branch February 28, 2019 11:22
rphmeier pushed a commit that referenced this pull request Feb 28, 2019
* Fix typo

* Support multiple telemetry endpoints and verbosity levels

* Bump substrate-telemetry version

* Telemetrify Aura consensus

* Telemetrify Grandpa

* Fix CI version conflicts

* Implement style remarks

* Fix fixture

* Implement style remarks

* Clone only when necessary

* Get rid of Arc for URL

* Handle connection issues better
rphmeier added a commit that referenced this pull request Feb 28, 2019
* Telemetry improvements (#1886)

* Fix typo

* Support multiple telemetry endpoints and verbosity levels

* Bump substrate-telemetry version

* Telemetrify Aura consensus

* Telemetrify Grandpa

* Fix CI version conflicts

* Implement style remarks

* Fix fixture

* Implement style remarks

* Clone only when necessary

* Get rid of Arc for URL

* Handle connection issues better

* fixed instant finalization of genesis block on light client (#1898)

* Some gossip improvements (#1892)

* queue messages in future

* use new gossip API in GRANDPA

* implement message_expired for grandpa

* fix indent
@rphmeier
Copy link
Contributor

rphmeier commented Feb 28, 2019

Lots of glob imports (huge code smell). Please make a follow-up to remove them.

MTDK1 pushed a commit to bdevux/substrate that referenced this pull request Apr 12, 2019
* Fix typo

* Support multiple telemetry endpoints and verbosity levels

* Bump substrate-telemetry version

* Telemetrify Aura consensus

* Telemetrify Grandpa

* Fix CI version conflicts

* Implement style remarks

* Fix fixture

* Implement style remarks

* Clone only when necessary

* Get rid of Arc for URL

* Handle connection issues better
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Telemetry improvements
4 participants