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

feat(eap): Add the TimeSeriesProcessor to entities/eap_spans #6195

Merged
merged 2 commits into from
Aug 13, 2024
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ schema:
{ name: segment_id, type: UInt, args: { size: 64 } },
{ name: segment_name, type: String },
{ name: is_segment, type: UInt, args: { size: 8 } },
{ name: time, type: DateTime }, # virtual column, used by TimeSeriesProcessor
{ name: timestamp, type: DateTime }, # virtual column, mapped to _sort_timestamp
{ name: start_timestamp, type: DateTime64, args: { precision: 6 } },
{ name: end_timestamp, type: DateTime64, args: { precision: 6 } },
{ name: duration_ms, type: UInt, args: { size: 32 } },
Expand All @@ -34,7 +36,7 @@ storages:
- mapper: ColumnToColumn
args:
from_table_name: null
from_col_name: start_timestamp
from_col_name: timestamp
to_table_name: null
to_col_name: _sort_timestamp
subscriptables:
Expand All @@ -54,12 +56,19 @@ storages:
storage_selector:
selector: DefaultQueryStorageSelector

query_processors: []
query_processors:
- processor: TimeSeriesProcessor
args:
time_group_columns:
time: timestamp
time_parse_columns:
- start_timestamp
- end_timestamp

validate_data_model: error
validators:
- validator: EntityRequiredColumnValidator
args:
required_filter_columns: [organization_id]

required_time_column: start_timestamp
required_time_column: timestamp
Loading