Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
92 lines
No EOL
5.2 KiB
Text
92 lines
No EOL
5.2 KiB
Text
"use strict";
|
|
/*
|
|
* Copyright The OpenTelemetry Authors
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.METRIC_DB_CLIENT_OPERATION_DURATION = exports.METRIC_DB_CLIENT_CONNECTION_PENDING_REQUESTS = exports.METRIC_DB_CLIENT_CONNECTION_COUNT = exports.DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = exports.DB_CLIENT_CONNECTION_STATE_VALUE_USED = exports.ATTR_DB_OPERATION_NAME = exports.ATTR_DB_NAMESPACE = exports.ATTR_DB_CLIENT_CONNECTION_STATE = exports.ATTR_DB_CLIENT_CONNECTION_POOL_NAME = void 0;
|
|
/**
|
|
* The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation **SHOULD** use a combination of parameters that would make the name unique, for example, combining attributes `server.address`, `server.port`, and `db.namespace`, formatted as `server.address:server.port/db.namespace`. Instrumentations that generate connection pool name following different patterns **SHOULD** document it.
|
|
*
|
|
* @example myDataSource
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.name';
|
|
/**
|
|
* The state of a connection in the pool
|
|
*
|
|
* @example idle
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state';
|
|
/**
|
|
* The name of the database, fully qualified within the server address and port.
|
|
*
|
|
* @example customers
|
|
* @example test.users
|
|
*
|
|
* @note If a database system has multiple namespace components, they **SHOULD** be concatenated (potentially using database system specific conventions) from most general to most specific namespace component, and more specific namespaces **SHOULD NOT** be captured without the more general namespaces, to ensure that "startswith" queries for the more general namespaces will be valid.
|
|
* Semantic conventions for individual database systems **SHOULD** document what `db.namespace` means in the context of that system.
|
|
* It is **RECOMMENDED** to capture the value as provided by the application without attempting to do any case normalization.
|
|
* This attribute has stability level RELEASE CANDIDATE.
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.ATTR_DB_NAMESPACE = 'db.namespace';
|
|
/**
|
|
* The name of the operation or command being executed.
|
|
*
|
|
* @example findAndModify
|
|
* @example HMSET
|
|
* @example SELECT
|
|
*
|
|
* @note It is **RECOMMENDED** to capture the value as provided by the application without attempting to do any case normalization.
|
|
* If the operation name is parsed from the query text, it **SHOULD** be the first operation name found in the query.
|
|
* For batch operations, if the individual operations are known to have the same operation name then that operation name **SHOULD** be used prepended by `BATCH `, otherwise `db.operation.name` **SHOULD** be `BATCH` or some other database system specific term if more applicable.
|
|
* This attribute has stability level RELEASE CANDIDATE.
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.ATTR_DB_OPERATION_NAME = 'db.operation.name';
|
|
/**
|
|
* Enum value "used" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}.
|
|
*/
|
|
exports.DB_CLIENT_CONNECTION_STATE_VALUE_USED = 'used';
|
|
/**
|
|
* Enum value "idle" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}.
|
|
*/
|
|
exports.DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = 'idle';
|
|
/**
|
|
* The number of connections that are currently in state described by the `state` attribute
|
|
*
|
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.METRIC_DB_CLIENT_CONNECTION_COUNT = 'db.client.connection.count';
|
|
/**
|
|
* The number of current pending requests for an open connection
|
|
*
|
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.METRIC_DB_CLIENT_CONNECTION_PENDING_REQUESTS = 'db.client.connection.pending_requests';
|
|
/**
|
|
* Duration of database client operations.
|
|
*
|
|
* @note Batch operations **SHOULD** be recorded as a single operation.
|
|
*
|
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.METRIC_DB_CLIENT_OPERATION_DURATION = 'db.client.operation.duration';
|
|
//# sourceMappingURL=semconv.js.map |