This is Crowd plugin which provides endpoint to expose Crowd metrics to Prometheus.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- java
- maven
- atlassian plugin sdk
Setup your local environment and produce the snogo binary.
$ git clone git@github.com:HealthPartners/prom-crowd-exporter.git
To run a local copy of crowd that already has the plugin applied, use the atlassian plugin sdk.
atlas-run
This will have the plugin already applied to the local copy of crowd.
To update the plugin with on-demand locally, in a new terminal (to allow local crowd to keep running) run:
atlas-mvn package
- Build the plugin using
atlas-mvn package
- Shut down your Crowd instance.
- Go to crowd.home/plugins directory (You configured crowd.home in crowd-webapp/WEB-INF/classes/crowd-init.properties when installing Crowd), remove previous versions of the plugin (if any), and copy the downloaded JAR there.
- Start Crowd.
- Prometheus Exporter For Crowd add-on should be now correctly installed and you can access via your browser at CROWD-HOSTNAME/crowd/plugins/servlet/prometheus/metrics
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Peter Kreidermacher - HealthPartners
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details