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

TableMetricsManager#getSizeHistogramsForAllTables() is returning empty map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.2.0
    • None
    • None

    Description

      https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/monitoring/TableMetricsManager.java#L322C1-L328C6

      TableMetricsManager#getSizeHistogramsForAllTables() is returning empty map for Histogram Metrics.

      public static Map<String, List<HistogramDistribution>> getSizeHistogramsForAllTables() {
              Map<String, List<HistogramDistribution>> map = new HashMap<>();
              for (Map.Entry<String, TableClientMetrics> entry : tableClientMetricsMapping.entrySet()) {
                  TableHistograms tableHistograms = entry.getValue().getTableHistograms();
              }
              return map;
          } 

      Attachments

        Issue Links

          Activity

            People

              mihir6692 Mihir Monani
              mihir6692 Mihir Monani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: