EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Span describes how to transform a pixie DataFrame into the OpenTelemetry Span type.
Name | Type | Description |
---|---|---|
name | string,Column | The name of the span. Can be a string or a STRING column. |
start_time | Column | The column that marks the beginning of the span, must be TIME64NS. |
end_time | Column | The column that marks the end of the span, must be TIME64NS. |
trace_id | Column, optional | The column containing trace_ids, must be formatted as a lower-case hex with 32 hex characters (aka 16 bytes), or the engine will auto-generate a new ID. If not specified, the OpenTelemetry exporter will auto-generate a valid ID. |
span_id | Column, optional | The column containing trace_ids, must be formatted as a lower-case hex with 16 hex characters (aka 8 bytes), or the engine will auto-generate a new ID. If not specified, the OpenTelemetry exporter will auto-generate a valid ID. |
parent_span_id | Column, optional | The column containing parent_span_ids, must be formatted as a lower-case hex with 16 hex characters (aka 8 bytes), or the engine will write the data as empty. If not specified, will leave the parent_span_id field empty. |
attributes | Dict[string, Column|string], optional | A mapping of attribute name to a string or the column that stores data about the attribute. |
kind | int, optional | The OpenTelemetry SpanKind enum value to assign for all the spans. Defaults to SPAN_KIND_SERVER if not set. |