* 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>
* 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>
* 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>
readiness probes on che server. This is helpful when debugging and pausing
the server for a longer time.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
* Add ability to set up Che workspace and postgress pvc names using helm.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* improve helm value chePostgresPVCStorageClassName location
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Fix indent in the yaml.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Disable CORS by default in helm. Align helm and che-operator configuration
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
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.
Load the workspace during then namespace resolution so that we can check
for the attribute stored in the workspace attributes.
Switch the default namespace to `<username>-che`.
Update the property descriptions in che.properties and use the new
CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT in the helm chart.
Move the delete to the KubernetesNamespace/OpenShiftProject to
concentrate the handling in one place.
Split the isNamespaceStatic() (previously called isPredefined()) into
isCreatingNamespaces() and isManagingNamespaces() to separately capture
the two usecases in which that single method was previously incorrectly
called. Also make these methods workspace-specific to be able to
consistently work with the legacy logic across all methods.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
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>
* 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>