|
| 1 | +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' |
| 2 | +change_type: breaking |
| 3 | + |
| 4 | +# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) |
| 5 | +component: api |
| 6 | + |
| 7 | +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). |
| 8 | +note: Move config parsing and CRD metrics from apis to internal package |
| 9 | + |
| 10 | +# One or more tracking issues related to the change |
| 11 | +issues: [4362] |
| 12 | + |
| 13 | +# (Optional) One or more lines of additional information to render under the primary note. |
| 14 | +# These lines will be padded with 2 spaces and then inserted directly into the document. |
| 15 | +# Use pipe (|) for multiline entries. |
| 16 | +subtext: | |
| 17 | + - Methods on `*Config` (package `apis/v1beta1`) converted to standalone functions in `internal/otelconfig`, now taking `*v1beta1.Config` as the first parameter: |
| 18 | + - GetEnabledComponents, GetReceiverPorts, GetExporterPorts, GetExtensionPorts, GetReceiverAndExporterPorts, GetAllPorts, GetEnvironmentVariables, GetAllRbacRules, ApplyDefaults, GetLivenessProbe, GetReadinessProbe, GetStartupProbe, Yaml, NullObjects |
| 19 | + - Methods on `*Service` converted to functions in `internal/otelconfig`: |
| 20 | + - MetricsEndpoint, GetTelemetry |
| 21 | + - ApplyDefaults → renamed to ServiceApplyDefaults |
| 22 | + - Method on `*Telemetry` converted to function: |
| 23 | + - ToAnyConfig → renamed to TelemetryToAnyConfig |
| 24 | + - Functions moved from `apis/v1beta1` to `internal/metrics` with renames: |
| 25 | + - BootstrapMetrics → Bootstrap |
| 26 | + - NewMetrics(prv, ctx, cl) → New(ctx, prv, cl) (parameter reorder: ctx now first) |
| 27 | + - Types moved out of `apis/v1beta1`: |
| 28 | + - MetricsConfig, Telemetry → internal/otelconfig |
| 29 | + - Metrics → internal/metrics |
0 commit comments