[
https://issues.apache.org/jira/browse/STORM-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214286#comment-16214286
]
Stig Rohde Døssing commented on STORM-2783:
-------------------------------------------
This sounds like a good idea. I'm not too familiar with how metrics get
delivered to Storm UI, but it would be great if we could use the same pathway
to show spout lag.
> De-couple "Spout Lag" metrics on Storm UI from Kafka Spout and
> StormKafkaMonitor
> --------------------------------------------------------------------------------
>
> Key: STORM-2783
> URL: https://issues.apache.org/jira/browse/STORM-2783
> Project: Apache Storm
> Issue Type: Improvement
> Components: storm-core
> Affects Versions: 2.0.0, 1.1.1
> Reporter: Stephen Powis
>
> As a developer of a spout, I'd love to be able to publish lag metrics to the
> storm UI. After digging into the source code for how the UI interacts with
> storm-kafka-monitor to get these metrics, it appears to be strongly coupled.
> I believe that the concept of "Spout Lag" extends beyond the scope of just
> consuming from Kafka.
> I'd like to propose the idea of restructuring how these metrics are queried
> by StormUI to a way that allows developers of other spouts to be able to
> "plug into" the UI. The easiest way that springs to mind is to provide an
> interface that allows developers to code against.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)