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 a header to be able to send logs or traces to a specified index throught the OTEL gRPC APIs #4220

Closed
fmassot opened this issue Nov 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@fmassot
Copy link
Contributor

fmassot commented Nov 30, 2023

Currently, when a user sends logs or traces into Quickwit, data will always be indexed in otel-logs-v0_6 or otel-traces-v0_6.
This is a nice default behavior but I see 3 use cases where it makes sense to let the user defines the index:

  • Multi-tenancy use case: a user has a multi-tenant configuration and wants to separate data by tenant.
  • Custom index config: a user might want to set an index config different from the default one. He could delete the default index and recreate a new one, but it would be clearer to define its own index.
  • Migration use case: we will probably make some updates on the schema and at one point, the user will need to migrate to a new index but will still want to access the old index.

A simple solution to handle those 3 use cases is to pass a custom header to read/write gRPC requests that defines the index ID.

It will also work with Jaeger UI as it's possible to specify a custom header that is added to gRPC requests.

@fmassot fmassot added the enhancement New feature or request label Nov 30, 2023
@fmassot
Copy link
Contributor Author

fmassot commented Jan 17, 2024

Fixed by #4089

@fmassot fmassot closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant