File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,16 @@ It's aim is to simplify reporting metrics to CloudWatch:
10
10
- using EMF avoids additional HTTP API calls to CloudWatch as metrics are logged in JSON format to stdout
11
11
- no need for additional dependencies in your services (or mocks in tests) to report metrics from inside your code
12
12
- built in support for default dimensions and properties for Lambda functions
13
- - TODO support for default dimensions and properties for EC2 (please send pull requests)
14
13
15
14
Supports namespaces, setting dimensions and properties as well as different contexts (at least partially).
16
15
17
- Usage:
16
+ ## Installation
17
+
18
+ ``` shell
19
+ go get github.com/prozz/aws-embedded-metrics-golang
20
+ ```
21
+
22
+ ## Usage
18
23
19
24
```
20
25
emf.New().Namespace("mtg").Metric("totalWins", 1500).Log()
@@ -67,3 +72,10 @@ Functions for setting up dimensions:
67
72
func Dimension(key, value string)
68
73
func DimensionSet(dimensions ...Dimension) // use `func NewDimension` for creating one
69
74
```
75
+
76
+ ## Contributing
77
+ Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
78
+ Please make sure to update tests.
79
+
80
+ ## License
81
+ [ MIT] ( https://choosealicense.com/licenses/mit/ )
You can’t perform that action at this time.
0 commit comments