-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Expose usage metrics via Che Server API #11242
Comments
@aditya-konarde I am afraid we don't have such a concept of a "super user" or "admin" in Che but @skabashnyuk may provide more details. |
@aditya-konarde @l0rd we do have a concept of "super user" or "admin". We call it user with "manageSystem" permission.
Small remark. If Che is connected to Keycloak or other OIDC provider it will mean a number of users who at least once used Che.
ok
We might need pagination here. I'll try to make a prototype of json so we can make sure we are talking about the same thing. |
So it might be like:
|
@fche fyi^ |
Best if we use a prometheus-style format: https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md#text-format-example |
@aditya-konarde Interesting idea. I need to synchronise this approach with @l0rd @ibuziuk and @davidfestal . AFAIK they doing(going to do) something similar. See more redhat-developer/rh-che#950. |
Those metrics are really interesting and nice to have, but they will not really help from maintaining perspective. IMO, the most important metric that we could currently get is list of workspaces that are running more than X minutes (with info about user / namespace). I believe it should be the first usage metric exposed via Che Server API |
|
@skabashnyuk based on our SLA discussion I have created the following issues:
Please, consider those issues as a priority from the overall list of metrics. |
Description
As an engineer working on a maintaining a hosted Eclipse Che Server, I would like to have access to metrics on the the number of provisioned Che accounts on the Server. Currently, this can be obtained with queries to the backing database. The request here is to expose these metrics via a metrics endpoint, so that they can be consumed directly by a monitoring system.
The metrics I am looking at are:
The developers might be able to add in more metrics which are needed for development/troubleshooting. Exposing these will definitely help with a faster feedback loop for the developers, and help us look at trends in the usage for better capacity planning.
CC @ibuziuk
Reproduction Steps
Not applicable
OS and version:
Not applicable
Diagnostics:
Not applicable
The text was updated successfully, but these errors were encountered: