An open API service indexing awesome lists of open source software.

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

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);

```