https://github.com/livetocode/hipchat-prometheus-exporter
A Prometheus Exporter that will create a metric for the number of messages produced by a HipChat room.
https://github.com/livetocode/hipchat-prometheus-exporter
Last synced: about 1 year ago
JSON representation
A Prometheus Exporter that will create a metric for the number of messages produced by a HipChat room.
- Host: GitHub
- URL: https://github.com/livetocode/hipchat-prometheus-exporter
- Owner: livetocode
- License: mit
- Created: 2017-09-10T05:08:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-10T06:09:50.000Z (over 8 years ago)
- Last Synced: 2025-02-05T01:31:23.157Z (about 1 year ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hipchat-prometheus-exporter
## Description
This exporter will call the HipChat Room API in order to collect the number of messages sent for your selected rooms.
It will then create the following Prometheus metrics that you can use in a Dashboard for showing a room activity:
- hipchat_room_messages_total: the number of sent messages
- hipchat_room_errors_total: the number of errors while trying to fetch the stats
Note that each metric will have a **"name"** property containing the Room's name.
## Requirements
You must create a AuthToken in the HipChat admin pages:
Goto https://MyCompany.hipchat.com/account/api
Then create a new Token with at least the *"View Room"* scope.
## Build
To create a local docker image, execute:
```
./scripts/build-image.sh
```
## Run
Once you have the image built and your AuthTojen, you can run it in Docker locally for testing it:
```
./scripts/run-image.sh -authToken myToken -rooms room1,room2
```
And then you can access the metrics:
```
open http://localhost:8080
```
## Kubernetes
Use the Helm Chart for installing it.
See the [README](charts/hipchat-prometheus-exporter/README.md)