-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[exporter/prometheusremotewrite] change feature gate to stable #37399
[exporter/prometheusremotewrite] change feature gate to stable #37399
Conversation
@@ -44,7 +44,7 @@ const ( | |||
|
|||
var exportCreatedMetricGate = featuregate.GlobalRegistry().MustRegister( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
panic: no removal version set for Stable gate "exporter.prometheusremotewriteexporter.deprecateCreatedMetric"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed b2dea51
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhmm.
build-and-test / integration-tests-matrix (pkg) (pull_request)Failing after 3m
"exporter.prometheusremotewriteexporter.deprecateCreatedMetric" is stable, can not be disabled
Taking a look...
…ebaj/opentelemetry-collector-contrib into deprecate-created-metric-beta2stable
There are some tests that need to be removed, since the featuregate can't be disabled now |
I think that I removed the right ones a168f9e |
# Use this changelog template to create an entry for release notes. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: deprecation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed this is a breaking change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -704,7 +704,7 @@ func TestPrometheusConverter_AddSummaryDataPoints(t *testing.T) { | |||
}{ | |||
{ | |||
name: "summary with start time", | |||
isGateEnabled: false, | |||
isGateEnabled: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this isGateEnabled
can simply be removed everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…telemetry#37399) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description * Change `exporter.prometheusremotewriteexporter.deprecateCreatedMetric`feature gate from Beta to Stable * Adapt some test cases that were considering this feature as disable <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue open-telemetry#35003
Description
exporter.prometheusremotewriteexporter.deprecateCreatedMetric
feature gate from Beta to StableLink to tracking issue
#35003