* Adding in memory cache, error handling, data filtering and validation, api for fetching labels and values for a prometheus series.
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* minor fix
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* minor fix
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* minor fix
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* minor fix
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* minor fixes
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* adding seriesList API
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* Timestamps converted to float64
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* minor update for response schema
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* normalised schema and changed cache file directory
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
* added mongo interface; created addtional file for switching between the collections and one for all db CRUD operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* modified usermanagement and projects with the new mongo structure; made logging and errors and comments consistent
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for workflow db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for myHub db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for gitops db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* minor changes for gitops db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for cluster db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for analytics db operations and added comments to the operations.go file
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* calling the initialize function and instantiating the mongo client
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* import order fixed
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>