Dataset Definitions define the fields in your Dataset that have special meaning.
resource "honeycombio_dataset_definition" "trace_id" {
dataset = var.dataset
name = "trace_id"
column = "trace.trace_id"
}
The following arguments are supported:
dataset
- (Required) The dataset to set the Dataset Definition for.name
- (Required) The name of the definition being set. See chart below for possible values.column
- (Required) The column to set the definition to. Must be the name of an existing Column or the alias of an existing Derived Column.Definition Name | Description |
---|---|
error |
Error |
status |
HTTP Status Code |
span_kind |
Metadata: Kind |
annotation_type |
Metadata: Annotation Type |
link_span_id |
Metadata: Link Span ID |
link_trace_id |
Metadata: Link Trace ID |
name |
Name |
parent_id |
Parent Span ID |
route |
Route |
service_name |
Service Name |
duration_ms |
Span Duration |
span_id |
Span ID |
trace_id |
Trace ID |
user |
User |
In addition to all arguments above, the following attributes are exported:
column_type
- The type of the column assigned to the definition. Will be one of column
or derived_column
.Dataset Definitions cannot be imported.