UNPKG

@opentelemetry/otlp-grpc-exporter-base

Version:
26 lines 1.18 kB
"use strict"; /* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ATTR_RPC_RESPONSE_STATUS_CODE = 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 */ /** * Status code of the RPC returned by the RPC server or generated by the client * * @example OK * @example DEADLINE_EXCEEDED * @example -32602 * * @note Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes. * Semantic conventions for individual RPC frameworks **SHOULD** document what `rpc.response.status_code` means in the context of that system and which values are considered to represent errors. * * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.ATTR_RPC_RESPONSE_STATUS_CODE = 'rpc.response.status_code'; //# sourceMappingURL=semconv.js.map