Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
Click to show internal directories.
Click to hide internal directories.