BloombergLP::balm::MetricsManager::removePublisher

removePublisher overloads

Synopses

Declared in <balm_metricsmanager.h>

Same as the preceding overload, accepting a shared pointer.

int
removePublisher(bsl::shared_ptr<Publisher> const& publisher);
» more...

Stop publishing metrics to the specified publisher and remove it.

int
removePublisher(Publisher const* publisher);
» more...

Return Value

0 on success, and a non-zero value if publisher cannot be found

Parameters

NameDescription
publisherpublisher to remove from this metrics manager