Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NopLogsUnmarshaler ¶ added in v0.112.0
type NopLogsUnmarshaler struct {
// contains filtered or unexported fields
}
NopLogsUnmarshaler is a LogsUnmarshaler that doesn't do anything with the inputs and just returns the logs and error passed in.
func NewErrLogs ¶ added in v0.112.0
func NewErrLogs(err error) *NopLogsUnmarshaler
NewErrLogs provides a nop logs unmarshaler with the passed in error as the Unmarshal error.
func NewNopLogs ¶ added in v0.112.0
func NewNopLogs() *NopLogsUnmarshaler
NewNopLogs provides a nop logs unmarshaler with the default plog.Logs and no error.
func NewWithLogs ¶ added in v0.112.0
func NewWithLogs(logs plog.Logs) *NopLogsUnmarshaler
NewWithLogs provides a nop logs unmarshaler with the passed in logs as the result of the Unmarshal and no error.
func (*NopLogsUnmarshaler) Type ¶ added in v0.112.0
func (u *NopLogsUnmarshaler) Type() string
Type of the serialized messages.
type NopMetricsUnmarshaler ¶
type NopMetricsUnmarshaler struct {
// contains filtered or unexported fields
}
NopMetricsUnmarshaler is a MetricsUnmarshaler that doesn't do anything with the inputs and just returns the metrics and error passed in.
func NewErrMetrics ¶
func NewErrMetrics(err error) *NopMetricsUnmarshaler
NewErrMetrics provides a nop metrics unmarshaler with the passed in error as the Unmarshal error.
func NewNopMetrics ¶
func NewNopMetrics() *NopMetricsUnmarshaler
NewNopMetrics provides a nop metrics unmarshaler with the default pmetric.Metrics and no error.
func NewWithMetrics ¶
func NewWithMetrics(metrics pmetric.Metrics) *NopMetricsUnmarshaler
NewWithMetrics provides a nop metrics unmarshaler with the passed in metrics as the result of the Unmarshal and no error.
func (*NopMetricsUnmarshaler) Type ¶
func (u *NopMetricsUnmarshaler) Type() string
Type of the serialized messages.