storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Cooper <>
Subject Dynamic metrics in V2 system
Date Wed, 28 Mar 2018 12:38:14 GMT

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