storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Cooper <>
Subject RE: Dynamic metrics in V2 system
Date Thu, 29 Mar 2018 16:46:06 GMT
Thanks! Does the new metrics system only create one reporter for the topology, and send the
info between workers, or have one reporter per worker?


From: Jungtaek Lim <>
Sent: 29 March 2018 16:12
Subject: Re: Dynamic metrics in V2 system

Hi Simon,

Actually I'm not familiar with codahale-based metrics system, but from the guide on codahale
website, metrics can be registered even after starting reporters, which makes possible to
have dynamic metrics.

Please refer "Complete getting started" in<>

Hope this helps.

Jungtaek Lim (HeartSaVioR)

2018년 3월 28일 (수) 오후 9:38, Simon Cooper <<>>님이

We're looking at upgrading our topologies to use the new V2 metrics system, however one of
our absolutely core requirements is the ability to dynamically create/assign metrics after
the topology is started up - we don't know what metrics we'll be running beforehand, and the
metrics can change during the lifetime of the topology. We handled this in the V1 system using
IMetric wrappers, but the codehale-based metrics system doesn't seem to have the ability to
do this.

If the V1 system is removed in a future version, this means we won't be able to use the storm
metric system to report our metrics, which is a real shame, as we’ll lose all the built-in
info that storm provides. We'll need to implement our own system from scratch & basically
duplicate all the existing infrastructure.

Is there a way we can create metrics dynamically in the V2 system?

Simon Cooper
This message, and any files/attachments transmitted together with it, is intended for the
use only of the person (or persons) to whom it is addressed. It may contain information which
is confidential and/or protected by legal privilege. Accordingly, any dissemination, distribution,
copying or use of this message, or any part of it or anything sent together with it, other
than by intended recipients, may constitute a breach of civil or criminal law and is hereby
prohibited. Unless otherwise stated, any views expressed in this message are those of the
person sending it and not the sender's employer. No responsibility, legal or otherwise, of
whatever nature, is accepted as to the accuracy of the contents of this message or for the
completeness of the message as received. Anyone who is not the intended recipient of this
message is advised to make no use of it and is requested to contact Featurespace Limited as
soon as possible. Any recipient of this message who has knowledge or suspects that it may
have been the subject of unauthorised interception or alteration is also requested to contact
Featurespace Limited.
View raw message