Debian Codegraph @

pdata/internal/otlp/profiles.go

raw
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 package otlp // import "go.opentelemetry.io/collector/pdata/internal/otlp"
5
6 import (
7 "go.opentelemetry.io/collector/pdata/internal"
8 )
9
10 // MigrateProfiles implements any translation needed due to deprecation in OTLP profiles protocol.
11 // Any pprofile.Unmarshaler implementation from OTLP (proto/json) MUST call this, and the gRPC Server implementation.
12 func MigrateProfiles(_ []*internal.ResourceProfiles) {}