mirror of
https://github.com/hanzoai/traces.git
synced 2026-11-03 04:05:45 +00:00
13 lines
542 B
Go
13 lines
542 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package otlp // import "go.opentelemetry.io/collector/pdata/internal/otlp"
|
|
|
|
import (
|
|
otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1development"
|
|
)
|
|
|
|
// MigrateProfiles implements any translation needed due to deprecation in OTLP profiles protocol.
|
|
// Any pprofile.Unmarshaler implementation from OTLP (proto/json) MUST call this, and the gRPC Server implementation.
|
|
func MigrateProfiles(_ []*otlpprofiles.ResourceProfiles) {}
|