Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Num keyword ListLoad Str keyword Call NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str Expr Call AttributeLoad NameLoad attr Str Num keyword Num keyword ListLoad Str keyword Call NameLoad decorator_list Call NameLoad Str decorator_list
N/A __future__ absolute_import mock patch datadog.util.hostname get_hostname sentry.metrics.datadog DatadogMetricsBackend sentry.testutils TestCase DatadogMetricsBackendTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self backend N/A DatadogMetricsBackend prefix sentrytest. N/A test_incr N/A N/A self mock_incr N/A N/A N/A N/A N/A N/A self backend incr foo instance bar N/A N/A N/A mock_incr assert_called_once_with sentrytest.foo 1 tags N/A instance:bar host N/A get_hostname N/A N/A patch datadog.threadstats.base.ThreadStats.increment test_timing N/A N/A self mock_timing N/A N/A N/A N/A N/A N/A self backend timing foo 30 instance bar N/A N/A N/A mock_timing assert_called_once_with sentrytest.foo 30 sample_rate 1 tags N/A instance:bar host N/A get_hostname N/A N/A patch datadog.threadstats.base.ThreadStats.timing N/A