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

Add ability to specify name in file extension client #3703

Merged
merged 2 commits into from
Jun 7, 2021

Conversation

pmm-sumo
Copy link
Contributor

@pmm-sumo pmm-sumo commented Jun 4, 2021

Description:

This is a proposal how to make File Extension more generic. When used e.g. for WAL purposes this will allow to have separate client for each signal type

@pmm-sumo
Copy link
Contributor Author

pmm-sumo commented Jun 4, 2021

@djaglowski this is a quick draft that adds name as another attribute to GetClient, giving a generic ability to use separate storage instances for the same type of component. What do you think?

Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

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

Looks good to me.

extension/storage/README.md Outdated Show resolved Hide resolved
@pmm-sumo pmm-sumo force-pushed the file-extension-name branch from cada136 to ae9cb88 Compare June 6, 2021 13:39
@pmm-sumo pmm-sumo marked this pull request as ready for review June 6, 2021 13:40
@pmm-sumo pmm-sumo requested a review from a team June 6, 2021 13:40
@pmm-sumo
Copy link
Contributor Author

pmm-sumo commented Jun 6, 2021

I have added a simple test-case for single component having two clients and addressed the README.md fix. Build seems to fail on an unrelated load-test at the moment

@tigrannajaryan tigrannajaryan merged commit 439ff5f into open-telemetry:main Jun 7, 2021
alexperez52 referenced this pull request in open-o11y/opentelemetry-collector-contrib Aug 18, 2021
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.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.

3 participants