Commit Graph

19 Commits

Author SHA1 Message Date
Arkajyoti Mukherjee 61603036ed
Adding the various states of experiments in workflow runs (#2914)
* added other experiment states, truncated all percentages to 2 decimal and decoupled workflow metrics with execution data

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* added stopped experiments to analytics

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* added workflow_id filter support for getWorkflowRuns API

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
2021-06-21 11:03:20 +05:30
Raj Babu Das fe709ecadd
Removing Argo server deployment from the agent list (#2893)
* Removin Argo server deployment from the agent list

Signed-off-by: Raj Das <raj@chaosnative.com>

* Removing Argo server env from the okteto manifest

Signed-off-by: Raj Das <raj@chaosnative.com>

* removing argoserver from agent-config

Signed-off-by: Raj Das <raj@chaosnative.com>
2021-06-15 09:42:56 +05:30
Ishan Gupta ac79879512
(analytics): Backend updates for Application dashboard CRUD v2 (#2889)
* Updating backend for analytics/monitoring app. dashboard CRUD-v2

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Updating agent RBAC for pods, services and nodes.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Fixing codacy issues.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor typo fix along with condition

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Fixed codacy issue

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-06-14 13:40:14 +05:30
VEDANT SHROTRIA 454347e15c
Added Minor Fix for Resilience Score Calculation Logic and Namespaced mode agent registration. (#2885)
* Resilience Score Fix added.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>

* Fixed the namespace getting overridden issue in namespaced mode for external agents.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-06-14 11:38:28 +05:30
Ishan Gupta 81a9747458
(Portal - Analytics/Monitoring): Adding APIs for fetching series list and (label, values), in-memory caching, concurrent requests & moving data pre-processing pipeline. (#2780)
* 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>
2021-05-12 14:09:08 +00:00
Ishan Gupta 3cb48ea748
Minor fix for ns mode- agent scope to be taken from cluster registration request (#2758)
* minor fix for ns mode

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>
2021-04-30 21:41:05 +05:30
Ishan Gupta 1a578f34a5
fixes for ns scope (#2757)
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-04-30 21:02:52 +05:30
Ishan Gupta c947580814
Version updates, readme fixes, manifest fixes, env. for argo's container runtime executor and bug fixes for Okteto dev. env. setup. (#2717)
* fix for frontend svc port on okteto
* fix for prod. frontend svc port on okteto
* adding missing envs.
* update to cluster scope.
* fixed bugs and added env for container runtime executor
* fixes and updates.
* added the portal_scope env back and minor readme update.
* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-04-18 06:51:13 +05:30
Raj Babu Das 8e856c5898
Refactoring portal backend to mount external configmap (#2574)
* Refactoring portal backend to accommodate external configmap

Signed-off-by: Raj Das <mail.rajdas@gmail.com>

* go fmt and rename config map to agent-config

Signed-off-by: Raj Das <mail.rajdas@gmail.com>
2021-03-31 16:06:43 +05:30
Ishan Gupta 2347dfb38f
Adding chaos exporter to agent manifest for chaos events and metrics (#2523)
* Adding chaos exporter to agent manifests for chaos events and metrics

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Changes after review.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-03-10 17:36:18 +05:30
Ishan Gupta de0418fb2c
(Litmus-Portal) GQL server refractor for database and handlers (#2454)
* Adding datasource and dashboard APIs for analytics / monitoring.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Fixed formatting.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* GraphQL server refractor

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Refractor after review.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Minor fixes after review.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Sorted imports.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Reverting frontend changes.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* code analysis fix.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* minor fix

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Changes after review.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Codacy fixes.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2021-02-25 19:53:21 +05:30
Raj Babu Das f02cccfa7b event tracker deps
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2021-02-01 17:31:57 +05:30
Raj Babu Das f06907cce7
directory re-structuring of subscriber's manifest and changing it's respective code (#2391)
* seperating subscriber manifest into individual files and changing its respective code

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* go fmt

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2021-01-11 19:42:26 +05:30
Raj Babu Das aed1f452b4
Refactoring manifest parser function for the fields(agent-namespace and service account) (#2307)
Refactoring manifest parser function for the fields(agent-namespace and service account)

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-03 10:24:41 +05:30
Harsh Shekhar 918928ef50
chore(update): user cluster registration schema (#2288)
* update user cluster registration schema

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* Remove extra namespace yaml from cluster-subscriber.yml

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* add missing fields in self-deployer registration

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* add nsExists and saExists field in UserClusterReg mutation

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* check empty string for sa and ns

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* Regenerate graphql graph

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>
2020-10-30 20:27:55 +05:30
Ishan Gupta ce4bbabaf5
Namespace scope mode for litmus-portal and okteto cloud dev environment integration. (#2187)
This commit adds namespace scope installation configuration and required code changes for it to litmus-portal and also adds Okteto cloud dev environment setup.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-10-07 10:33:58 +05:30
Raj Babu Das 8ad6ecc9a8
Changing Subscriber namespace and deployer namespace to env var (#2107)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-23 15:07:23 +05:30
Soumya Ghosh Dastidar d5e553584b
Moved Subscriber and Deployer images to env-var (#2073)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-15 10:41:05 +05:30
Raj Babu Das 15beb32e1b
Graphql-server directory restructuring. (#2043)
* Restructuring graphql server

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-14 13:28:27 +05:30