Skip to content

Remove deprecated starttime fields from config#45133

Merged
songy23 merged 2 commits into
open-telemetry:mainfrom
ArthurSens:remove-deprecated-fields
Dec 31, 2025
Merged

Remove deprecated starttime fields from config#45133
songy23 merged 2 commits into
open-telemetry:mainfrom
ArthurSens:remove-deprecated-fields

Conversation

@ArthurSens

Copy link
Copy Markdown
Member

Description

Link to tracking issue

Fixes #44180

Testing

Documentation

@ArthurSens ArthurSens requested review from a team and dashpole as code owners December 23, 2025 17:07
@github-actions github-actions Bot added the receiver/prometheus Prometheus receiver label Dec 23, 2025

@krajorama krajorama left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, deprecated since 0.121 as far as I can see.

Although the changelog was a bit vague what it meant at the time and didn't call out the associated config options.

- `prometheusreceiver`: Deprecate metric start time adjustment in the prometheus receiver. It is being replaced by the metricstarttime processor. (#37186)
  Start time adjustment is still enabled by default. To disable it, enable the | receiver.prometheusreceiver.RemoveStartTimeAdjustment feature gate.

@ArthurSens ArthurSens force-pushed the remove-deprecated-fields branch from 032f28a to 6d8f23a Compare December 30, 2025 16:13
@ArthurSens ArthurSens added the ready to merge Code review completed; ready to merge by maintainers label Dec 30, 2025
@songy23

songy23 commented Dec 30, 2025

Copy link
Copy Markdown
Member

please rebase / merge main

Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
@ArthurSens ArthurSens force-pushed the remove-deprecated-fields branch from 6d8f23a to dbfe899 Compare December 31, 2025 09:46
@songy23 songy23 merged commit 6812dd6 into open-telemetry:main Dec 31, 2025
187 of 189 checks passed
@github-actions github-actions Bot added this to the next release milestone Dec 31, 2025
seongpil0948 pushed a commit to seongpil0948/opentelemetry-collector-contrib that referenced this pull request Jan 10, 2026
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#44180 

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Code review completed; ready to merge by maintainers receiver/prometheus Prometheus receiver

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PrometheusReceiver Configuration - Deprecate and remove UseStartTimeMetric and StartTimeMetricRegex

4 participants