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
{{ message }}
This repository was archived by the owner on Jan 21, 2022. It is now read-only.
This makes it so that you can only have 1 job for each handler class. And all other jobs send metrics using the first job to register that handler class.
I'd be happy to submit a PR that uses the "job" as the Handler cache key instead if it would be useful.
I've got several jobs that send varz using the default Collector::Handler. Handler appears to cache Handlers given the handler_class not the job.
https://github.com/cloudfoundry/collector/blob/master/lib/collector/handler.rb#L62
This makes it so that you can only have 1 job for each handler class. And all other jobs send metrics using the first job to register that handler class.
I'd be happy to submit a PR that uses the "job" as the Handler cache key instead if it would be useful.