Commit Graph

141 Commits (a92c8bfe72cf50662f685c8fec12ca48c65d7cee)

Author SHA1 Message Date
Anatolii Bazko ca5fc35d33
Remove deploy.sh (#16376)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-17 11:49:10 +02:00
Michal Vala 14cea1b912
Logwatchers metrics (#16285)
* count workspace starts in debug mode

Signed-off-by: Michal Vala <mvala@redhat.com>

fix maven dependencies

Signed-off-by: Michal Vala <mvala@redhat.com>

observe debug mode metrics with events

Signed-off-by: Michal Vala <mvala@redhat.com>

change start attemts in debug mode metrics name, fix pom deps

Signed-off-by: Michal Vala <mvala@redhat.com>

rename start workspace in debug metrics with tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* add options to workspace start event to be able to count debug starts

* remove no longer used logwatch meter binder, write hopefully proper metrics tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tags again

Signed-off-by: Michal Vala <mvala@redhat.com>

* grafana graph with workspace start attempts total and in debug

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* runtime log messages and bytes metrics

Signed-off-by: Michal Vala <mvala@redhat.com>

* add missing license header

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix grafana datasources

Signed-off-by: Michal Vala <mvala@redhat.com>

* set grafana graphs mins for runtime logs

Signed-off-by: Michal Vala <mvala@redhat.com>

* watch current logwatch instances

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix module version in pom.xml, fix log message grammar, format

* runtime log messages and bytes metrics

Signed-off-by: Michal Vala <mvala@redhat.com>

add missing license header

Signed-off-by: Michal Vala <mvala@redhat.com>

fix grafana datasources

Signed-off-by: Michal Vala <mvala@redhat.com>

set grafana graphs mins for runtime logs

Signed-off-by: Michal Vala <mvala@redhat.com>

explicitly set charset when counting runtime log bytes

Signed-off-by: Michal Vala <mvala@redhat.com>

* javadoc and fix pom module dependency

Signed-off-by: Michal Vala <mvala@redhat.com>

* tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* add grafana dashboard graph with current watchers

Signed-off-by: Michal Vala <mvala@redhat.com>

* removed infrastructure-metrics module

Signed-off-by: Michal Vala <mvala@redhat.com>

* Revert "removed infrastructure-metrics module"

This reverts commit 16392f5936378204031330971e0a874aacf0723a.

* moved CurrentLogwatchersMeterBinder into own maven and guice module and events into kubernetes module

Signed-off-by: Michal Vala <mvala@redhat.com>
2020-03-11 13:12:08 +01:00
Michal Vala 7ec8158fed
Runtme log metrics (#16263)
* count workspace starts in debug mode

Signed-off-by: Michal Vala <mvala@redhat.com>

fix maven dependencies

Signed-off-by: Michal Vala <mvala@redhat.com>

observe debug mode metrics with events

Signed-off-by: Michal Vala <mvala@redhat.com>

change start attemts in debug mode metrics name, fix pom deps

Signed-off-by: Michal Vala <mvala@redhat.com>

rename start workspace in debug metrics with tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* add options to workspace start event to be able to count debug starts

* remove no longer used logwatch meter binder, write hopefully proper metrics tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tags again

Signed-off-by: Michal Vala <mvala@redhat.com>

* grafana graph with workspace start attempts total and in debug

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* runtime log messages and bytes metrics

Signed-off-by: Michal Vala <mvala@redhat.com>

add missing license header

Signed-off-by: Michal Vala <mvala@redhat.com>

fix grafana datasources

Signed-off-by: Michal Vala <mvala@redhat.com>

set grafana graphs mins for runtime logs

Signed-off-by: Michal Vala <mvala@redhat.com>

explicitly set charset when counting runtime log bytes

Signed-off-by: Michal Vala <mvala@redhat.com>
2020-03-10 11:12:45 +01:00
Michal Vala 6beb2cdfca
count workspace starts in debug mode (#16210)
* count workspace starts in debug mode

Signed-off-by: Michal Vala <mvala@redhat.com>

fix maven dependencies

Signed-off-by: Michal Vala <mvala@redhat.com>

observe debug mode metrics with events

Signed-off-by: Michal Vala <mvala@redhat.com>

change start attemts in debug mode metrics name, fix pom deps

Signed-off-by: Michal Vala <mvala@redhat.com>

rename start workspace in debug metrics with tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* add options to workspace start event to be able to count debug starts

* remove no longer used logwatch meter binder, write hopefully proper metrics tags

Signed-off-by: Michal Vala <mvala@redhat.com>

* cleanup

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tags again

Signed-off-by: Michal Vala <mvala@redhat.com>

* grafana graph with workspace start attempts total and in debug

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix tests

Signed-off-by: Michal Vala <mvala@redhat.com>

* fix grafana datasource

Signed-off-by: Michal Vala <mvala@redhat.com>

* set mins for workspace start attempts grafana graphs

Signed-off-by: Michal Vala <mvala@redhat.com>
2020-03-10 10:12:32 +01:00
Igor Vinokur cbaf94e69c
Apply OpenShift OAuth provider (#15963) 2020-03-04 10:49:25 +02:00
Sergii Kabashniuk d98602c371
Replace hardcoded prometheus datasource with template (#15767)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2020-01-22 08:16:28 +01:00
Vitalii Parfonov c07e261ee3
Move to the quay.io (#15569)
* Move to the quay.io: change image id to use quay.io

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-01-11 16:11:34 +02:00
Lukas Krejci b2b6f5f488
User selection of the workspace namespace/project (#15040)
Enrich `RuntimeIdentity` with `infrastructureNamespace` property so that it can be used by the namespace/project factories to create/obtain appropriate namespaces for the workspaces and make use of it throughout the workspace provisioning.

Add an explicit query parameter to assign a workspace to a specific namespace, if possible, at workspace creation time.
2019-11-28 14:36:25 +01:00
Vitalii Parfonov 1b2a484f32
Support git operation for repos with self-signed SSL certs (#15218)
* Support git operation for repositories with self-signed SSL certs
2019-11-21 17:29:52 +02:00
Sergii Kabashniuk 29aa04cb2f
Provide metrics of k8s API execution (#15207)
* Provide metrics of k8s API execution
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-11-20 08:17:04 +01:00
Angel Misevski d205b84c94 Remove/update deprecated machine start timeout env var in templates
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-11-13 12:44:24 -05:00
Sergii Kabashniuk 3de4e7ffac
Monitoring & Tracing capability for multiple Thread pools of Che Server (#14727)
* Monitoring & Tracing capability for multiple Thread pools of Che Server
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-30 14:11:02 +01:00
Tom George 6889118aa2 Change grafana configuration to match hosted che configuration (#14684)
* Change grafana configuration to match hosted che configuration

Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-04 12:54:18 +02:00
Tom George 3eaa9f2055 Set Y axis unit to none (#14682)
Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-01 08:52:33 +02:00
Mykhailo Kuznietsov 8fd46cd4d6
Minor fixes to new Che workspace Grafana panels (#14626) 2019-09-25 17:28:14 +03:00
Tom George 053b2fd304 Change grafana dashboards for number of workspaces/users to be graphs with axes (#14588)
che #14155 Change grafana dashboards for number of workspaces/users to be graphs that show axes, legends. Create a new "Users" panel

Signed-off-by: Tom George <tg82490@gmail.com>
2019-09-25 10:15:55 +02:00
Mykhailo Kuznietsov 4ba2ec72ee
Add new Tomcat metrics dashboard in Grafana (#14578) 2019-09-19 16:07:46 +03:00
Mykhailo Kuznietsov ea77052d10
Add workspaces started under 60 seconds ratio panel (#14533) 2019-09-17 11:38:02 +03:00
Mykhailo Kuznietsov 8ab8c2a38f
Add Grafana panels with workspace traces metrics (#14500) 2019-09-12 14:01:56 +03:00
Mykhailo Kuznietsov 40ee503a05 Remove Stack service (#14078)
* Remove Che6 Stack concept

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-09-03 08:00:12 +02:00
Vitalii Parfonov 608882a3ee
use the latest nightly image, adapt e2e tests for new behavior of debug settings in Theia (#14285)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-23 07:30:12 +03:00
Vitalii Parfonov c3b0abbe5d
Set all image version to the 7.0.0 to align it with CheTheia version (#14264)
* Set all image version to the 7.0.0 to aligen it with CheTheia version until #14248 not fixed

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-16 17:34:38 +03:00
Vitalii Parfonov e743a4124e
Set 'next' version for che-machine-exec as default (#14061)
* Set 'next' version for che-machine-exec as default

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>

* Use 'nightly' images instead of 'latest'. Change organization 'openshiftio->eclipse'

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-01 10:48:00 +03:00
Masaki Muranaka 376da092d4 Add `DB_VENDOR` to env. (eclipse#13919)
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-07-24 12:21:48 +09:00
Masaki Muranaka 7696d2ccfd Rename environment variables. (eclipse#13821)
POSTGRES_* to DB_*.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2019-07-24 12:21:48 +09:00
Fabrice Flore-Thébault 939dfbe016 fix #13660 - Replace mentions of 'oAuth', by more accurate 'OAuth'. (See https://oauth.net/) (#13664)
Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
2019-07-10 11:31:09 +02:00
Michal Vala cd891d77d1 Workspace termination time metrics (#13635)
add workspace termination time metrics
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-07-02 12:02:51 +02:00
Florent Benoit 6ebc4c8e81 Remove nightly usage of che-ip and use a tagged version of images
Change-Id: I7ecd663001973706f8bb7ae0ed8a008fdec687a9
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2019-07-01 17:00:00 +03:00
Anna Shumilova 98062a88f7 Enable devfile registry by default
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>

Fix the run workspace button

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>

Fix adding projects to devfile

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>

Fix adding projects to devfile

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
2019-06-13 15:47:31 +03:00
Sergii Kabashniuk a21b7a81a1
Polishing of monitoring dashboards (#13501)
- Increased refresh interval
- Add graphs for user and workspaces number

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-06-10 14:48:05 +03:00
Sergii Kabashniuk ea4b2eeb68
Decoupled monitoring configuration and deployment (#13152)
* Decoupled monitoring configuration and deployment

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-06-07 09:23:13 +03:00
Lukas Krejci c4726cc725
Attempt to create the che project multiple times if it was previously deleted. (#13443)
Attempt to create the che project multiple times if it was previously
deleted.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-06-03 14:33:35 +02:00
Sergii Leshchenko 6ba43f00d8
Integrate Che Server with Devfile Registry (#13430)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-05-30 13:30:15 +03:00
Mykhailo Kuznietsov 4c04da2577
Add successful stopped workspaces metric (#13404) 2019-05-28 15:16:17 +03:00
Dmytro Nochevnov f02735aa48
Revert to OCP 3.9 (#13351)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2019-05-17 10:28:26 +03:00
Oleksandr Garagatyi 3e6d195f48 Configure new plugin registry and broker
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-05-13 16:38:32 -04:00
nickboldt 81f3613c34 since we support 3.11+ (not 3.9+), the DEFAULT_OC_BINARY_DOWNLOAD_URL should be 3.11 URL
Change-Id: Ic6725ced7603d1b9da1ace7e67510c42b4a50347
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-05-11 16:54:30 -04:00
Oleksandr Garagatyi 35ce3544f7
Adapt UD and wsmaster to new plugin notation (#13204)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2019-05-02 09:50:01 +03:00
Oleksandr Garagatyi bbd4e10778 Change default plugin registry image
Change default plugin registry image to one pushed to quay.io
2019-04-28 09:03:33 +03:00
John Collier 7ac34636bc Add option to specify additional cluster role for workspaces. (#13178)
Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-04-26 19:34:28 +02:00
Oleksandr Andriienko 0ce0408863
Fix licence year for some files. (#13082)
* Fix licence year.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Revert changes for .sql files

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Revert more sql files.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2019-04-11 10:14:48 +03:00
Mykhailo Kuznietsov e0226c891a
Add metrics for number of users (#13001) 2019-04-04 11:01:02 +03:00
Sergii Leshchenko 5bfe67b7e7 Increase failure threshold instead of removing probes
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-04-03 11:16:40 +03:00
John Collier 86436a88e6 Allow sidecar containers to list Kubernetes services by default (#12983)
* Allow workspace pods to list Kubernetes services by default
* Update workspace-view-role.yaml to allow listing
of Kubernetes services
* Allow sidecar containers to list services on OpenShift
* Add services resource to workspace-view role for OpenShift

Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-03-28 15:25:55 +02:00
Sergii Kabashniuk fb93ef7c06
Workspace start time metrics (#12859)
* Workspace start time metrics

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-03-15 09:50:46 +02:00
Sergii Kabashniuk 7a1d3964a6
Successfully started workspaces ratio (#12852)
Successfully started workspaces ratio

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-03-12 13:25:11 +02:00
Eugene Ivantsov a9b952297a
Create view role rather than rely on view clusterRole (#12789)
* Create view role rather than rely on view clusterRole

* Create view role for k8s. Fix typo

* Typo and Java doc sync

* Add namespaced role to k8s and openshift templates. Role instead ClusterRole for k8s

* Rename view role to workspace-view

* Fix formatting

* Fix javadoc. Revent erroneous changes to postgres template

* Remove hidden Dockerfile

* Revert pg changes
2019-03-11 18:20:37 +02:00
Sergii Kabashniuk a5b06d444f
Introduced two web-socket endpoints for workspace master to split JSON-RPC messages (#12673)
* Introduced two web-socket endpoints for workspace master to split JSON-RPC messages
Based on Dmytro's Kulieshov  work https://github.com/eclipse/che/pull/12252

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-27 13:29:43 +02:00
Sergii Kabashniuk 577eba85ea
Add ProcessMemoryMetrics ProcessThreadMetrics (#12749)
* Add ProcessMemoryMetrics ProcessThreadMetrics

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-26 14:47:41 +02:00
Sergii Kabashniuk acfee5a206
Deployment of tracing/monitoring/debug on OpenShift (#12683)
* Deployment of tracing/monitoring/debug on OpenShift

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-02-19 13:56:29 +02:00