hyperswitch
hyperswitch copied to clipboard
[REFACTOR] Update AnalyticsPool to hold variables for tenant ID
Update the AnalyticsProvider (or AnalyticsConfig
) to hold a variable for tenant-ID.
This can be achieved by simply adding a new field in the underlying structs for SqlxClient & ClickhouseClient. Update the AnalyticsPool constructor method to accept a Tenant-ID.
Tenant-ID can be a new type field backed by a string;
pub struct TenantID(String);
For now the AnalyticsPool can be initialized with a fixed tenantID "default"
@lsampras are all the analytic issues open for outside collaborators?
All the issues are open for outside collaborators ideally (atleast for analytics),
We add good-first-issue
for relatively simpler issues...
Once you ask to be assigned on an issue (could be a good-first-issue or not) the author can decide on it (there can be dependency on other issues or pending discussion or other conditions)
@SanchithHegde correct me here in case we do have a specific label or convention...
I would like to work on this.
hey @lsampras can I get assigned for this issue.
I'll assign this issue to @RaghavRox if he is still interested since we try to follow first come, first serve
when assigning issues.
Sry for the confusion @subhajit20 you can pick this up if @RaghavRox is no longer interested or can take a look at one of the below issues
- #4595
- #4525
I'll assign this issue to @RaghavRox if he is still interested since we try to follow
first come, first serve
when assigning issues.Sry for the confusion @subhajit20 you can pick this up if @RaghavRox is no longer interested or can take a look at one of the below issues
Allright!!