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

ApplicationInsights Version 3.0 Release #1307

Closed
wants to merge 123 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
ea3fa66
Beta version release with AAD support (#765)
hectorhdzg Jun 2, 2021
c897a7a
Adding support for temporary redirect in beta (#772)
hectorhdzg Jun 9, 2021
7e7f74a
2.1.0-beta.1 release (#773)
hectorhdzg Jun 9, 2021
089061b
Negative preaggregated metrics fix in beta (#781)
hectorhdzg Jun 16, 2021
9258636
Merging 2.1.6 code with beta branch (#828)
hectorhdzg Aug 26, 2021
d2a9ffb
Initial commit
hectorhdzg Dec 8, 2021
7d59254
Removing old functionality that would be replaced by OpenTelemetry (#…
hectorhdzg Dec 14, 2021
8178ee9
Merge branch 'develop' into preview
hectorhdzg Feb 4, 2022
482da13
SKU cleanup (#909)
hectorhdzg Feb 8, 2022
bcd7fd5
[Preview] Adding handlers and exporters for metrics/logs (#944)
hectorhdzg Apr 28, 2022
63a46cd
Enabling tests in preview branch (#964)
hectorhdzg May 6, 2022
7e4aeb7
[Preview] Automatic tracking of HTTP through OpenTelemetry (#969)
hectorhdzg May 18, 2022
299d004
Adding tests for LogHandler and MetricHandler (#971)
hectorhdzg May 31, 2022
5b20570
Adding DB isntrumentations (#977)
hectorhdzg Jun 9, 2022
44420a9
[Preview] Use Resource instead of Context (#976)
hectorhdzg Jun 10, 2022
335046e
Add Application Insights Sampler (#980)
hectorhdzg Jun 13, 2022
cbf3403
[Preview] Add correlation in logs (#981)
hectorhdzg Jun 15, 2022
a97c213
[Preview] Integrating with OpenTelemetry Metrics (#989)
hectorhdzg Jul 20, 2022
3924960
[Preview] Integrate with OpenTelemetry logger (#994)
hectorhdzg Jul 22, 2022
d48b384
WIP
hectorhdzg Jul 22, 2022
5ccca3b
WIP
hectorhdzg Jul 22, 2022
2ec2b3d
Merge branch 'preview' of https://github.com/microsoft/ApplicationIns…
hectorhdzg Aug 15, 2022
2b9e855
[Preview] Adding support for Standard Metrics (#1002)
hectorhdzg Aug 17, 2022
a5c0e2c
[Preview] Refactor Metric handlers (#1004)
hectorhdzg Sep 16, 2022
44f558c
[Preview] Remove unused configs, add default values (#1014)
hectorhdzg Sep 26, 2022
8e332f5
Add custom metrics functionality (#1015)
hectorhdzg Oct 4, 2022
9560433
[Preview] Update Native Metrics Configuration (#1018)
hectorhdzg Oct 11, 2022
32d0b30
[Preview] Allow configuration of instrumentations (#1019)
hectorhdzg Oct 13, 2022
3dbae56
[Preview] Standard Metrics Updates (#1021)
hectorhdzg Oct 24, 2022
26e5ba2
Use ApplicationInsightsSampler from Exporter package (#1025)
hectorhdzg Oct 24, 2022
7579f61
[Preview] Code refactoring and config update (#1029)
hectorhdzg Nov 8, 2022
e4f53cc
[Preview] Update preview documentation (#1028)
hectorhdzg Nov 9, 2022
baecc2c
Merge remote-tracking branch 'origin/preview' into beta
hectorhdzg Nov 9, 2022
3dd6670
Linting and format updates (#1032)
hectorhdzg Nov 10, 2022
5375a15
Remove unsupported tags (#1036)
hectorhdzg Nov 14, 2022
0634c59
[Beta] Add support for auto correlation in Azure Functions (#1045)
hectorhdzg Dec 13, 2022
dbd5809
[Beta] Add Azure Agent (#1062)
hectorhdzg Jan 25, 2023
b79c3c8
[Beta] Send Feature/Implementation Statsbeat and Refactor LogsExporte…
JacksonWeber Feb 3, 2023
56fa67e
[Beta] Updating Azure Function Hook logic (#1071)
hectorhdzg Feb 7, 2023
23e9b78
[Beta] Fix issue with double enablement for instrumentations (#1073)
hectorhdzg Feb 8, 2023
08fd4bf
[Beta] Add default ignoreOutgoingRequestHook for HTTP instrumentation…
hectorhdzg Feb 9, 2023
fb6da55
[Beta] 3.0.0-beta.1 release (#1074)
hectorhdzg Feb 9, 2023
c4fc775
[Beta] Do not flush undefined metricHandlers (#1086)
altinokdarici Feb 27, 2023
04a660b
[Beta] Fix code snippet for resources in readme (#1084)
hectorhdzg Feb 27, 2023
97d7fe7
[Beta] Agent updates (#1088)
hectorhdzg Feb 28, 2023
169e565
Allow custom Resource to be passed in configuration (#1090)
hectorhdzg Mar 1, 2023
dbeadc8
[Beta] Adding `suppressOverrideMessage` parameter to `updateLogLevel`…
altinokdarici Mar 1, 2023
8c2f586
Fix typos (#1095)
mderriey Mar 1, 2023
d8a95a7
3.0.0-beta.2 release (#1092)
hectorhdzg Mar 1, 2023
4758c8e
[Beta] Refactoring of Metric handler for more complete data (#1080)
hectorhdzg Mar 3, 2023
c86b6ce
[Beta] Rename samplingRate to samplingRatio (#1099)
hectorhdzg Mar 7, 2023
45efbdc
Change default logging level to warning (#1098)
hectorhdzg Mar 7, 2023
bf03309
Add Log handler sampling (#1100)
hectorhdzg Mar 7, 2023
68c72c9
[Beta] Updating Heartbeat (#1103)
hectorhdzg Mar 10, 2023
55e5ad4
[Beta] Add spanProccesor in TraceHandler (#1105)
hectorhdzg Mar 10, 2023
cfc709e
3.0.0-beta.3 release (#1106)
hectorhdzg Mar 10, 2023
75b2a53
Fix unhandled exception for LogHandler (#1114)
hectorhdzg Mar 24, 2023
0bbe5aa
3.0.0-beta.4 release (#1115)
hectorhdzg Mar 27, 2023
4c31023
[Beta] Add prefix to Agent (#1117)
hectorhdzg Apr 17, 2023
164fb24
[Beta] Dependencies update (#1129)
hectorhdzg Apr 26, 2023
84cb54a
[Beta] Update beta APIs (#1133)
hectorhdzg May 5, 2023
130e58f
Removing Native Metrics functionality (#1138)
hectorhdzg May 5, 2023
ae42bd3
[Beta] Align with SDK versions used by all telemetry (#1137)
hectorhdzg May 6, 2023
9366b54
3.0.0-beta.5 release (#1136)
hectorhdzg May 6, 2023
a5ea0d1
Add empty start to avoid build issues (#1139)
hectorhdzg May 6, 2023
a005c28
Fix issue with sdk version format (#1140)
hectorhdzg May 8, 2023
08648d9
Add other exportes example (#1141)
hectorhdzg May 8, 2023
2a9d9ee
Read Resource attributes from env (#1146)
hectorhdzg May 18, 2023
1282707
Add OTLP Exporters (#1151)
hectorhdzg May 23, 2023
ff39d83
ApplicationInsights Shim - Config Setup (#1152)
JacksonWeber Jun 2, 2023
9d073e5
[Beta] Adding OpenTelemetry Logs SDK (#1150)
hectorhdzg Jun 9, 2023
8bffdcb
Update default cloud role name and instance ID (#1159)
hectorhdzg Jun 9, 2023
b074d73
[Beta] Fix issues with config merging overriding not specified values…
hectorhdzg Jun 13, 2023
13de614
Update dependencies (#1163)
hectorhdzg Jun 15, 2023
2700705
beta release 6 (#1158)
JacksonWeber Jun 15, 2023
aa2c706
[Beta] Consume @azure/monitor-opentelemetry (#1167)
hectorhdzg Jul 10, 2023
f2979ab
[Beta] Removing OTLP Exporters (#1172)
hectorhdzg Jul 14, 2023
b35a1a3
3.0.0-beta.7 release (#1173)
hectorhdzg Jul 14, 2023
aaf0773
[Beta] Shim: Context Correlation (#1161)
JacksonWeber Aug 1, 2023
fac6651
[Shim] Add Auto-Collection Methods, TelemetryClient, and Config (#1175)
JacksonWeber Aug 14, 2023
e65d9b8
Files restructure (#1187)
hectorhdzg Aug 15, 2023
95f0ec0
[Shim] Fully Support JSON Configuration (#1183)
JacksonWeber Aug 21, 2023
da65696
[Beta] Consume latest Azure Monitor OpenTelemetry (#1194)
hectorhdzg Aug 29, 2023
2366f0a
[Beta] Add OTLP Exporters and Perf Counters (#1197)
hectorhdzg Aug 29, 2023
de99a9f
[Shim] Add Support for Context.tags (#1193)
JacksonWeber Aug 30, 2023
40047ca
[Beta] Shadow Azure Monitor OpenTelemetry Distro (#1201)
hectorhdzg Sep 5, 2023
fe2a514
3.0.0-beta.8 release
hectorhdzg Sep 5, 2023
1e94c8a
Revert "3.0.0-beta.8 release"
hectorhdzg Sep 5, 2023
c5c9705
[Beta] 3.0.0 beta.8 release (#1202)
hectorhdzg Sep 5, 2023
6805edd
[Shim] Add Active Span Generation (#1198)
JacksonWeber Sep 8, 2023
4f792ac
[Shim] Fix JSON Config (#1203)
JacksonWeber Sep 15, 2023
d4dea7b
[Beta] Use @azure/monitor-opentelemetry (#1208)
hectorhdzg Sep 18, 2023
7388fb0
Stringify objects when building a `LogRecord` (#1206)
mderriey Sep 19, 2023
9a83c59
Update the README with Shim Info (#1210)
JacksonWeber Sep 20, 2023
a610c14
[Beta] Rename Options interface to AzureMonitorOpenTelemetryOptions (…
hectorhdzg Sep 20, 2023
ccee504
[Beta] 3.0.0 beta.9 release (#1212)
JacksonWeber Sep 21, 2023
105a431
[Shim] Resolve Shim TODOs and Add Global App Insights Tests (#1211)
JacksonWeber Oct 4, 2023
04c6d9f
[Beta] Increase Testing Code Coverage (#1221)
JacksonWeber Oct 6, 2023
fe282c0
Add env check to initialize OTLP Metrics in AKS (#1223)
hectorhdzg Oct 6, 2023
83ca684
[Beta] Fix issue with request perf counters not being calculated corr…
hectorhdzg Oct 13, 2023
48c022c
[Beta] Removed duplicate types (#1227)
hectorhdzg Oct 13, 2023
9d1df44
[Beta] 3.0.0 beta.10 release (#1225)
JacksonWeber Oct 13, 2023
e81709a
Fix linux sdk already logic. (#1236)
JacksonWeber Oct 27, 2023
840d33a
Add serialization for errors. (#1248)
JacksonWeber Nov 27, 2023
5bb25e5
Browser SDK Loader Shim Support Update (#1254)
JacksonWeber Jan 5, 2024
14e8fb8
Use OpenTelemetry diag API (#1256)
hectorhdzg Jan 10, 2024
a5f2305
[Shim/Beta] Extend Shim to Support New Distro Features (#1262)
JacksonWeber Jan 25, 2024
4c8ffd6
[Beta] 3.0.0 beta.11 release (#1263)
JacksonWeber Jan 26, 2024
43c6d59
Updaate beta doc examples. (#1264)
JacksonWeber Jan 26, 2024
2ad3cf4
Update Node.js runtime check in Agent (#1266)
hectorhdzg Feb 1, 2024
7a14f6d
[Beta] Detect Distro Already Loaded in Agent (#1268)
JacksonWeber Feb 1, 2024
305a4d7
Update types in the docs and export from index. (#1270)
JacksonWeber Feb 1, 2024
b07288d
[Beta] Auto collection of logs aligning to OpenTelemetry (#1272)
hectorhdzg Feb 5, 2024
16c7dfa
[Beta] Add Note Regarding Our Support for Node Versions (#1275)
JacksonWeber Feb 7, 2024
4d97211
[Beta] Update Prefix Version in Auto-Attach Scenarios (#1271)
JacksonWeber Feb 15, 2024
b99d62d
[Beta] Fix Auto Exception Collection (#1282)
JacksonWeber Mar 3, 2024
a90e354
[Beta] Update Warning Tests and Add Console Logging by Default (#1292)
JacksonWeber Mar 8, 2024
2d8c42f
Update agent gackoff logic (#1296)
hectorhdzg Mar 13, 2024
e0528d3
[Beta] Update Support Status of Native Metrics & Env Vars (#1298)
JacksonWeber Mar 21, 2024
ac65ee3
[Beta] Clean Up Shim Files & Fix Check for Extended Metrics Env Var (…
JacksonWeber Mar 22, 2024
dadcd3a
[Beta] 3.0.0 beta.12 release (#1279)
JacksonWeber Mar 22, 2024
fae2d2e
[Beta] Add Shim Performance Testing (#1302)
JacksonWeber Apr 1, 2024
c42914c
[Beta] Update Unsupported Messages & Remove Deprecated SemAttrs (#1306)
JacksonWeber Apr 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/*.js
/out
/test
45 changes: 45 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": [
"error",
{
"allowDeclarations": true
}
],
"@typescript-eslint/no-non-null-assertion": "off",
"arrow-body-style": [
"error",
"as-needed"
],
"curly": "error",
"eqeqeq": "error",
"no-duplicate-imports": "error",
"no-else-return": "error",
"no-multi-spaces": "error",
"no-redeclare": "error",
"no-useless-escape": "off",
"prefer-template": "error"
}
}
6 changes: 3 additions & 3 deletions .github/workflows/backcompat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Back Compatibility CI

on:
push:
branches: [ develop, master ]
branches: [ develop ]
pull_request:
branches: [ develop, master ]
branches: [ develop ]

jobs:
backcompat:
Expand All @@ -21,5 +21,5 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm i
- run: npm run backcompattest
10 changes: 6 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Integration Tests CI

on:
push:
branches: [ develop, master ]
branches: [ develop, beta ]
pull_request:
branches: [ develop, master ]
branches: [ develop, beta ]

jobs:
integration:
Expand All @@ -13,13 +13,15 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x]
# TODO: Enable Node 14.x when we update the pipeline to support AbortController
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- run: openssl req -x509 -nodes -newkey rsa -keyout ./test/certs/server-key.pem -out ./test/certs/server-cert.pem -days 1 -subj "/C=CL/ST=RM/L=OpenTelemetryTest/O=Root/OU=Test/CN=ca"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm i
- run: npm run functionaltest
14 changes: 9 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Node.js CI

on:
push:
branches: [ develop, master ]
branches: [ develop, beta ]
pull_request:
branches: [ develop, master ]
branches: [ develop, beta ]

jobs:
build:
Expand All @@ -14,14 +14,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [8.x, 10.x, 12.x, 14.x]
# TODO: Enable Node 14.x when we update the pipeline to support AbortController
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2
- run: openssl req -x509 -nodes -newkey rsa -keyout ./test/certs/server-key.pem -out ./test/certs/server-cert.pem -days 1 -subj "/C=CL/ST=RM/L=OpenTelemetryTest/O=Root/OU=Test/CN=ca"
- name: (${{ matrix.os }}) on Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run clean
- run: npm i
- run: npm run build --if-present
- run: npm test
- run: npm run lint
- run: npm test
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm i
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
20 changes: 14 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ obj/

# Ignore Node files
node_modules/**
Tests/BackCompatibility/OldTSC/node_modules/**
Tests/BackCompatibility/Node10Types/node_modules/**
Tests/FunctionalTests/Runner/node_modules/**
Tests/FunctionalTests/TestApp/node_modules/**
Tests/FunctionalTests/Runner/package-lock.json
Tests/FunctionalTests/TestApp/package-lock.json
test/backCompatibility/oldTSC/node_modules/**
test/backCompatibility/node10Types/node_modules/**
test/functionalTests/runner/node_modules/**
test/functionalTests/testApp/node_modules/**
test/functionalTests/runner/package-lock.json
test/functionalTests/testApp/package-lock.json

# Ignore Visual Studio files
*.suo
Expand All @@ -32,3 +32,11 @@ Tests/FunctionalTests/TestApp/package-lock.json
# Ignore log files
npm-debug.log
undefined/temp/appInsights-node/applicationinsights.log


.nyc_output/*
test/certs/server-key.pem
# Ignore folder created during test runs
undefined/*
node_modules
dist-esm
7 changes: 5 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ obj
.vscode/
.github

.nyc_output

# Ignore test files
Tests
test

# Don't publish source files that aren't needed in package
*.ts
Expand All @@ -19,7 +21,8 @@ Tests
.travis.yml
.ntvs_analysis.dat

/Declarations

/declarations

Schema

Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/src/declarations/generated/
**/*.d.ts
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 100,
"semi": true,
"singleQuote": false,
"tabWidth": 4
}
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

76 changes: 0 additions & 76 deletions AutoCollection/AsyncHooksScopeManager.ts

This file was deleted.

42 changes: 0 additions & 42 deletions AutoCollection/Console.ts

This file was deleted.