great_expectations.core.usage_statistics.usage_statistics

Module Contents

Classes

UsageStatisticsHandler(data_context, data_context_id, usage_statistics_url)

Functions

get_usage_statistics_handler(args_array)

usage_statistics_enabled_method(func=None, event_name=None, args_payload_fn=None, result_payload_fn=None)

A decorator for usage statistics which defaults to the less detailed payload schema.

run_validation_operator_usage_statistics(data_context, validation_operator_name, assets_to_validate, run_id=None, **kwargs)

save_expectation_suite_usage_statistics(data_context, expectation_suite, expectation_suite_name=None)

edit_expectation_suite_usage_statistics(data_context, expectation_suite_name)

add_datasource_usage_statistics(data_context, name, **kwargs)

send_usage_message(data_context, event, event_payload=None, success=None)

send a usage statistics message.

great_expectations.core.usage_statistics.usage_statistics.STOP_SIGNAL
great_expectations.core.usage_statistics.usage_statistics.logger
great_expectations.core.usage_statistics.usage_statistics._anonymizers
class great_expectations.core.usage_statistics.usage_statistics.UsageStatisticsHandler(data_context, data_context_id, usage_statistics_url)
_teardown(self, signum: int, frame)
_close_worker(self)
_requests_worker(self)
send_usage_message(self, event, event_payload=None, success=None)

send a usage statistics message.

build_init_payload(self)

Adds information that may be available only after full data context construction, but is useful to calculate only one time (for example, anonymization).

build_envelope(self, message)
validate_message(self, message, schema)
emit(self, message)

Emit a message.

great_expectations.core.usage_statistics.usage_statistics.get_usage_statistics_handler(args_array)
great_expectations.core.usage_statistics.usage_statistics.usage_statistics_enabled_method(func=None, event_name=None, args_payload_fn=None, result_payload_fn=None)

A decorator for usage statistics which defaults to the less detailed payload schema.

great_expectations.core.usage_statistics.usage_statistics.run_validation_operator_usage_statistics(data_context, validation_operator_name, assets_to_validate, run_id=None, **kwargs)
great_expectations.core.usage_statistics.usage_statistics.save_expectation_suite_usage_statistics(data_context, expectation_suite, expectation_suite_name=None)
great_expectations.core.usage_statistics.usage_statistics.edit_expectation_suite_usage_statistics(data_context, expectation_suite_name)
great_expectations.core.usage_statistics.usage_statistics.add_datasource_usage_statistics(data_context, name, **kwargs)
great_expectations.core.usage_statistics.usage_statistics.send_usage_message(data_context, event, event_payload=None, success=None)

send a usage statistics message.