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

Need for a trace data model specification #1929

Open
jmacd opened this issue Sep 15, 2021 · 2 comments
Open

Need for a trace data model specification #1929

jmacd opened this issue Sep 15, 2021 · 2 comments
Labels
area:data-model For issues related to data model spec:trace Related to the specification/trace directory

Comments

@jmacd
Copy link
Contributor

jmacd commented Sep 15, 2021

What are you trying to achieve?

The metrics and logs signals contain a file that describes the data model independent of the OTLP protocol. This is a place where we describe details that are too complex to put in a simple comment, providing a reference manual for use of the data.

The developing specification for probability sampling requires additions to the trace data model, and there is no appropriate file location to put this content.

We should create a file that explains what a span is, what the fields conceptually mean, and what constraints to expect on their fields (e.g., start time should be before end time).

Additional context.

Metrics data model: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md

Logs data model: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md

@jmacd jmacd added the spec:trace Related to the specification/trace directory label Sep 15, 2021
@jmacd
Copy link
Contributor Author

jmacd commented Sep 15, 2021

open-telemetry/oteps#175 adds proposed text to add to such a specification.

@yurishkuro
Copy link
Member

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:data-model For issues related to data model spec:trace Related to the specification/trace directory
Projects
None yet
Development

No branches or pull requests

4 participants