File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,26 @@ backend-agnostic approach to Java metrics instrumentation.
3838 Metrics are modeled after [ Stackdriver
3939 Metrics] ( https://cloud.google.com/monitoring/api/v3/metrics ) .
4040
41+ ## Importing the library
42+
43+ The most recent release is [ v1.0.3] ( https://github.com/google/monitoring-client/releases/tag/v1.0.3 ) .
44+
45+ The Maven group ID is ` com.google.monitoring-client ` . The artifact ID is
46+ ` metrics ` for the main library, and ` stackdriver ` for the stackdriver backend
47+ writer. We also provide a ` contrib ` library that is useful if you want to make test
48+ assertions on certain metric types with Google's [ truth] ( https://github.com/google/truth )
49+ library.
50+
51+ To add a dependency on the metrics library using Maven:
52+
53+ ``` xml
54+ <dependency >
55+ <groupId >com.google.monitoring-client</groupId >
56+ <artifactId >metrics</artifactId >
57+ <version >1.0.3</version >
58+ </dependency >
59+ ```
60+
4161## Using the library
4262
4363* Registering Metrics
Original file line number Diff line number Diff line change 1818 <description >
1919 Convenient functions backported from JUnit 4.13.
2020 </description >
21+
22+ <properties >
23+ <skipNexusStagingDeployMojo >true</skipNexusStagingDeployMojo >
24+ </properties >
25+
2126</project >
You can’t perform that action at this time.
0 commit comments