Spaces:
Running
Running
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.SpanKind = void 0; | |
| /* | |
| * 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. | |
| */ | |
| var SpanKind; | |
| (function (SpanKind) { | |
| /** Default value. Indicates that the span is used internally. */ | |
| SpanKind[SpanKind["INTERNAL"] = 0] = "INTERNAL"; | |
| /** | |
| * Indicates that the span covers server-side handling of an RPC or other | |
| * remote request. | |
| */ | |
| SpanKind[SpanKind["SERVER"] = 1] = "SERVER"; | |
| /** | |
| * Indicates that the span covers the client-side wrapper around an RPC or | |
| * other remote request. | |
| */ | |
| SpanKind[SpanKind["CLIENT"] = 2] = "CLIENT"; | |
| /** | |
| * Indicates that the span describes producer sending a message to a | |
| * broker. Unlike client and server, there is no direct critical path latency | |
| * relationship between producer and consumer spans. | |
| */ | |
| SpanKind[SpanKind["PRODUCER"] = 3] = "PRODUCER"; | |
| /** | |
| * Indicates that the span describes consumer receiving a message from a | |
| * broker. Unlike client and server, there is no direct critical path latency | |
| * relationship between producer and consumer spans. | |
| */ | |
| SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER"; | |
| })(SpanKind = exports.SpanKind || (exports.SpanKind = {})); | |
| //# sourceMappingURL=span_kind.js.map |