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

Conversation

@cecton
Copy link
Contributor

@cecton cecton commented Jan 21, 2021

screenshot

screenshot2

Closes #149
Closes #154

@cecton cecton changed the title WIP Complete telemetry for parachain & relaychain Complete telemetry for parachain & relaychain Jan 21, 2021
@cecton cecton requested a review from bkchr January 21, 2021 12:52

let params = new_partial(&parachain_config)?;
let telemetry_span = params.other;
let _telemetry_span_entered = telemetry_span.as_ref().map(|x| x.enter());
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to do this here manually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I need to investigate but I think there is something in a function somewhere below that reports something to the telemetry.

I know it's vague and it's probably not needed for the telemetry to work. I just wanted to make sure we don't miss a telemetry message at all.

Copy link
Member

Choose a reason for hiding this comment

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

Please investigate this. The problem here is that this isn't any code that is reusable, so people would need to copy 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.

You're right!! I missed that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cecton cecton force-pushed the cecton-complete-telemetry branch from 36c7dfb to 4126e0e Compare January 29, 2021 14:13
@cecton cecton marked this pull request as ready for review January 29, 2021 14:17
@cecton
Copy link
Contributor Author

cecton commented Jan 29, 2021

@bkchr this is also ready for review

@bkchr
Copy link
Member

bkchr commented Jan 29, 2021

@cecton fails to compile :P

Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

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

Please do not import Encode from sp_core. Otherwise it looks good.

@cecton cecton merged commit 6438d32 into master Jan 29, 2021
@cecton cecton deleted the cecton-complete-telemetry branch January 29, 2021 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Telemetry should be splitted Telemetry cannot be used for parachain and for relaychain at the same time

3 participants