-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael O'Brien
committed
Sep 13, 2021
1 parent
fb99a73
commit 9236594
Showing
10 changed files
with
2,074 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ node_modules | |
dist/ | ||
coverage | ||
.coveralls.yml | ||
samples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# | ||
# Makefile - Makefile for samples | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Metrics samples | ||
=== | ||
|
||
<!-- | ||
![Samples](https://www.sensedeep.com/images/onetable-logo.png) | ||
--> | ||
|
||
These samples are provided to help you get started with DynamoDb Metrics. | ||
|
||
To get you going quickly, try out the working samples in the OneTable repository at: | ||
|
||
* [metrics Overview Sample](https://github.com/sensedeep/dynamodb-metrics/tree/main/samples/overview) — A quick tour through DynamoDB Metrics. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "pwa-node", | ||
"request": "launch", | ||
"name": "Debug Overview", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"program": "${workspaceFolder}/src/index.js", | ||
"runtimeArgs": ["--preserve-symlinks"] | ||
}, { | ||
"type": "node", | ||
"request": "launch", | ||
"name": "TypeScript Debug Overview", | ||
"program": "${workspaceFolder}/src/index.ts", | ||
"preLaunchTask": "tsc: build - tsconfig.json", | ||
"outFiles": ["${workspaceFolder}/dist/**/*.js"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Makefile for samples/crud | ||
# | ||
all: build | ||
|
||
build: | ||
npm run build | ||
|
||
run: | ||
node dist/index.js | ||
|
||
configure: | ||
npm install | ||
|
||
debug: | ||
code . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Metrics Overview sample | ||
=== | ||
|
||
This sample demonstrates how to configure Metrics. | ||
|
||
## Read the Code | ||
|
||
* [Overview Source](https://github.com/sensedeep/dynamodb-metrics/tree/main/samples/overview/src/index.js) | ||
|
||
## Building | ||
|
||
``` | ||
make configure | ||
make build | ||
``` | ||
|
||
## Run | ||
|
||
``` | ||
make run | ||
``` | ||
|
||
## To debug in VS CODE | ||
|
||
``` | ||
code . | ||
``` |
Oops, something went wrong.