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

Refactor pusher to allow multiple implementations #488

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

mem
Copy link
Contributor

@mem mem commented Aug 3, 2023

Hides the pusher/Publisher details behind an interface and adds a registry and a feature flag so that multiple implementations can coexist.

Hides the pusher/Publisher details behind an interface and adds a
registry and a feature flag so that multiple implementations can
coexist.

Signed-off-by: Adrian Serrano <adrisr83@gmail.com>
@mem mem requested a review from a team as a code owner August 3, 2023 01:46
@adriansr adriansr merged commit a5f2e51 into main Aug 3, 2023
@adriansr adriansr deleted the refactor-publisher branch August 3, 2023 06:42
mem added a commit that referenced this pull request Sep 5, 2023
* Refactor pusher to allow multiple implementations (#488)
* Fix: pass body to HTTP request if specified
* Update golangci-lint and gotestsum
* Fix: headers object might have extra commas
* Fix: use double quotes with JS-escaped strings
* Feature: use expression to match specific headers in multiHTTP
* Move client logic to its own file
* Move metrics to its own file
* Export HttpError from prom package
* Add condition variable
* Add queue
* Add SnappyConcatReader
* Add errors
* Add options
* Add tenant pusher
* Add publisher
* Enable v2 publisher
* Assert that TenantManager is a TenantProvider
* Add option to run only fast tests
* Fix label names, it should be "type" not "target"

Signed-off-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>
@mem mem mentioned this pull request Sep 5, 2023
mem added a commit that referenced this pull request Sep 5, 2023
* Refactor pusher to allow multiple implementations (#488)
* Fix: pass body to HTTP request if specified
* Update golangci-lint and gotestsum
* Fix: headers object might have extra commas
* Fix: use double quotes with JS-escaped strings
* Feature: use expression to match specific headers in multiHTTP
* Move client logic to its own file
* Move metrics to its own file
* Export HttpError from prom package
* Add condition variable
* Add queue
* Add SnappyConcatReader
* Add errors
* Add options
* Add tenant pusher
* Add publisher
* Enable v2 publisher
* Assert that TenantManager is a TenantProvider
* Add option to run only fast tests
* Fix label names, it should be "type" not "target"

Signed-off-by: Marcelo E. Magallon <marcelo.magallon@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants