The ironic_lib.tests.test_metrics Module

class ironic_lib.tests.test_metrics.MockedMetricLogger(prefix='', delimiter='.')[source]

Bases: ironic_lib.metrics.MetricLogger

class ironic_lib.tests.test_metrics.TestMetricLogger(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_context_mgr_counter(*args, **keywargs)[source]
test_context_mgr_counter_sample_rate(*args, **keywargs)[source]
test_context_mgr_timer(*args, **keywargs)[source]
test_decorator_counter(*args, **keywargs)[source]
test_decorator_counter_sample_rate(*args, **keywargs)[source]
test_decorator_gauge(*args, **keywargs)[source]
test_decorator_timer(*args, **keywargs)[source]
test_get_metric_name()[source]
test_init()[source]
test_send_counter()[source]
test_send_gauge()[source]
test_send_timer()[source]