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(
56
56
//custom flattening required for otel logs
57
57
let logs: LogsData = serde_json:: from_value ( json) ?;
58
58
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 ?;
60
60
}
61
61
}
62
62
LogSource :: OtelTraces => {
63
63
//custom flattening required for otel traces
64
64
let traces: TracesData = serde_json:: from_value ( json) ?;
65
65
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 ?;
67
67
}
68
68
}
69
69
LogSource :: OtelMetrics => {
70
70
//custom flattening required for otel metrics
71
71
let metrics: MetricsData = serde_json:: from_value ( json) ?;
72
72
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 ?;
74
74
}
75
75
}
76
76
_ => {
You can’t perform that action at this time.
0 commit comments