cinc_server_exporter-0.1.0 is not a library.
About The Project
While working at my current gig I found we were lacking some metrics to gain a deeper visibility in to our infrastructure. I built this exporter to fill some of those gaps.
Getting Started
This project assumes you have cinc-server installed with the default database settings.
Installation
- Switch to the database user
- pull latest release
- run the service
- test
Development Setup
Recommended prerequesites
- nix
- devenv.sh
- direnv
Building and running
- Pull latest code
- Enter project directory
- Allow direnv and let nix to do it's thing
- Run test database
devenv up - Import Test Data
# coming soon :( - Run exporter
- Scrape
Usage
There are a handful of options to configure the exporter which is done via the following environment variables.
- CINC_SERVER_EXPORTER_CONN_STRING - Postgres connection string to the CINC database
- CINC_SERVER_EXPORTER_INTERVAL - Interval to scrape the database in seconds
Roadmap
- Add changelog
- Add test data
- Add tests
- Document configuration options
- Add automated builds
- Add release url to docs
See the open issues for a full list of proposed features (and known issues).
Contributing
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Robert J. Lambert III - robert.j.lambert@pm.me Project Link: https://github.com/esoterick/cinc_server_exporter