the trait bound PrometheusRecorder: Recorder
is not satisfied
#557
Labels
C-core
Component: core functionality such as traits, etc.
C-exporter
Component: exporters such as Prometheus, TCP, etc.
S-needs-repro
Status: awaiting a reproduction to continue investgation.
T-ergonomics
Type: ergonomics.
Somehow, the
set_global_recorder
call inside thePrometheusBuilder.install()
is not working for me, so I am trying to get the recorder via thePrometheusBuilder.build()
and trying to set the global recorder myself. But I get the error stating that thePrometheusRecorder
doesn't implementRecorder
trait. Code I use and the error below:May be the Recorder impl for
PrometheusRecorder
should bepub
or part of a module that users can import?I also have the following imports:
The text was updated successfully, but these errors were encountered: