github.com/sentienttechnologies/studio-go-runner@v0.0.0-20201118202441-6d21f2ced8ee/docs/prometheus.md (about)

     1  Prometheus Metrics
     2  
     3  The go runner supports a range of prometheus metrics.  This document contains a list of the runner specific metrics.  Go also provides a set of metrics related to the Go runtime, these are detailed at https://github.com/prometheus/client_golang/blob/master/prometheus/go_collector.go.
     4  
     5  If you wish to add new metrics to the runner specific items the best practices for naming prometheus metrics can be found at, https://prometheus.io/docs/practices/naming/.
     6  
     7  runner_queue_refresh_success    Number of successful queue inventory checks (host, project)
     8  runner_queue_refresh_fail       Number of failed queue inventory checks (host, project)
     9  runner_queue_checked            Number of times a queue is queried for work (host, queue_type, queue_name)
    10  runner_queue_ignored            Number of times a queue is intentionally not queried, or skipped work (host, queue_type, queue_name)
    11  runner_project_running            Number of experiments being actively worked on per queue (host, project, experiment, queue_type, queue_name)
    12  runner_project_completed          Number of experiments that have been run per queue (host, project, experiment, queue_type, queue_name)
    13  
    14  runner_cache_hits               Number of cache hits (host,hash)
    15  runner_cache_misses             Number of cache misses (host,hash)
    16  
    17  
    18  
    19  Copyright &copy 2019-2020 Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 license.