Background
- Common library used by all clients that want to report to StatisticsService.
Simplify the implementation in each module.
- Try to reuse existing libraries eg
- ValueReporter-Agent
- run without --java_agent directive. May be run with also.
- Metrics
- ValueReporter-Agent
Usage responsibility
- Collect data specified in StatisticsService
- Non-blocking behavior
- Low latency
- Low on network activity.
- Avoid "fan-out" effect. A single request must have not more than one additional network function used for statistics.
Performance and HealthCheck responsibility.
Recomend to reuse Dropwizard Metrics for health check and performance reporting.
See Metrics Spring for @Timed, @Gauge etc.
We then need to create our own Reporter, based on Metrics-Graphite
Labels:
None