Documentation ¶
Index ¶
- func LogsToOtlp(l LogsWrapper) *otlpcollectorlog.ExportLogsServiceRequest
- func MetricsToOtlp(mw MetricsWrapper) *otlpcollectormetrics.ExportMetricsServiceRequest
- func TracesCompatibilityChanges(req *otlpcollectortrace.ExportTraceServiceRequest)
- func TracesToOtlp(mw TracesWrapper) *otlpcollectortrace.ExportTraceServiceRequest
- type LogsWrapper
- type MetricsWrapper
- type TracesWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogsToOtlp ¶ added in v0.11.0
func LogsToOtlp(l LogsWrapper) *otlpcollectorlog.ExportLogsServiceRequest
LogsToOtlp internal helper to convert LogsWrapper to protobuf representation.
func MetricsToOtlp ¶ added in v0.23.0
func MetricsToOtlp(mw MetricsWrapper) *otlpcollectormetrics.ExportMetricsServiceRequest
MetricsToOtlp internal helper to convert MetricsWrapper to protobuf representation.
func TracesCompatibilityChanges ¶ added in v0.24.0
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 ¶ added in v0.23.0
func TracesToOtlp(mw TracesWrapper) *otlpcollectortrace.ExportTraceServiceRequest
TracesToOtlp internal helper to convert TracesWrapper to protobuf representation.
Types ¶
type LogsWrapper ¶ added in v0.23.0
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 ¶ added in v0.11.0
func LogsFromOtlp(req *otlpcollectorlog.ExportLogsServiceRequest) LogsWrapper
LogsFromOtlp internal helper to convert protobuf representation to LogsWrapper.
type MetricsWrapper ¶ added in v0.23.0
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 ¶ added in v0.23.0
func MetricsFromOtlp(req *otlpcollectormetrics.ExportMetricsServiceRequest) MetricsWrapper
MetricsFromOtlp internal helper to convert protobuf representation to MetricsWrapper.
type TracesWrapper ¶ added in v0.23.0
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 ¶ added in v0.23.0
func TracesFromOtlp(req *otlpcollectortrace.ExportTraceServiceRequest) TracesWrapper
TracesFromOtlp internal helper to convert protobuf representation to TracesWrapper.
Directories ¶
Path | Synopsis |
---|---|
Package cgroups provides utilities to access Linux control group (CGroups) parameters (total memory, for example) for a given process.
|
Package cgroups provides utilities to access Linux control group (CGroups) parameters (total memory, for example) for a given process. |
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. |
fanoutconsumer
module
|
|
featuregates
module
|
|
globalgates
module
|
|
globalsignal
module
|
|
Package idutils provides a set of helper functions to convert ids.
|
Package idutils provides a set of helper functions to convert ids. |
memorylimiter
module
|
|
obsmetrics
Package obsmetrics defines the obsreport metrics for each components all the metrics is in OpenCensus format which will be replaced with OTEL Metrics in the future
|
Package obsmetrics defines the obsreport metrics for each components all the metrics is in OpenCensus format which will be replaced with OTEL Metrics in the future |
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. |
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File.
|
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File. |
tools
module
|
|