As of 1 July 2020, Qlik Core is no longer available to new customers. No further maintenance will be done in this repository.
The connector supports two parameters passed in from the connection string, promHost=some-host:9090, and promQuery=some-promql-expression.
For example, CUSTOM CONNECT TO "provider=prometheus-connector;promHost=my-prometheus-hostname:9090;promQuery={__name__=~'qix.+'}", will tell the connector to fetch Prometheus data from host my-prometheus-hostname, on port 9090 with a Prometheus query that will list all metrics that starts with qix.
Requires python3.
pip install -r requirements.txtpython src/.Update ./connector.proto to a new version, then:
python gen_code.pydocker build . -t prom-connectorRequires Node.js version 9+.
cd example
ACCEPT_EULA=yes docker-compose up -d --build --force-recreate
cd ui
npm i
npx webpack --mode development
open dist/index.html