Skip to content

Commit

Permalink
bump version to 1.3.0 (#501)
Browse files Browse the repository at this point in the history
* bump version to 1.3.0

* add setSendLiveMetrics to README
  • Loading branch information
markwolff committed Apr 3, 2019
1 parent 6570c9e commit 4433089
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ appInsights.setup("<instrumentation_key>")
.setAutoCollectDependencies(true)
.setAutoCollectConsole(true)
.setUseDiskRetryCaching(true)
.setSendLiveMetrics(false)
.start();
```

Expand Down Expand Up @@ -167,6 +168,11 @@ for information about exactly which versions of these packages are patched.
The `bunyan`, `winston`, and `console` patches will generate Application Insights Trace events based on whether `setAutoCollectConsole` is enabled.
The rest will generate Application Insights Dependency events based on whether `setAutoCollectDependencies` is enabled.

### Live Metrics
>***Note:*** The ability to send to live metrics was added in version `1.3.0`.
To enable sending live metrics of your app to Azure, use `setSendLiveMetrics(true)`. Filtering of live metrics in the Portal is currently not supported.

## Track custom telemetry

You can track any request, event, metric or exception using the Application
Expand Down
2 changes: 1 addition & 1 deletion Tests/Library/Context.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe("Library/Context", () => {
it("should set internalSdkVersion to 'node:<version>'", () => {
var context = new Context();
// todo: make this less fragile (will need updating on each minor version change)
assert.equal(context.tags[context.keys.internalSdkVersion].substring(0, 9), "node:1.2.");
assert.equal(context.tags[context.keys.internalSdkVersion].substring(0, 9), "node:1.3.");
});

it("should correctly set device context", () => {
Expand Down
15 changes: 4 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "applicationinsights",
"license": "MIT",
"bugs": "https://github.com/Microsoft/ApplicationInsights-node.js/issues",
"version": "1.2.0",
"version": "1.3.0",
"description": "Microsoft Application Insights module for Node.js",
"repository": {
"type": "git",
Expand Down Expand Up @@ -48,14 +48,14 @@
"backcompattest": "npm run build && npm pack && node --use_strict ./Tests/BackCompatibility/RunBackCompatTests.js"
},
"devDependencies": {
"@types/cls-hooked": "^4.2.1",
"@types/cls-hooked": "^4.3.0",
"@types/mocha": "2.2.48",
"@types/node": "4.2.4",
"@types/sinon": "2.1.2",
"typescript": "2.4.2",
"mocha": "3.5.2",
"node-mocks-http": "1.2.3",
"sinon": "1.17.6"
"sinon": "1.17.6",
"typescript": "2.4.2"
},
"dependencies": {
"cls-hooked": "^4.2.2",
Expand Down

0 comments on commit 4433089

Please sign in to comment.