https://github.com/sematext/sematext-metrics-reporter
Coda Metrics SPM Reporter
https://github.com/sematext/sematext-metrics-reporter
Last synced: 8 months ago
JSON representation
Coda Metrics SPM Reporter
- Host: GitHub
- URL: https://github.com/sematext/sematext-metrics-reporter
- Owner: sematext
- License: apache-2.0
- Created: 2013-05-16T17:07:54.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-10T12:18:30.000Z (almost 13 years ago)
- Last Synced: 2025-08-04T00:33:11.768Z (10 months ago)
- Language: Java
- Size: 164 KB
- Stars: 5
- Watchers: 21
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
sematext-metrics-reporter[](https://travis-ci.org/sematext/sematext-metrics-reporter)
====
[Coda Hale Metrics](http://metrics.codahale.com/) Reporter that uses [Sematext Metrics](http://github.com/sematext/sematext-metrics) library to send metrics to [SPM](http://sematext.com/spm/index.html) as [Custom Metrics](https://sematext.atlassian.net/wiki/display/PUBSPM/Custom+Metrics)
## Usage
Add maven dependency:
com.sematext
sematext-metrics-reporter
0.1.3.0.0
And configure reporter:
MetricRegistry metrics = new MetricRegistry();
SematextClient.initialize("[spm-token]");
SematextMetricsReporter reporter = SematextMetricsReporter.forClient(SematextClient.client())
.withFilter(MetricFilter.ALL)
.withRegistry(metrics)
.withDurationUnit(TimeUnit.MILLISECONDS)
.build();
reporter.start(1, TimeUnit.MINUTES);
## License
Copyright 2013 Sematext Group, Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0