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
I had serious problems using this library by interfacing it with an existing implementation of prom-client (v13.1.0) using the default client and registry:
In summary, the opossum-prometheus library logs to a separate prom-client registry/client than the main one, probably because it uses its own internal instance of prom-client, so the logs are not recorded in the main registry/client.
The solution to this problem is simple: add the ability to pass the client in the library options:
I had serious problems using this library by interfacing it with an existing implementation of prom-client (v13.1.0) using the default client and registry:
In summary, the opossum-prometheus library logs to a separate prom-client registry/client than the main one, probably because it uses its own internal instance of prom-client, so the logs are not recorded in the main registry/client.
The solution to this problem is simple: add the ability to pass the client in the library options:
In this way passing the external client everything works perfectly.
The text was updated successfully, but these errors were encountered: