Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
115 lines
4.2 KiB
Plaintext
115 lines
4.2 KiB
Plaintext
"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.DB_SYSTEM_NAME_VALUE_MONGODB = exports.ATTR_NET_PEER_PORT = exports.ATTR_NET_PEER_NAME = exports.ATTR_DB_USER = exports.ATTR_DB_SYSTEM = exports.ATTR_DB_STATEMENT = exports.ATTR_DB_OPERATION = exports.ATTR_DB_NAME = exports.ATTR_DB_MONGODB_COLLECTION = void 0;
|
|
/*
|
|
* This file contains a copy of unstable semantic convention definitions
|
|
* used by this package.
|
|
* @see https://github.com/open-telemetry/opentelemetry-js/tree/main/semantic-conventions#unstable-semconv
|
|
*/
|
|
/**
|
|
* Deprecated, use `db.collection.name` instead.
|
|
*
|
|
* @example "mytable"
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Replaced by `db.collection.name`.
|
|
*/
|
|
exports.ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection';
|
|
/**
|
|
* Deprecated, use `db.namespace` instead.
|
|
*
|
|
* @example customers
|
|
* @example main
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Replaced by `db.namespace`.
|
|
*/
|
|
exports.ATTR_DB_NAME = 'db.name';
|
|
/**
|
|
* Deprecated, use `db.operation.name` instead.
|
|
*
|
|
* @example findAndModify
|
|
* @example HMSET
|
|
* @example SELECT
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Replaced by `db.operation.name`.
|
|
*/
|
|
exports.ATTR_DB_OPERATION = 'db.operation';
|
|
/**
|
|
* The database statement being executed.
|
|
*
|
|
* @example SELECT * FROM wuser_table
|
|
* @example SET mykey "WuValue"
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Replaced by `db.query.text`.
|
|
*/
|
|
exports.ATTR_DB_STATEMENT = 'db.statement';
|
|
/**
|
|
* Deprecated, use `db.system.name` instead.
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Replaced by `db.system.name`.
|
|
*/
|
|
exports.ATTR_DB_SYSTEM = 'db.system';
|
|
/**
|
|
* Deprecated, no replacement at this time.
|
|
*
|
|
* @example readonly_user
|
|
* @example reporting_user
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Removed, no replacement at this time.
|
|
*/
|
|
exports.ATTR_DB_USER = 'db.user';
|
|
/**
|
|
* Deprecated, use `server.address` on client spans and `client.address` on server spans.
|
|
*
|
|
* @example example.com
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Replaced by `server.address` on client spans and `client.address` on server spans.
|
|
*/
|
|
exports.ATTR_NET_PEER_NAME = 'net.peer.name';
|
|
/**
|
|
* Deprecated, use `server.port` on client spans and `client.port` on server spans.
|
|
*
|
|
* @example 8080
|
|
*
|
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*
|
|
* @deprecated Replaced by `server.port` on client spans and `client.port` on server spans.
|
|
*/
|
|
exports.ATTR_NET_PEER_PORT = 'net.peer.port';
|
|
/**
|
|
* Enum value "mongodb" for attribute {@link ATTR_DB_SYSTEM_NAME}.
|
|
*
|
|
* [MongoDB](https://www.mongodb.com/)
|
|
*
|
|
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
*/
|
|
exports.DB_SYSTEM_NAME_VALUE_MONGODB = 'mongodb';
|
|
//# sourceMappingURL=semconv.js.map |