Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump version to 1.3.0 #501

Merged
merged 2 commits into from
Apr 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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