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

docs: add links to span type resources #8056

Merged
merged 2 commits into from
May 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/data-model.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:span-name-type-sheet: https://docs.google.com/spreadsheets/d/1SmWeX5AeqUcayrArUauS_CxGgsjwRgMYH4ZY8yQsMhQ/edit#gid=644582948
:span-spec: https://github.com/elastic/apm/blob/main/tests/agents/json-specs/span_types.json

[[data-model]]
== Data Model

Expand Down Expand Up @@ -26,8 +29,9 @@ Among other things, spans can contain:
* A `transaction.id` attribute that refers to its parent <<data-model-transactions,transaction>>.
* A `parent.id` attribute that refers to its parent span or transaction.
* Its start time and duration.
* A `name`.
* A `type`, `subtype`, and `action`.
* A `name`, `type`, `subtype`, and `action`—see the {span-name-type-sheet}[span name/type alignment]
sheet for span name patterns and examples by APM agent.
In addition, some APM agents test against a public {span-spec}[span type/subtype spec].
* An optional `stack trace`. Stack traces consist of stack frames,
which represent a function call on the call stack.
They include attributes like function name, file name and path, line number, etc.
Expand Down