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

Implement HTTP integration configuration #556

Conversation

delner
Copy link
Contributor

@delner delner commented Sep 21, 2018

This pull request implements the configuration core from #450 in the HTTP integration.

@delner delner added integrations Involves tracing integrations dev/refactor Involves refactoring existing components labels Sep 21, 2018
@delner delner self-assigned this Sep 21, 2018
@delner delner requested a review from pawelchcki September 21, 2018 18:10
@delner delner force-pushed the refactor/http_integration_configuration branch 2 times, most recently from d13ad68 to aaafcbc Compare September 21, 2018 18:52
@delner delner force-pushed the refactor/upgrade_to_integration_configuration branch 5 times, most recently from e7f8cca to e772421 Compare September 21, 2018 21:11
@delner delner force-pushed the refactor/http_integration_configuration branch 2 times, most recently from c3ab74c to 7f83af7 Compare September 24, 2018 14:50
@delner delner force-pushed the refactor/upgrade_to_integration_configuration branch from e772421 to 16d9782 Compare September 24, 2018 15:46
@delner delner force-pushed the refactor/http_integration_configuration branch from 7f83af7 to ee0b2c9 Compare September 24, 2018 15:51
Copy link
Contributor

@pawelchcki pawelchcki left a comment

Choose a reason for hiding this comment

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

👍

module HTTP
# HTTP integration circuit breaker behavior
# For avoiding recursive traces.
module CircuitBreaker
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be a bit confusing with CircuitBreaker pattern. But I don't have better suggestion :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there a "circuit breaker" pattern? I was trying to think of something that encapsulated the idea of "if looping, escape", like a short-circuit where the circuit breaker trips to prevent an overload. But maybe a metaphor here isn't the best choice of naming scheme.

Copy link
Contributor

Choose a reason for hiding this comment

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

FYI https://martinfowler.com/bliki/CircuitBreaker.html

on a high level it also breaks circuit, but its a bit more dynamic and serves a bit different purpose.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right... a microservices related pattern. Forgot about this one.

@delner delner merged commit d96e660 into refactor/upgrade_to_integration_configuration Sep 26, 2018
@delner delner deleted the refactor/http_integration_configuration branch September 26, 2018 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/refactor Involves refactoring existing components integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants