Skip to content

Commit c9aacb2

Browse files
authored
[service] remove deprecated type (#14036)
Signed-off-by: alex boten <[email protected]>
1 parent 58b7143 commit c9aacb2

File tree

4 files changed

+25
-26
lines changed

4 files changed

+25
-26
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: all
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: "Remove deprecated type `TracesConfig`"
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [14036]
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: []

service/telemetry/telemetry.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@ import (
1616
"go.opentelemetry.io/collector/component"
1717
"go.opentelemetry.io/collector/config/configtelemetry"
1818
"go.opentelemetry.io/collector/pdata/pcommon"
19-
"go.opentelemetry.io/collector/service/telemetry/internal/migration"
2019
)
2120

22-
// Deprecated: [v0.137.0] Use otelconftelemetry.TracesConfig instead.
23-
type TracesConfig = migration.TracesConfigV030
24-
2521
// LoggerSettings holds settings for building logger providers.
2622
type LoggerSettings struct {
2723
Settings

service/telemetry/telemetrytest/go.mod

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,12 @@ require (
1919
github.com/davecgh/go-spew v1.1.1 // indirect
2020
github.com/go-logr/logr v1.4.3 // indirect
2121
github.com/go-logr/stdr v1.2.2 // indirect
22-
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
23-
github.com/gobwas/glob v0.2.3 // indirect
2422
github.com/gogo/protobuf v1.3.2 // indirect
2523
github.com/google/uuid v1.6.0 // indirect
2624
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc // indirect
2725
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 // indirect
2826
github.com/hashicorp/go-version v1.7.0 // indirect
2927
github.com/json-iterator/go v1.1.12 // indirect
30-
github.com/knadh/koanf/maps v0.1.2 // indirect
31-
github.com/knadh/koanf/providers/confmap v1.0.0 // indirect
32-
github.com/knadh/koanf/v2 v2.3.0 // indirect
33-
github.com/mitchellh/copystructure v1.2.0 // indirect
34-
github.com/mitchellh/reflectwalk v1.0.2 // indirect
3528
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3629
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
3730
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
@@ -43,7 +36,6 @@ require (
4336
github.com/prometheus/procfs v0.17.0 // indirect
4437
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
4538
go.opentelemetry.io/collector/config/configtelemetry v0.137.0 // indirect
46-
go.opentelemetry.io/collector/confmap v1.43.0 // indirect
4739
go.opentelemetry.io/collector/featuregate v1.43.0 // indirect
4840
go.opentelemetry.io/collector/internal/telemetry v0.137.0 // indirect
4941
go.opentelemetry.io/contrib/bridges/otelzap v0.13.0 // indirect

service/telemetry/telemetrytest/go.sum

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

0 commit comments

Comments
 (0)