Remove service from tests
@@ -27,9 +27,7 @@ class TestSqlalchemyInstrumentation(TestBase):
def test_trace_integration(self):
engine = create_engine("sqlite:///:memory:")
SQLAlchemyInstrumentor().instrument(
- engine=engine,
- tracer_provider=self.tracer_provider,
- service="my-database",
+ engine=engine, tracer_provider=self.tracer_provider,
)
cnx = engine.connect()
cnx.execute("SELECT 1 + 1;").fetchall()
@@ -49,9 +47,7 @@ class TestSqlalchemyInstrumentation(TestBase):
tracer.return_value = mock_tracer
engine = create_engine("sqlite:///:memory:")
SQLAlchemyInstrumentor().instrument(
- engine=engine,
- tracer_provider=self.tracer_provider,
- service="my-database",
+ engine=engine, tracer_provider=self.tracer_provider,
)
cnx = engine.connect()
cnx.execute("SELECT 1 + 1;").fetchall()
