Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogsToOtlp

    LogsToOtlp internal helper to convert LogsWrapper to protobuf representation.

    func MetricsToOtlp

      MetricsToOtlp internal helper to convert MetricsWrapper to protobuf representation.

      func TracesCompatibilityChanges

      func TracesCompatibilityChanges(req *otlpcollectortrace.ExportTraceServiceRequest)

        TracesCompatibilityChanges performs backward compatibility conversion of Span Status code according to OTLP specification as we are a new receiver and sender (we are pushing data to the pipelines): See https://github.com/open-telemetry/opentelemetry-proto/blob/59c488bfb8fb6d0458ad6425758b70259ff4a2bd/opentelemetry/proto/trace/v1/trace.proto#L239 See https://github.com/open-telemetry/opentelemetry-proto/blob/59c488bfb8fb6d0458ad6425758b70259ff4a2bd/opentelemetry/proto/trace/v1/trace.proto#L253

        func TracesToOtlp

          TracesToOtlp internal helper to convert TracesWrapper to protobuf representation.

          Types

          type LogsWrapper

          type LogsWrapper struct {
          	// contains filtered or unexported fields
          }

            LogsWrapper is an intermediary struct that is declared in an internal package as a way to prevent certain functions of pdata.Logs data type to be callable by any code outside of this module.

            func LogsFromOtlp

              LogsFromOtlp internal helper to convert protobuf representation to LogsWrapper.

              type MetricsWrapper

              type MetricsWrapper struct {
              	// contains filtered or unexported fields
              }

                MetricsWrapper is an intermediary struct that is declared in an internal package as a way to prevent certain functions of pdata.Metrics data type to be callable by any code outside of this module.

                func MetricsFromOtlp

                  MetricsFromOtlp internal helper to convert protobuf representation to MetricsWrapper.

                  type TracesWrapper

                  type TracesWrapper struct {
                  	// contains filtered or unexported fields
                  }

                    TracesWrapper is an intermediary struct that is declared in an internal package as a way to prevent certain functions of pdata.Traces data type to be callable by any code outside of this module.

                    func TracesFromOtlp

                      TracesFromOtlp internal helper to convert protobuf representation to TracesWrapper.

                      Source Files

                      Directories

                      Path Synopsis
                      collector
                      telemetry
                      Package telemetry controls the telemetry settings to be used in the collector.
                      Package telemetry controls the telemetry settings to be used in the collector.
                      protogen/collector/logs/v1
                      Package v1 is a reverse proxy.
                      Package v1 is a reverse proxy.
                      protogen/collector/metrics/v1
                      Package v1 is a reverse proxy.
                      Package v1 is a reverse proxy.
                      protogen/collector/trace/v1
                      Package v1 is a reverse proxy.
                      Package v1 is a reverse proxy.
                      processor
                      filtermetric
                      Package filtermetric is a helper package for processing metrics.
                      Package filtermetric is a helper package for processing metrics.
                      filterset
                      Package filterset provides an interface for matching strings against a set of string filters.
                      Package filterset provides an interface for matching strings against a set of string filters.
                      filterset/regexp
                      Package regexp provides an implementation to match strings against a set of regexp string filters.
                      Package regexp provides an implementation to match strings against a set of regexp string filters.
                      filterset/strict
                      Package strict provides an implementation to match strings against a set of exact match string filters.
                      Package strict provides an implementation to match strings against a set of exact match string filters.