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

Rework telemetry to replace the use of tracing with an object we pass around #8143

Merged
merged 108 commits into from
Mar 11, 2021

Conversation

cecton
Copy link
Contributor

@cecton cecton commented Feb 17, 2021

polkadot companion: paritytech/polkadot#2535

/// Instantiate a new [`TelemetryWorker`] which can run in background.
///
/// Only one is needed per process.
pub fn new(buffer_size: usize, transport: Option<ExtTransport>) -> Result<Self> {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we could add a second method with_transport where we can pass the transport. Normally we don't need this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True!! Thanks

Copy link
Contributor

@maciejhirsz maciejhirsz left a comment

Choose a reason for hiding this comment

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

It all looks good to me, though I'm missing a lot of context to really judge what's happening here :)

@cecton
Copy link
Contributor Author

cecton commented Mar 10, 2021

@maciejhirsz @bkchr can you also validate the polkadot part?

@bkchr
Copy link
Member

bkchr commented Mar 10, 2021

Done

@cecton
Copy link
Contributor Author

cecton commented Mar 11, 2021

bot merge

@ghost
Copy link

ghost commented Mar 11, 2021

Checks failed; merge aborted.

@cecton cecton merged commit 6ac86d5 into master Mar 11, 2021
@cecton cecton deleted the cecton-rework-telemetry branch March 11, 2021 10:05
cecton added a commit to paritytech/polkadot that referenced this pull request Mar 11, 2021
HCastano added a commit to paritytech/parity-bridges-common that referenced this pull request Apr 6, 2021
HCastano added a commit to paritytech/parity-bridges-common that referenced this pull request Apr 7, 2021
* Bump Substrate

* Change usage of "Module" to "Pallet"

Related Substrate PR: paritytech/substrate#8372

* Add `OnSetCode` config param

Related Substrate PR: paritytech/substrate#8496

* Update Aura Slot duration time type

Related Substrate PR: paritytech/substrate#8386

* Add `OnSetCode` to mock runtimes

* Add support for multiple justifications

Related Substrate PR: paritytech/substrate#7640

* Use updated justification type in more places

* Make GenesisConfig type non-optional

Related Substrate PR: paritytech/substrate#8275

* Update service to use updated telemetry

Related Substrate PR: paritytech/substrate#8143

* Appease Clippy
jordy25519 pushed a commit to cennznet/substrate that referenced this pull request Sep 17, 2021
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. C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants