]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/telemetry: remove aggregated perf metrics from the perf channel 44025/head
authorLaura Flores <lflores@redhat.com>
Fri, 19 Nov 2021 15:40:16 +0000 (15:40 +0000)
committerLaura Flores <lflores@redhat.com>
Thu, 2 Dec 2021 18:43:33 +0000 (18:43 +0000)
Up until this point, we included aggregated and separated data for
testing purposes. Now that we've done our testing, the aggregated
metrics are no longer relevant.

Aggregated metrics can still be achieved on the server side by
summing separated metrics.

Signed-off-by: Laura Flores <lflores@redhat.com>
doc/mgr/telemetry.rst
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html
src/pybind/mgr/telemetry/module.py

index 22d68d5af7beac73afe84ba05716d0be1fc2607a..f334df9af1d767cd733fc14fd838d1cf90548af2 100644 (file)
@@ -46,12 +46,12 @@ the per-channel setting has no effect.)
     - cluster description
     - contact email address
 
-* **perf** (default: off): Aggregated performance counter metrics of a cluster, which can be used to
+* **perf** (default: off): Various performance metrics of a cluster, which can be used to
 
     - reveal overall cluster health
     - identify workload patterns
     - troubleshoot issues with latency, throttling, memory management, etc.
-    - monitor cluster performance by daemon types
+    - monitor cluster performance by daemon
 
 The data being reported does *not* contain any sensitive
 data like pool names, object names, object contents, hostnames, or device
index 2ab77d32109e2a7b630ecc02d261d2a43faca3f3..b0420e10790174c4c3e686ec3a87dbf542c61cb9 100644 (file)
                      for="channel_perf">
                 <ng-container i18n>Perf</ng-container>
                 <cd-helper>
-                  <ng-container i18n>Includes performance counter metrics summed across the cluster.</ng-container>
+                  <ng-container i18n>Includes various performance metrics of a cluster.</ng-container>
                 </cd-helper>
               </label>
               <div class="cd-col-form-input">
index 508e400b9f3e0f51afa90bd7ff14a37a9c1adc86..9e136c1b9a7b32a4dd6faa4bf40bc53c623babe1 100644 (file)
@@ -900,19 +900,12 @@ class Module(MgrModule):
             report['crashes'] = self.gather_crashinfo()
 
         if 'perf' in channels:
-            report['perf_counters_aggregated'] = self.gather_perf_counters('aggregated')
-            report['perf_counters_separated'] = self.gather_perf_counters('separated')
-
+            report['perf_counters'] = self.gather_perf_counters('separated')
             report['stats_per_pool'] = self.get('pg_dump')['pool_stats']
             report['stats_per_pg'] = self.get('pg_dump')['pg_stats']
-
             report['io_rate'] = self.get_io_rate()
-
-            report['osd_perf_histograms_aggregated'] = self.get_osd_histograms('aggregated')
-            report['osd_perf_histograms_separated'] = self.get_osd_histograms('separated')
-
-            report['mempool_aggregated'] = self.get_mempool('aggregated')
-            report['mempool_separated'] = self.get_mempool('separated')
+            report['osd_perf_histograms'] = self.get_osd_histograms('separated')
+            report['mempool'] = self.get_mempool('separated')
 
         # NOTE: We do not include the 'device' channel in this report; it is
         # sent to a different endpoint.
@@ -1042,7 +1035,7 @@ Please consider enabling the telemetry module with 'ceph telemetry on'.'''
         # they are displayed horizontally instead of vertically.
         try:
             # Formatting ranges and values in osd_perf_histograms
-            modes_to_be_formatted = ['osd_perf_histograms_aggregated', 'osd_perf_histograms_separated']
+            modes_to_be_formatted = ['osd_perf_histograms']
             for mode in modes_to_be_formatted:
                 for config in report[mode]:
                     for histogram in config: