Skip to content
Snippets Groups Projects
Commit a229dd57 authored by Tomasz Maczukin's avatar Tomasz Maczukin
Browse files

Merge branch 'add-prometheus-metrics' into 'master'

Add a multiple prometheus metrics:

Add a multiple prometheus metrics:
    
Metrics from Machine Provider (Auto-scaling):
- ci_machines_provider{state=acquired|creating|idle|used|removing} - current number of machines in given state,
- ci_machines{type=created|used|removed} - total number of machines that were created, used (number of builds) and removed,
    
Metrics from Builds with breakdown on stage and runtime state:
- ci_runner_builds{state=pending|running|finished|canceled|terminated|timedout, stage=prepare_script|build_script|after_script|archive_cache|upload_artifacts} - current number of builds in given state

This should basically help us to detect any anomalies in runner: ex. a high number of canceled builds or large amount of machines  being provisioned and not removed.

@tmaczukin Can we ship that with 1.9.0RC1? 

cc @pcarranza

See merge request !401
parents 79e0934a 52b30b5f
No related branches found
No related tags found
No related merge requests found
Showing with 284 additions and 83 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment