Skip to content

Commit 0c0324f

Browse files
committed
[connector/datadog] remove TracesConfig
1 parent 854101c commit 0c0324f

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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. filelogreceiver)
7+
component: datadogconnector
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Remove `datagodconnector.TracesConfig`, use `datadogconfig.TracesConnectorConfig` instead
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [38661]
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+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: [api]

connector/datadogconnector/config.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ var _ component.Config = (*Config)(nil)
1414
// Config defines configuration for the Datadog connector.
1515
type Config struct {
1616
// Traces defines the Traces specific configuration
17-
Traces TracesConfig `mapstructure:"traces"`
17+
Traces datadogconfig.TracesConnectorConfig `mapstructure:"traces"`
1818
}
1919

20-
// Deprecated: [v0.110.0] Use `datadog.TracesConnectorConfig` instead.
21-
// TracesConfig defines the traces specific configuration options
22-
type TracesConfig = datadogconfig.TracesConnectorConfig
23-
2420
// Validate checks if the configuration is valid
2521
func (c *Config) Validate() error {
2622
return c.Traces.Validate()

0 commit comments

Comments
 (0)