cmd

command
v0.0.0-...-f1f0b2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 21 Imported by: 0

README

Publish Metrics

echo '{"_aws":{"CloudWatchMetrics":[{"Namespace":"RateLimit","Dimensions":[["TableName","BucketID","ShardID","Operation"]],"Metrics":[{"Name":"Throttle","Unit":"Count"}]}],"Timestamp":1675510655392},"TableName":"dummy_table","BucketID":"dummy","ShardID":"0","Operation":"GetItem","Throttle":1,"requestId":"1fd3caae-5e0f-45aa-b947-f7d2318c32d0"}' | ./cmd/cmd publish-metric --log-group-name emf-test --log-stream-name emf-test

HTTP API

curl -H "x-api-key: aaaaaaaa-aaaa-aaaa-aaaa-c95d780512c7" https://xxxx.execute-api.ap-northeast-1.amazonaws.com/hello
ok

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL