Files
zeekay 087e487107 feat: rebrand signoz-otel-collector → Hanzo OTEL Collector
- Go module: github.com/SigNoz/signoz-otel-collector → github.com/hanzoai/otel-collector
- All signoz-prefixed packages → o11y-prefixed
- Docker: signoz/* → ghcr.io/hanzoai/otel-collector
- ClickHouse exporter → Hanzo Datastore
- Env vars: SIGNOZ_* → HANZO_*
- Directory renames for all processor/receiver/exporter packages
2026-03-12 00:21:24 -07:00

28 lines
789 B
Go

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package unmarshaler // import "github.com/hanzoai/otel-collector/receiver/o11yawsfirehosereceiver/internal/unmarshaler"
import (
"go.opentelemetry.io/collector/pdata/plog"
"go.opentelemetry.io/collector/pdata/pmetric"
)
// MetricsUnmarshaler deserializes the message body
type MetricsUnmarshaler interface {
// Unmarshal deserializes the records into metrics.
Unmarshal(records [][]byte) (pmetric.Metrics, error)
// Type of the serialized messages.
Type() string
}
// LogsUnmarshaler deserializes the message body
type LogsUnmarshaler interface {
// Unmarshal deserializes the records into logs.
Unmarshal(records [][]byte) (plog.Logs, error)
// Type of the serialized messages.
Type() string
}