Skip to content

Commit 5d0ecbd

Browse files
authored
[componentprofiles] Remove deprecated DataTypeProfiles (#11312)
#### Description Removes deprecated `DataTypeProfiles` #### Link to tracking issue Related to #9429
1 parent c3bd972 commit 5d0ecbd

File tree

4 files changed

+26
-102
lines changed

4 files changed

+26
-102
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: breaking
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: componentprofiles
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Removed deprecated `DataTypeProfiles`. Use `SignalProfiles` instead.
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [11312]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: [api]

component/componentprofiles/config.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,9 @@
44
package componentprofiles // import "go.opentelemetry.io/collector/component/componentprofiles"
55

66
import (
7-
"go.opentelemetry.io/collector/component"
87
"go.opentelemetry.io/collector/internal/globalsignal"
98
)
109

11-
// nolint
12-
func mustNewDataType(strType string) component.DataType {
13-
return component.MustNewType(strType)
14-
}
15-
1610
var (
17-
// DataTypeProfiles is the data type tag for profiles.
18-
//
19-
// Deprecated: [v0.110.0] Use SignalProfiles instead
20-
DataTypeProfiles = mustNewDataType("profiles")
21-
2211
SignalProfiles = globalsignal.MustNewSignal("profiles")
2312
)

component/componentprofiles/go.mod

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,6 @@ module go.opentelemetry.io/collector/component/componentprofiles
22

33
go 1.22.0
44

5-
require (
6-
go.opentelemetry.io/collector/component v0.110.0
7-
go.opentelemetry.io/collector/internal/globalsignal v0.110.0
8-
)
9-
10-
require (
11-
github.com/gogo/protobuf v1.3.2 // indirect
12-
go.opentelemetry.io/collector/config/configtelemetry v0.110.0 // indirect
13-
go.opentelemetry.io/collector/pdata v1.16.0 // indirect
14-
go.opentelemetry.io/collector/pipeline v0.110.0 // indirect
15-
go.opentelemetry.io/otel v1.30.0 // indirect
16-
go.opentelemetry.io/otel/metric v1.30.0 // indirect
17-
go.opentelemetry.io/otel/trace v1.30.0 // indirect
18-
go.uber.org/multierr v1.11.0 // indirect
19-
go.uber.org/zap v1.27.0 // indirect
20-
golang.org/x/net v0.28.0 // indirect
21-
golang.org/x/sys v0.25.0 // indirect
22-
golang.org/x/text v0.17.0 // indirect
23-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
24-
google.golang.org/grpc v1.67.0 // indirect
25-
google.golang.org/protobuf v1.34.2 // indirect
26-
)
27-
28-
replace go.opentelemetry.io/collector/pdata => ../../pdata
29-
30-
replace go.opentelemetry.io/collector/config/configtelemetry => ../../config/configtelemetry
31-
32-
replace go.opentelemetry.io/collector/component => ../
5+
require go.opentelemetry.io/collector/internal/globalsignal v0.110.0
336

347
replace go.opentelemetry.io/collector/internal/globalsignal => ../../internal/globalsignal
35-
36-
replace go.opentelemetry.io/collector/pipeline => ../../pipeline

component/componentprofiles/go.sum

Lines changed: 0 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)