#!/bin/sh | |
function usage { | |
echo "USAGE" | |
echo "git where-am-i DIR" | |
} | |
function report_dir { | |
local prefix=$1 |
apiVersion: v2 | |
publisher: eclipse | |
name: che-theia | |
version: next | |
type: Che Editor | |
displayName: theia-ide | |
title: Eclipse Theia development version. | |
description: Eclipse Theia, get the latest release each day. | |
icon: https://raw.githubusercontent.com/theia-ide/theia/master/logo/theia-logo-no-text-black.svg?sanitize=true | |
category: Editor |
-
[UD] Revise unused capabilities and document 'product.json' eclipse-che/che#17116
-
Project build error in Java with MongoDB stack eclipse-che/che#17117
-
[new UD] Change Stylus (a backward-compatible language extension for CSS) to SCSS eclipse-che/che#17118
-
[new UD] Revise unneeded files in the assets directory eclipse-che/che#17119
-
[new UD] Fix styles for the iframe widget eclipse-che/che#17120
#!/bin/sh | |
# This should run a level above the Eclipse Che server checkout which is assumed in a subdir called "che". | |
# CRC is assumed to be running. | |
# Che is assumed to be installed by chectl using operator. | |
# It uses podman for the images and assumes docker is aliased to podman. | |
CUR_DIR=`pwd` | |
CUR_USER=`oc whoami` |
#!/bin/sh | |
set_vm_limits() { | |
sudo virsh setmaxmem crc 16G --config | |
sudo virsh setmem crc 16G --config | |
} | |
crc stop | |
set_vm_limits | |
crc start |
Import this into your Che installation to gain monitoring and visualization capabilities.
All you need to do is to create a route exposing your grafana service. Also make sure that Prometheus is configured to scrape your
Che server correctly - look at the prometheus-config
config map and make sure that the targets
lists the correct hostname
of the Che server within your project.
Also make sure that your Che server is configured to expose the metrics. The CHE_METRICS_ENABLED
environment variable of the che deployment needs to be set to true
.
To access the Grafana dashboard, use the username admin
with password admin
. Once in Grafana, you will see a preconfigured dashboard called "Che Server" containing some basic stats about the Che installation.
This expects a datasource called "Che" in grafana.
To do that, simply create a new datasource in grafana UI with the type "Prometheus" and the URL pointing to the Prometheus server,
e.g. http://prometheus:9090
.