Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
add doc for metrics APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcc-orange committed Jan 13, 2016
1 parent dac42ed commit d740957
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/admin/broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ You can either:

java -jar cepheus-broker.jar --spring.config.location=/etc/cepheus/broker.properties

### Metrics and health

You can enable the Spring Boot Actuator `/infos`, `/health` and `/metrics` endpoints with these application properties:

endpoints.info.enabled=true
endpoints.metrics.enabled=true
endpoints.health.enabled=true

## User guide

The complete user & programming guide can be found [here](../index.md)
11 changes: 11 additions & 0 deletions doc/admin/cep.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ The Cepheus-CEP loads its data on startup and saves back data updates to a singl
The default location of the data file is defined by the `data.file` property.
This Cepheus-CEP process must have write access rights on this file.

### Metrics and health

You can enable the Spring Boot Actuator `/infos`, `/health` and `/metrics` endpoints with these application properties:

endpoints.info.enabled=true
endpoints.metrics.enabled=true
endpoints.health.enabled=true

Metrics will include the metrics for each EPL statement with the following data:
`cpuTime`, `wallTime`,`numInput` and `numOutputIStream`.

## User guide

The complete user & programming guide can be found [here](../index.md)

0 comments on commit d740957

Please sign in to comment.