Introduce and enable multi-tenancy as a first class citizen in OpenSearch by associating request traffic with specific users or workloads. This will allow better categorization, management, troubleshooting and analysis of subsets of traffic hitting an OpenSearch cluster.
We can start from the search queries use cases by attaching customized and rule-based labels and building a generic framework/solution for labeling, which can be later extend it to other workflow like indexing and bulk requests.
Note: We are not trying to achieve "full-multitenancy" in OpenSearch with this META issue :), but this could be a good first step towards that.
Slow logs, we haven't created an issue as mentioned in the RFC, but if we add the labels in the source field slow log will automagically have the labels.
Please describe the end goal of this project
Introduce and enable multi-tenancy as a first class citizen in OpenSearch by associating request traffic with specific users or workloads. This will allow better categorization, management, troubleshooting and analysis of subsets of traffic hitting an OpenSearch cluster.
We can start from the search queries use cases by attaching customized and rule-based labels and building a generic framework/solution for labeling, which can be later extend it to other workflow like indexing and bulk requests.
Note: We are not trying to achieve "full-multitenancy" in OpenSearch with this META issue :), but this could be a good first step towards that.
Supporting References
Related RFC
Potential downstream consumers
Issues/PRs
Client-side labeling:
Rule-based labeling
POCs:
Related component
Search