SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
import pytest
from fixtures import types
@pytest.fixture(name="sqlstore", scope="package")
def sqlstore(
request: pytest.FixtureRequest,
) -> types.TestContainerSQL:
provider = request.config.getoption("--sqlstore-provider")
if provider == "postgres":
store = request.getfixturevalue("postgres")
return store
if provider == "sqlite":
store = request.getfixturevalue("sqlite")
return store
raise pytest.FixtureLookupError(
argname=f"{provider}",
request=request,
msg=f"{provider} does not have a fixture",
)