You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch thank you! Notably this won't just break in the browser: because the decorator resolves before any other code is run (even the first init function) - any custom exporter configuration will be ignored.
Environment information
What happened?
In the current implementation, when you use a class decorator and a custom init configuration, the decorator will run before the init function.
Because of this, it will try to spin up a
PrometheusExporter
, even though we configure a push gateway in the init function.Expected result
The class decorator should use the configuration provided in the
init
callThe text was updated successfully, but these errors were encountered: