diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 626dc66dbb..1d17673e6b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: - 'release/*' pull_request: env: - CORE_REPO_SHA: 042d7a7921e25936decd95addf4fb1d30afb88e2 + CORE_REPO_SHA: f5fb6b1353929cf8039b1d38f97450866357d901 jobs: build: diff --git a/instrumentation/opentelemetry-instrumentation-sqlalchemy/src/opentelemetry/instrumentation/sqlalchemy/__init__.py b/instrumentation/opentelemetry-instrumentation-sqlalchemy/src/opentelemetry/instrumentation/sqlalchemy/__init__.py index c6322b566c..77db23b417 100644 --- a/instrumentation/opentelemetry-instrumentation-sqlalchemy/src/opentelemetry/instrumentation/sqlalchemy/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-sqlalchemy/src/opentelemetry/instrumentation/sqlalchemy/__init__.py @@ -113,6 +113,7 @@ from opentelemetry.instrumentation.sqlalchemy.version import __version__ from opentelemetry.instrumentation.utils import unwrap from opentelemetry.metrics import get_meter +from opentelemetry.semconv.metrics import MetricInstruments from opentelemetry.trace import get_tracer @@ -144,7 +145,7 @@ def _instrument(self, **kwargs): meter = get_meter(__name__, __version__, meter_provider) connections_usage = meter.create_up_down_counter( - name="db.client.connections.usage", + name=MetricInstruments.DB_CLIENT_CONNECTIONS_USAGE, unit="connections", description="The number of connections that are currently in state described by the state attribute.", )