/prom-crowd-exporter

Prometheus Exporter For Crowd

Primary LanguageJavaMIT LicenseMIT

Prometheus Exporter For Crowd

MaintainabilityBuild Status MIT License

This is Crowd plugin which provides endpoint to expose Crowd metrics to Prometheus.

Getting Started

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.

Prerequisites

Development

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

Installation

  1. Build the plugin using atlas-mvn package
  2. Shut down your Crowd instance.
  3. 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.
  4. Start Crowd.
  5. 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

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details