Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6174

Phoenix Metrics Initial Unification

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.1.0
    • 4.17.0, 4.16.2
    • None
    • None

    Description

      I see this as an incremental improvement toward a larger more powerful metrics framework in phoenix-server, phoenix-client, and phoenix-connectors.  Today we describe our available metrics as https://phoenix.apache.org/metrics.html

      Long term a tag based multi-dimensional data model (similar to prometheus/open tsdb) may be superior but for now this targets simple generalization of the existing metrics in phoenix.  Today much of the metrics are built on hbase/hadoop offering.

       

      Some initial discussion/brainstorming:

      Metric Types:

        Phoenix uses/provides sufficient verbosity of metrics, but does not define the metric types cleanly.  Typical counter, gauge, histogram

       

      Monitoring Models:

        Events (Event Metrics), metrics with no summarization or aggregation.  

           Example of this will be request metrics.  On this request you used 5 scanners.

        Metrics (Summary/Aggregated Metrics), 

          Example of this might be total queries

      Reporting:
        Today JMX is one of the main approaches used in phoenix for metrics.  For events most of them are retrievable from PhoenixRuntime.  Long term these should be pluggable.

       

      Storage:

        End user based on reporting is envisioned.

        May consider storing in HBase/Phoenix as an option?  The query log could store events with that query log entry.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbwong Daniel Wong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: