Skip to main content

No project description provided

Project description

Environment variables

ELASTICSEARCH_QUERY_RESULTS_NAME Name of prometheus gauge (default: ‘elasticsearch_query_results’)

ELASTICSEARCH_QUERY_RESULTS_TEXT Text of prometheus gauge (default: ‘Results from Elasticsearch query’)

ES_QUERY_TIME_NAME Name of total Elasticsearch query time summary (default: ‘es_query_time_seconds’)

ES_QUERY_TIME_TEXT Text of total Elasticsearch query time summary (default: ‘Time spent Querying Elasticsearchi’)

ES_HOST_LIST Comma-separated list of Elasticsearch endpoints (default: ‘http://elasticsearch.jamiehouse:9200’)

ES_MAX_CONNECTIONS Max connections (default: 25)

ES_SEARCH_INDEX Elasticsearch search index (default: tempsensor-*)

ES_SEARCH_BODY Elasticsearch search body (default: ‘{“query”:{“range”:{“@timestamp”:{“gt”:”now-15m”}}},”aggs”:{“avg_temp”:{“avg”:{“field”:”temp”}}}}’)

ES_SEARCH_RESULT_FIELD_PATH Dot-separated path to index result JSON for single-value to store in ELASTICSEARCH_QUERY_RESULTS gauge (default: ‘aggregations.avg_temp.value’)

SLEEP_TIME Seconds to sleep between queries (default: 10)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elasticsearch-prometheus-0.2.1.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file elasticsearch-prometheus-0.2.1.tar.gz.

File metadata

  • Download URL: elasticsearch-prometheus-0.2.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.15rc1

File hashes

Hashes for elasticsearch-prometheus-0.2.1.tar.gz
Algorithm Hash digest
SHA256 257b5cecf52546f2659e3f2211fc9dc12c5a8bea8fe980b3027a2317d152ba23
MD5 3d7bc1fc4985c396da4a0faaac830447
BLAKE2b-256 285505a14ccbb59ff86bb81a99f5386e187f87ce3efebbd4d9077913ba8eef3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page