File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/handlers/http/modal/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,21 +56,21 @@ pub async fn flatten_and_push_logs(
5656 //custom flattening required for otel logs
5757 let logs: LogsData = serde_json:: from_value ( json) ?;
5858 for record in flatten_otel_logs ( & logs) {
59- push_logs ( & stream_name, record, & log_source) . await ?;
59+ push_logs ( stream_name, record, log_source) . await ?;
6060 }
6161 }
6262 LogSource :: OtelTraces => {
6363 //custom flattening required for otel traces
6464 let traces: TracesData = serde_json:: from_value ( json) ?;
6565 for record in flatten_otel_traces ( & traces) {
66- push_logs ( & stream_name, record, & log_source) . await ?;
66+ push_logs ( stream_name, record, log_source) . await ?;
6767 }
6868 }
6969 LogSource :: OtelMetrics => {
7070 //custom flattening required for otel metrics
7171 let metrics: MetricsData = serde_json:: from_value ( json) ?;
7272 for record in flatten_otel_metrics ( metrics) {
73- push_logs ( & stream_name, record, & log_source) . await ?;
73+ push_logs ( stream_name, record, log_source) . await ?;
7474 }
7575 }
7676 _ => {
You can’t perform that action at this time.
0 commit comments