Guozhang Wang commented on KAFKA-3537:

[~mdcoon1] In the coming release users can get the metrics registry 
from {{context().metrics().metrics()}}, just FYI.

> Provide access to low-level Metrics in ProcessorContext
> -------------------------------------------------------
>                 Key: KAFKA-3537
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3537
>             Project: Kafka
>          Issue Type: New Feature
>          Components: streams
>    Affects Versions:
>            Reporter: Michael Coon
>            Assignee: Eno Thereska
>            Priority: Minor
>              Labels: semantics
>             Fix For:
> It would be good to have access to the underlying Metrics component in 
> StreamMetrics. StreamMetrics forces a naming convention for metrics that does 
> not fit our use case for reporting. We need to be able to convert the stream 
> metrics to our own metrics formatting and it's cumbersome to extract group/op 
> names from pre-formatted strings the way they are setup in StreamMetricsImpl. 
> If there were a "metrics()" method of StreamMetrics to give me the underlying 
> Metrics object, I could register my own sensors/metrics as needed.

This message was sent by Atlassian JIRA

Reply via email to