Permalink
Browse files

Change tracing file position and rename test function

  • Loading branch information...
geobeau authored and adriengentil committed Oct 16, 2018
1 parent a5ac662 commit 2f4c8331240e6e7f87e18e736693f96cee55834a
@@ -39,14 +39,13 @@
from cassandra import query as c_query
from future.utils import raise_with_traceback
from biggraphite import accessor as bg_accessor
from biggraphite import accessor as bg_accessor, tracing
from biggraphite import glob_utils as bg_glob
from biggraphite import metric as bg_metric
from biggraphite import utils as bg_utils
from biggraphite.drivers import _delayed_writer
from biggraphite.drivers import _downsampling
from biggraphite.drivers import _utils
from biggraphite.drivers import tracing
from biggraphite.drivers import cassandra_common as common
from biggraphite.drivers import cassandra_policies as bg_cassandra_policies
from biggraphite.drivers import cassandra_sasi as sasi
@@ -30,13 +30,11 @@
import prometheus_client
import six
from biggraphite import accessor as bg_accessor
from biggraphite import accessor as bg_accessor, tracing
from biggraphite import glob_utils as bg_glob
from biggraphite import metric as bg_metric
from biggraphite.drivers import _utils
from biggraphite.drivers import ttls
from biggraphite.drivers import tracing
UPDATED_ON = prometheus_client.Summary(
"bg_elasticsearch_updated_on_latency_seconds", "create latency in seconds"
File renamed without changes.
@@ -20,13 +20,13 @@
from opencensus.trace import tracer
from opencensus.trace import execution_context
from biggraphite.drivers import tracing
from biggraphite import tracing
class TestTracingTrace(unittest.TestCase):
"""Test tracing integration of Biggraphite."""
def testDecoratorTrace(self):
def test_decorator_correctly_wrap_and_trace_func(self):
"""Test that we wrap correctly the function and that a span is created."""
test_tracer = tracer.Tracer()

0 comments on commit 2f4c833

Please sign in to comment.