Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify what information about child count Span data should carry #355

Open
tigrannajaryan opened this issue Nov 15, 2019 · 1 comment
Open
Labels
area:api Cross language API specification issue release:after-ga Not required before GA release, and not going to work on before GA spec:trace Related to the specification/trace directory

Comments

@tigrannajaryan
Copy link
Member

tigrannajaryan commented Nov 15, 2019

Discussions around PRs open-telemetry/opentelemetry-proto#49 and open-telemetry/oteps#59 (comment) revealed that there is no clear understanding about what information about child count Span data should carry.

OpenCensus span data contained an optional child_span_count field and claims that If set, allows an implementation to detect missing child spans.

It is not clear whether we need to store number of local child count or number of global child count (and if yes how one is supposed to calculate or obtain this number).

@Oberon00
Copy link
Member

Better link to the discussion at the OTEP (GitHub seems to have problem with the one in the description, it seems to only work if you manually expand the resolved conversation in question manually beforehand): open-telemetry/oteps#59 (comment)

tigrannajaryan pushed a commit to tigrannajaryan/opentelemetry-proto that referenced this issue Nov 25, 2019
The field was previously defined ambiguously and it was not clear
whether it was the count of local or all children (including remotely
generated).

This change makes it clear that this is only local children. A counter
of remote children may be added in the future if there is an understanding
about how to obtain this number (open discussion is here:
open-telemetry/opentelemetry-specification#355).

The field type is also changed to a more efficient sfixed32 with
special-casing -1 as "value not known".
tigrannajaryan pushed a commit to tigrannajaryan/opentelemetry-proto that referenced this issue Nov 25, 2019
The field was previously defined ambiguously and it was not clear
whether it was the count of local or all children (including remotely
generated).

This change makes it clear that this is only local children. A counter
of remote children may be added in the future if there is an understanding
about how to obtain this number (open discussion is here:
open-telemetry/opentelemetry-specification#355).

The field type is also changed to a more efficient sfixed32 with
special-casing -1 as "value not known".
@jmacd jmacd changed the title Clarify what information about child cound Span data should carry Clarify what information about child count Span data should carry Nov 25, 2019
SergeyKanzhelev pushed a commit to open-telemetry/opentelemetry-proto that referenced this issue Nov 26, 2019
The field was previously defined ambiguously and it was not clear
whether it was the count of local or all children (including remotely
generated).

This change makes it clear that this is only local children. A counter
of remote children may be added in the future if there is an understanding
about how to obtain this number (open discussion is here:
open-telemetry/opentelemetry-specification#355).

The field type is also changed to a more efficient sfixed32 with
special-casing -1 as "value not known".
@bogdandrutu bogdandrutu added the spec:trace Related to the specification/trace directory label Jun 12, 2020
@reyang reyang added the area:api Cross language API specification issue label Jun 30, 2020
@carlosalberto carlosalberto added the release:after-ga Not required before GA release, and not going to work on before GA label Jul 2, 2020
TuckTuckFloof pushed a commit to TuckTuckFloof/opentelemetry-specification that referenced this issue Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api Cross language API specification issue release:after-ga Not required before GA release, and not going to work on before GA spec:trace Related to the specification/trace directory
Projects
None yet
Development

No branches or pull requests

5 participants