Skip to content

Commit 45725a9

Browse files
send stats to one dataset with name dataset_pmeta
1 parent 9c2d9f9 commit 45725a9

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
@@ -785,11 +785,11 @@ impl Stream {
785785
record_batches: Vec<RecordBatch>,
786786
schema: Arc<Schema>,
787787
) -> Result<(), PostError> {
788-
let dataset_meta = format!("{}_{INTERNAL_STREAM_NAME}", &self.stream_name);
788+
let stats_dataset_name = format!("dataset_{INTERNAL_STREAM_NAME}");
789789
let log_source_entry = LogSourceEntry::new(LogSource::Json, HashSet::new());
790790
PARSEABLE
791791
.create_stream_if_not_exists(
792-
&dataset_meta,
792+
&stats_dataset_name,
793793
StreamType::Internal,
794794
vec![log_source_entry],
795795
)
@@ -813,7 +813,7 @@ impl Stream {
813813

814814
flatten_and_push_logs(
815815
stats_value,
816-
&dataset_meta,
816+
&stats_dataset_name,
817817
&LogSource::Json,
818818
&HashMap::new(),
819819
)

0 commit comments

Comments
 (0)