Skip to content

Agaetis-IT/qdb-prometheus-exporter

Repository files navigation

QuasarDB Prometheus Exporter

Third party libraries

Script arguments

  • exporter_http_host: Exporter HTTP hostname, defaults to '',
  • exporter_http_port: Exporter HTTP port, defaults to 8080,
  • exporter_metric_prefix: Exporter metrics prefix, defaults to qdb,
  • qdb_cluster_public_key: QuasarDB cluster public key absolute file path, defaults to None,
  • qdb_max_metrics: Max number of metrics retrieved from QuasarDB, defaults to 200,
  • qdb_uri: QuasarDB cluster URI, defaults to qdb://127.0.0.1:2836,
  • qdb_user_name: QuasarDB username, defaults to '',
  • qdb_user_private_key: QuasarDB user private key absolute file path, defaults to None
  • qdb_node_id: QuasarDB node id to invoke, this value is mandatory and if the node id do not match any of the cluster no statistics while be available., defaults to '0-0-0-1'

Installation

Pre requisites

  • qdb-api=3.8.1

Run

qdb-prometheus-exporter --qdb_node_id=0-0-0-1 --qdb_uri=qdb://qdb-server:2836 --exporter_http_port=9090