ceilometer.tests.unit.publisher.test_prometheus
Module¶Tests for ceilometer/publisher/prometheus.py
ceilometer.tests.unit.publisher.test_prometheus.
TestPrometheusPublisher
(*args, **kwds)[source]¶Bases: oslotest.base.BaseTestCase
resource_id
= '8d23f761-ddd2-4ef1-9c29-eabeed60633b'¶sample_data
= [<name: alpha, volume: 1, resource_id: 8d23f761-ddd2-4ef1-9c29-eabeed60633b, timestamp: 2020-05-29T08:30:33.865492>, <name: beta, volume: 3, resource_id: 8d23f761-ddd2-4ef1-9c29-eabeed60633b, timestamp: 2020-05-29T08:30:33.865608>, <name: gamma, volume: 5, resource_id: 8d23f761-ddd2-4ef1-9c29-eabeed60633b, timestamp: 2020-05-29T08:30:33.865653>, <name: delta.epsilon, volume: 7, resource_id: 8d23f761-ddd2-4ef1-9c29-eabeed60633b, timestamp: 2020-05-29T08:30:33.865713>]¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.