Skip to content

Commit

Permalink
Merge pull request #2 from coreylight/docs
Browse files Browse the repository at this point in the history
Docs  + iopipe dep
  • Loading branch information
pselle authored Aug 9, 2017
2 parents b19e7d9 + dfd9d4b commit 80be5c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ exports.handler = iopipe((event, context) => {

```js
// create the start mark
// the string argument is a name you are assigning the particular trace
context.iopipe.mark.start('db');

// create the end mark
// pass the name of the trace that you want to end
context.iopipe.mark.end('db');

// create an custom measurement between start:init and end:db
Expand Down
15 changes: 4 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
"type": "git",
"url": "git+https://github.com/iopipe/iopipe-plugin-trace.git"
},
"files": [
"dist/"
],
"files": ["dist/"],
"keywords": [
"serverless",
"analytics",
Expand All @@ -44,22 +42,17 @@
"eslint-plugin-jasmine": "^2.5.0",
"eslint-plugin-jest": "^20.0.3",
"eslint-plugin-prettier": "^2.1.2",
"iopipe": "^0.8.0",
"jest": "^20.0.4",
"lodash": "^4.17.4",
"pre-commit": "^1.2.2",
"prettier": "^1.5.2"
},
"dependencies": {
"iopipe": "^0.8.0",
"performance-node": "^0.2.0"
},
"pre-commit": [
"test"
],
"pre-commit": ["test"],
"jest": {
"coveragePathIgnorePatterns": [
"/node_modules/",
"dist"
]
"coveragePathIgnorePatterns": ["/node_modules/", "dist"]
}
}

0 comments on commit 80be5c6

Please sign in to comment.