-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
8ddd301
commit 66f17e3
Showing
13 changed files
with
197 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Copyright (c) 2020 The Jaeger Authors. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package processor | ||
|
||
import ( | ||
"errors" | ||
) | ||
|
||
// ErrBusy signalizes that processor cannot process incoming data | ||
var ErrBusy = errors.New("server busy") | ||
|
||
// InboundTransport identifies the transport used to receive spans. | ||
type InboundTransport string | ||
|
||
const ( | ||
// GRPCTransport indicates spans received over gRPC. | ||
GRPCTransport InboundTransport = "grpc" | ||
// HTTPTransport indicates spans received over HTTP. | ||
HTTPTransport InboundTransport = "http" | ||
// UnknownTransport is the fallback/catch-all category. | ||
UnknownTransport InboundTransport = "unknown" | ||
) | ||
|
||
// SpanFormat identifies the data format in which the span was originally received. | ||
type SpanFormat string | ||
|
||
const ( | ||
// JaegerSpanFormat is for Jaeger Thrift spans. | ||
JaegerSpanFormat SpanFormat = "jaeger" | ||
// ZipkinSpanFormat is for Zipkin Thrift spans. | ||
ZipkinSpanFormat SpanFormat = "zipkin" | ||
// ProtoSpanFormat is for Jaeger protobuf Spans. | ||
ProtoSpanFormat SpanFormat = "proto" | ||
// OTLPSpanFormat is for OpenTelemetry OTLP format. | ||
OTLPSpanFormat SpanFormat = "otlp" | ||
// UnknownSpanFormat is the fallback/catch-all category. | ||
UnknownSpanFormat SpanFormat = "unknown" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.