mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-02 13:20:40 +00:00
refactor: bring metrics to http output (#3247)
* refactor: bring metrics to http output * chore: remove unwrap * chore: make walk plan accumulate * chore: change field name and comment * chore: add metrics to http resp header * chore: move PrometheusJsonResponse to a separate file and impl IntoResponse * chore: put metrics in prometheus resp header too
This commit is contained in:
@@ -69,7 +69,7 @@ async fn run_compiled(script: &PyScript) {
|
||||
.await
|
||||
.unwrap();
|
||||
let _res = match output {
|
||||
Output::Stream(s) => common_recordbatch::util::collect_batches(s).await.unwrap(),
|
||||
Output::Stream(s, _) => common_recordbatch::util::collect_batches(s).await.unwrap(),
|
||||
Output::RecordBatches(rbs) => rbs,
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user