Skip to content

Commit ce20362

Browse files
send stats to one dataset with name dataset_pmeta
1 parent 4ee7fd3 commit ce20362

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/parseable/streams.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,11 +1026,11 @@ impl Stream {
10261026
record_batches: Vec<RecordBatch>,
10271027
schema: Arc<Schema>,
10281028
) -> Result<(), PostError> {
1029-
let dataset_meta = format!("{}_{INTERNAL_STREAM_NAME}", &self.stream_name);
1029+
let stats_dataset_name = format!("dataset_{INTERNAL_STREAM_NAME}");
10301030
let log_source_entry = LogSourceEntry::new(LogSource::Json, HashSet::new());
10311031
PARSEABLE
10321032
.create_stream_if_not_exists(
1033-
&dataset_meta,
1033+
&stats_dataset_name,
10341034
StreamType::Internal,
10351035
vec![log_source_entry],
10361036
)
@@ -1054,7 +1054,7 @@ impl Stream {
10541054

10551055
flatten_and_push_logs(
10561056
stats_value,
1057-
&dataset_meta,
1057+
&stats_dataset_name,
10581058
&LogSource::Json,
10591059
&HashMap::new(),
10601060
)

0 commit comments

Comments
 (0)