Skip to content

Commit 5be6c93

Browse files
authored
Merge pull request #189 from BratSinot/main
Fix broken prometheus example.
2 parents 8757080 + 251a04c commit 5be6c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metrics-exporter-prometheus/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl PrometheusBuilder {
155155
.build()?;
156156

157157
let (recorder, exporter) = {
158-
runtime.enter();
158+
let _g = runtime.enter();
159159
self.build_with_exporter()?
160160
};
161161
metrics::set_boxed_recorder(Box::new(recorder))?;

0 commit comments

Comments
 (0)