]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #51126 from rhcs-dashboard/jeje-log
authorNizamudeen A <nia@redhat.com>
Thu, 17 Aug 2023 05:14:22 +0000 (10:44 +0530)
committerGitHub <noreply@github.com>
Thu, 17 Aug 2023 05:14:22 +0000 (10:44 +0530)
mgr/prometheus: remove jeje log

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
1  2 
src/pybind/mgr/prometheus/module.py

index 96f08f027a9ecc81ad03fed76a4ab881250d75f3,09b31df0385ccef249365c16c76e9a9ff05f2437..812032489c0e1e3b29087321e19a0ccd56968494
@@@ -1641,10 -1613,15 +1641,9 @@@ class Module(MgrModule, OrchestratorCli
  
      def get_all_daemon_health_metrics(self) -> None:
          daemon_metrics = self.get_daemon_health_metrics()
-         self.log.debug('metrics jeje %s' % (daemon_metrics))
          for daemon_name, health_metrics in daemon_metrics.items():
              for health_metric in health_metrics:
 -                path = f'daemon_health_metrics{daemon_name}{health_metric["type"]}'
 -                self.metrics[path] = Metric(
 -                    'counter',
 -                    'daemon_health_metrics',
 -                    'Health metrics for Ceph daemons',
 -                    ('type', 'ceph_daemon',)
 -                )
 +                path = 'daemon_health_metrics'
                  self.metrics[path].set(health_metric['value'], labelvalues=(
                      health_metric['type'], daemon_name,))