Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogsToOtlp ¶
func LogsToOtlp(l LogsWrapper) *otlplogs.LogsData
LogsToOtlp internal helper to convert LogsWrapper to protobuf representation.
func MetricsToOtlp ¶
func MetricsToOtlp(mw MetricsWrapper) *otlpmetrics.MetricsData
MetricsToOtlp internal helper to convert MetricsWrapper to protobuf representation.
func TracesToOtlp ¶
func TracesToOtlp(mw TracesWrapper) *otlptrace.TracesData
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 ¶
func LogsFromOtlp(req *otlplogs.LogsData) LogsWrapper
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 ¶
func MetricsFromOtlp(req *otlpmetrics.MetricsData) MetricsWrapper
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 ¶
func TracesFromOtlp(req *otlptrace.TracesData) TracesWrapper
TracesFromOtlp internal helper to convert protobuf representation to TracesWrapper.