Skip to content

Commit 79d4632

Browse files
authored
in usage, link to artifact and import Unit
It was a little difficult to find the actual artifact location, so I figured it might be helpful to include that in the README. As a drive-by, I've included the import for the `Unit` class in the usage example.
1 parent 9875fed commit 79d4632

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ To use a metric logger, you need to manually create and flush the logger.
2828
```java
2929
import software.amazon.cloudwatchlogs.emf.logger.MetricsLogger;
3030
import software.amazon.cloudwatchlogs.emf.model.DimensionSet;
31+
import software.amazon.cloudwatchlogs.emf.model.Unit;
3132

3233
class Example {
3334
public static void main(String[] args) {
@@ -40,6 +41,10 @@ class Example {
4041
}
4142
```
4243

44+
You can find the artifact location and examples of how to include it in your project at [Maven Central](https://search.maven.org/artifact/software.amazon.cloudwatchlogs/aws-embedded-metrics):
45+
46+
https://search.maven.org/artifact/software.amazon.cloudwatchlogs/aws-embedded-metrics
47+
4348
## API
4449

4550
### MetricsLogger

0 commit comments

Comments
 (0)