https://github.com/ebean-orm/ebean-collectd
Collectd reporter for Ebean metrics
https://github.com/ebean-orm/ebean-collectd
Last synced: 10 months ago
JSON representation
Collectd reporter for Ebean metrics
- Host: GitHub
- URL: https://github.com/ebean-orm/ebean-collectd
- Owner: ebean-orm
- License: apache-2.0
- Created: 2018-09-27T09:15:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T23:20:07.000Z (almost 4 years ago)
- Last Synced: 2025-01-18T01:32:20.413Z (12 months ago)
- Language: Java
- Size: 37.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ebean-collectd
Collectd reporter for Ebean metrics
## How to setup
### Add dependency
Add the dependency for ebean-collectd:
```xml
io.ebean
ebean-collectd
1.2.2
```
### Use CollectdReporter
On starting/creating the EbeanServer instance use CollectdReporter to
configure how to collect the metrics and where to send them to.
For example:
```java
CollectdReporter.forServer(server)
.withHost(containerHost)
.withCollectdHost(collectdHost)
.withCollectdPort(25826)
.withUsername(user)
.withPassword(pass)
.withSecurityLevel(SecurityLevel.ENCRYPT)
.reportEvery(60);
```