INNER CODE UNIT · Python
__repr__
braedon/prometheus-es-exporter · prometheus_es_exporter/__init__.py:328
def __repr__(self):
return 'MultiChoice(%r)' % list(self.choices)
# https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html#_nodes_statistics
NODES_STATS_METRICS_OPTIONS = [
'indices', 'fs', 'http', 'jvm', 'os',
'process', 'thread_pool', 'transport',
'breaker', 'discovery', 'ingest'
]
# https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html#node-indices-stats
INDICES_STATS_METRICS_OPTIONS = [
'completion', 'docs', 'fielddata',
'flush', 'get', 'indexing', 'merge',
'query_cache', 'recovery', 'refresh',
'request_cache', 'search', 'segments',