Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6820

Improve on StreamsMetrics Public APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • streams

    Description

      Our current `addLatencyAndThroughputSensor`, `addThroughputSensor` are not very well designed and hence not very user friendly to people to add their customized sensors. We could consider improving on this feature. Some related things to consider:

      1. Our internal built-in metrics should be independent on these public APIs which are for user customized sensor only. See KAFKA-6819 for related description.

      2. We could enforce the scopeName possible values, and well document on the sensor hierarchies that would be incurred from the function calls. In this way the library can help closing user's sensors automatically when the corresponding scope (store, task, thread, etc) is being de-constructed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guozhang Guozhang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: