A community maintained Kibana plugin that exposes metrics in the Prometheus format. Once Installed, please visit http://localhost:5601/_prometheus/metrics
First, locate the version you require on the release page. There is a couple of ways to install this plugin. The more common approach would be to download the correct version and run:
bin/kibana-plugin install https://github.com/pjhampton/kibana-prometheus-exporter/releases/download/6.5.2/kibana-prometheus-exporter-6.5.2.zip
Important: Please don't build off and install from the trunk (master). This is a development / experimental branch so don't be that girl/them/guy, please. The RELEASE/{NUM}
branches are the release branches. This process is shaped by the Kibana release process.
You can install into your container with the following command (replace, or env set ${KIBANA_VERSION}
):
RUN bin/kibana-plugin install https://github.com/pjhampton/kibana-prometheus-exporter/releases/download/${KIBANA_VERSION}/kibana-prometheus-exporter-${KIBANA_VERSION}.zip
Details on the various exported metrics are documented on the Github wiki page.
SSL certs should not be an issue - as it is a mirror request the plugin does not check the servers identity. As for X-Pack and Basic Auth enablement, you can add the following to your config/kibana.yml and replace with your user and pass. The credentials are encoded in a Base64 header when sent over the wire.
kibana-prometheus-exporter.user: kibanaUser
kibana-prometheus-exporter.pass: ohSoSecret!
If you would like to say thanks or show your support then please donate to Assisi NI, Guide Dogs UK and / or your local guide dog charity / sanctuary. 🐶 🐶 Code / Docs contributions are also very welcome ❇️
The version of this plugin must match the version of Kibana you are running. Click here to download the available versions. If you don't see the version you want, please feel free to open an issue to request.
This project is licensed under Apache Commons 2.0.
Not interested in legal mumbo jumbo? Read the TL;DR here