Skip to content
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

set failover connector to alpha #32216

Merged
merged 5 commits into from
Apr 22, 2024
Merged

Conversation

akats7
Copy link
Contributor

@akats7 akats7 commented Apr 8, 2024

Description:

This PR adds the failover connector to the contrib distro and moves the component to alpha state as all MVP functionality has been put in place. This PR also adds a bug fix that caused the pipeline selector to continue switching between the stable and stable + 1 index after a new stable index has been established.

Link to tracking Issue:

Resolves #32094

Testing:

Additional test case added to check current index after stable check

@akats7 akats7 requested a review from a team April 8, 2024 07:00
@akats7
Copy link
Contributor Author

akats7 commented Apr 8, 2024

Hey @djaglowski, let me know if I should split the bug fix and alpha/distro update into separate PRs.

@@ -8,6 +8,8 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/connector/countconnector v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/datadogconnector v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/exceptionsconnector v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/failoverconnector v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/routingconnector v0.97.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
github.com/open-telemetry/opentelemetry-collector-contrib/connector/routingconnector v0.97.0

The routing connector is already added as required a few lines below.

Copy link
Contributor Author

@akats7 akats7 Apr 9, 2024

Choose a reason for hiding this comment

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

Ah yep thanks that shouldn’t be there. Will update

@akats7 akats7 closed this Apr 15, 2024
@akats7 akats7 reopened this Apr 15, 2024
@djaglowski
Copy link
Member

Hey @djaglowski, let me know if I should split the bug fix and alpha/distro update into separate PRs.

We really should do one thing at a time.

@djaglowski
Copy link
Member

Thanks for splitting out the bug fix. That one is merged.

@akats7 akats7 changed the title bug fix and set failover connector to alpha set failover connector to alpha Apr 19, 2024
@akats7
Copy link
Contributor Author

akats7 commented Apr 19, 2024

Hey @djaglowski, updated to include just move to alpha

@@ -4,11 +4,11 @@ scope_name: otelcol/failover
status:
class: connector
stability:
development: [metrics_to_metrics, traces_to_traces, logs_to_logs]
distributions: []
alpha: [traces_to_traces, metrics_to_metrics, logs_to_logs]
Copy link
Member

Choose a reason for hiding this comment

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

You'll need to run make generate to make sure the component's README also gets updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good call thanks

@crobert-1
Copy link
Member

Failing CI/CD :

Generated code is out of date, please run "make genotelcontribcol" and commit the changes in this PR.

@djaglowski djaglowski merged commit 11e85a0 into open-telemetry:main Apr 22, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[connector/failover] Failover connector erroneously flips back to lower priority pipelines
4 participants