Skip to content

Commit

Permalink
Merge pull request #85 from SokolAndrey/as/prometheus_reporter
Browse files Browse the repository at this point in the history
Add PrometheusReporter implementation
  • Loading branch information
SokolAndrey authored Jan 25, 2021
2 parents 46133bf + 2a34a18 commit 6050401
Show file tree
Hide file tree
Showing 7 changed files with 1,588 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ All artifacts are published under the group `com.uber.m3`.
1. `tally-statsd`: The tally StatsD reporter
1. `tally-core`: tally core functionality that includes interfaces and utilities to report metrics to M3
1. `tally-example`: Example usages with different reporters
1. `tally-prometheus`: The tally Prometheus reporter

## Versioning
We follow semantic versioning outlined [here](http://semver.org/spec/v2.0.0.html). In summary,
Expand Down
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Fri Dec 25 03:30:51 CET 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
26 changes: 26 additions & 0 deletions prometheus/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) 2021 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

description = 'tally Prometheus reporter'

dependencies {
compile project(':tally-core')
compile('io.prometheus:simpleclient:0.9.0')
}
Loading

0 comments on commit 6050401

Please sign in to comment.