Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect Zipkin spans for v2 engine #7342

Next

Scheduler return metrics as dict

  • Loading branch information...
cattibrie committed Feb 18, 2019
commit c46ddf1c6593cce936f4a9995c33287929e3cbd1
@@ -316,7 +316,9 @@ pub extern "C" fn scheduler_metrics(
let values = scheduler
.metrics(session)
.into_iter()
.flat_map(|(metric, value)| vec![externs::store_utf8(metric), externs::store_i64(value)])
.flat_map(|(metric, value)| {
vec![externs::store_utf8(metric), externs::store_i64(value)]
})
.collect::<Vec<_>>();
externs::store_dict(&values).into()
})
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.