The ceilometer.tests.unit.pipeline_base Module

The ceilometer.tests.unit.pipeline_base Module

class ceilometer.tests.unit.pipeline_base.BasePipelineTestCase(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

class PublisherClassException(conf, parsed_url)[source]

Bases: ceilometer.publisher.ConfigPublisherBase

publish_events(events)[source]

Publish events into final conduit.

publish_samples(samples)[source]

Publish samples into final conduit.

class TransformerClass(append_name='_update')[source]

Bases: ceilometer.transformer.TransformerBase

static flush()[source]
grouping_keys = ['counter_name']
handle_sample(counter)[source]

Transform a sample.

Parameters:sample – A sample.
samples = []
class TransformerClassDrop[source]

Bases: ceilometer.transformer.TransformerBase

grouping_keys = ['resource_id']
handle_sample(counter)[source]

Transform a sample.

Parameters:sample – A sample.
samples = []
class TransformerClassException[source]

Bases: object

grouping_keys = ['resource_id']
static handle_sample(counter)[source]
fake_transform_manager()[source]
get_publisher(conf, url, namespace='')[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_aggregator_all_first()[source]
test_aggregator_all_last()[source]
test_aggregator_all_mixed()[source]
test_aggregator_metadata()[source]
test_aggregator_metadata_default()[source]
test_aggregator_metadata_invalid(**keywargs)[source]
test_aggregator_meter_type()[source]
test_aggregator_sized_flush()[source]
test_aggregator_timed_flush(**keywargs)[source]
test_aggregator_timed_flush_no_matching_samples(**keywargs)[source]
test_aggregator_to_rate_of_change_transformer_two_resources()[source]
test_aggregator_user_first_and_metadata_last()[source]
test_aggregator_user_last_and_metadata_last()[source]
test_aggregator_without_authentication()[source]
test_all_excluded_counters_is_excluded()[source]
test_all_excluded_counters_not_excluded()[source]
test_arithmetic_expr_parse()[source]
test_arithmetic_expr_parse_already_escaped()[source]
test_arithmetic_expr_parse_parameter()[source]
test_arithmetic_expr_parse_reserved_keyword()[source]
test_arithmetic_transformer()[source]
test_arithmetic_transformer_cache_cleared()[source]
test_arithmetic_transformer_exception()[source]
test_arithmetic_transformer_expr_empty()[source]
test_arithmetic_transformer_expr_misconfigured()[source]
test_arithmetic_transformer_missing()[source]
test_arithmetic_transformer_more_than_needed()[source]
test_arithmetic_transformer_multiple_samples()[source]
test_arithmetic_transformer_nan()[source]
test_check_counters_include_exclude()[source]
test_check_counters_include_exclude_same()[source]
test_check_counters_wildcard_included()[source]
test_check_publishers_invalid_publisher()[source]
test_check_transformer_invalid_transformer()[source]
test_counter_dont_match()[source]
test_delta_transformer()[source]
test_delta_transformer_growth_only()[source]
test_delta_transformer_out_of_order()[source]
test_empty_transformer_pipeline()[source]
test_excluded_counter_and_excluded_wildcard_counters()[source]
test_fake_volume_counter(**keywargs)[source]
test_flush_pipeline_cache()[source]
test_flush_pipeline_cache_before_publisher()[source]
test_flush_pipeline_cache_multiple_counter()[source]
test_get_pipeline_duplicate_grouping_key()[source]
test_get_pipeline_grouping_key()[source]
test_global_unit_conversion()[source]
test_included_counter_and_wildcard_counters()[source]
test_multiple_counter_pipeline()[source]
test_multiple_included_counters()[source]
test_multiple_pipeline()[source]
test_multiple_pipeline_exception()[source]
test_multiple_publisher()[source]
test_multiple_publisher_isolation()[source]
test_multiple_transformer_drop_transformer()[source]
test_multiple_transformer_same_class()[source]
test_multiple_transformer_same_class_different_parameter()[source]
test_no_meters()[source]
test_no_name()[source]
test_no_publishers()[source]
test_no_transformers()[source]
test_none_transformer_pipeline()[source]
test_none_volume_counter(**keywargs)[source]
test_publisher_transformer_invoked()[source]
test_rate_of_change_conversion()[source]
test_rate_of_change_conversion_negative_cumulative_delta()[source]
test_rate_of_change_conversion_negative_gauge_delta()[source]
test_rate_of_change_conversion_weight()[source]
test_rate_of_change_conversion_zero_delay()[source]
test_rate_of_change_mapping()[source]
test_rate_of_change_max()[source]
test_rate_of_change_no_predecessor()[source]
test_rate_of_change_out_of_order(**keywargs)[source]
test_rate_of_change_precision()[source]
test_unique_pipeline_names()[source]
test_unit_identified_source_unit_conversion(**kwargs)[source]
test_wildcard_and_excluded_wildcard_counters()[source]
test_wildcard_counter()[source]
test_wildcard_excluded_counters()[source]
test_wildcard_excluded_counters_not_excluded()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.