package
0.0.0-20240705082053-5b77a830d434
Repository: https://github.com/opsramp/tracing-proxy.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
BytesToTraceID returns an ID suitable for use for spans and traces.
DetermineClassification returns a map of labels classifying the type of the span based on the predefined attributes in the span.
GetRequestInfoFromGrpcMetadata parses relevant gRPC metadata from an incoming request context.
GetRequestInfoFromHttpHeaders parses relevant incoming HTTP headers.
List of HTTP Content Encodings supported for OTLP ingest.
List of HTTP Content Types supported for OTLP ingest.
Check whether we support a given HTTP Content Type for OTLP.
No description provided by the author
TranslateTraceRequest translates an OTLP/gRPC request into OpsRamp-friendly structure RequestInfo is the parsed information from the gRPC metadata.
TranslateTraceRequestFromReader translates an OTLP/HTTP request into Honeycomb-friendly structure RequestInfo is the parsed information from the HTTP headers.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
ErrMissingAPIKeyHeader = OTLPError{"missing 'x-opsramp-team' header", http.StatusUnauthorized, codes.Unauthenticated}.
# Structs
Batch represents Honeycomb events grouped by their target dataset SizeBytes is the total byte size of the OTLP structure that represents this batch.
Event represents a single Honeycomb event.
No description provided by the author
RequestInfo represents information parsed from either HTTP headers or gRPC metadata.
No description provided by the author
TranslateOTLPRequestResult represents an OTLP request translated into Honeycomb-friendly structure RequestSize is total byte size of the entire OTLP request Batches represent events grouped by their target dataset.
TranslateTraceRequestResult represents an OTLP trace request translated into Opsramp-friendly structure RequestSize is total byte size of the entire OTLP request Batches represent events grouped by their target dataset.