Граф коммитов

931 Коммитов

Автор SHA1 Сообщение Дата
Jackson Weber 2b686622a0
2.9.5 release (#1290) 2024-03-01 12:29:18 -08:00
Jackson Weber a3520293c1
Update the backoff logic. (#1293) 2024-02-29 19:57:12 -08:00
Jackson Weber 4d8d07e38a
Update How Manual Attach is Checked (#1286)
* Update how manual attach is checked.

* Update Default.ts
2024-02-27 14:52:14 -08:00
Jackson Weber 1b53f5a51d
Handle errors thrown by cls.exit failing an assert. (#1289) 2024-02-26 15:38:45 -08:00
Jackson Weber 055355ccf2
Fix SDK already exists detection. (#1284) 2024-02-26 09:18:13 -08:00
Jackson Weber d0330d71b6
Fix SDK Version Set in the Agent (#1283)
* Update how we set sdk version in the agent and update tests.

* Update Context.tests.ts
2024-02-21 14:04:20 -08:00
Jackson Weber 2284859073
Release 2.9.4 (#1281) 2024-02-16 11:25:12 -08:00
Jackson Weber 561b23fcb7
Revert changes. (#1280) 2024-02-16 11:14:13 -08:00
Jackson Weber 3882ee919e
Release 2.9.3 (#1277) 2024-02-15 15:05:46 -08:00
Jackson Weber 93302457f9
Update prefix and tests. (#1278) 2024-02-15 12:09:25 -08:00
Jackson Weber ab2b4a1bf4
Update Statsbeat Network Metric Names (#1276)
* Update statsbeat values to be consistent with the exporter.

* Update statsbeat tests.
2024-02-15 11:26:02 -08:00
Jackson Weber 9603259997
Add Exception Handling to File Name for Telemetry Caching (#1267)
* Add process ID to created file name for logs caching.

* Test

* Update file cleanup to only clean files linked to the PID.

* Update EndToEnd.tests.ts

* Update error handling in the file system helper.

* Update FileSystemHelper.ts

* Address PR comments.

* Remove PID.

* Update EndToEnd.tests.ts
2024-02-02 15:06:49 -08:00
Max Kayander b952bcf7c0
Fix error when `_shutdownStatsbeat` gets called while being undefined (#1259) 2024-01-10 16:29:56 -08:00
Hector Hernandez 9c10cd3844
2.9.2 release (#1257) 2024-01-08 16:00:00 -08:00
Jackson Weber 31d2774b33
Update Web Snippet to Browser SDK Loader (#1253)
* Update Web Snippet enum.

* Remove web snippet.
2024-01-05 10:35:48 -08:00
Jackson Weber beb1232c23
Update statsbeat attach type values to match spec. (#1252) 2024-01-03 09:55:35 -08:00
Jackson Weber c949fffcef
Add New Features to Statsbeat (#1250)
* Add new features to statsbeat.

* Clean up native metrics statsbeat logic and add tests.

* Update NativePerformance.tests.ts

* Update NativePerformance.tests.ts

* Ensure that undefined client/statsbeat will not error out.

* Update statsbeat value for native metrics.

* Update JsonConfig tests as overloaded readFileSync method is not attaching spy correctly.
2024-01-02 13:18:03 -08:00
Marko Schulz 14ffa2da65
Minimal fix for #1226 (#1241)
A minimal fix for trying to load the default configuration during
runtime which only exists in the source code. That loading previously
failed when the code is bundled. So now the default configuration is
already loaded when bundling the code.

Co-authored-by: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com>
2023-12-13 14:21:29 -08:00
Karlie-777 149d0ba73a
remove preview tag (#1244) 2023-11-15 10:26:27 -08:00
Jackson Weber 2b142c898c
Add check for invalid iKey and tests. (#1243) 2023-11-15 10:04:55 -08:00
Hector Hernandez 0217324c47
2.9.1 release (#1239) 2023-11-09 14:36:12 -08:00
Hector Hernandez cc5c36a316
Fix issue with Live Metrics enablement (#1238) 2023-11-08 13:40:58 -08:00
Hector Hernandez f250ff857f
Add AKS resource provider in Statsbeat (#1237) 2023-11-08 09:48:50 -08:00
Jackson Weber 892bbb173a
Fix SDK Already Exists Check for Linux (#1235)
* Handle Linux environments when checking if the agent attached already.

* Update package-lock.json
2023-10-27 13:29:26 -07:00
Jackson Weber 11c70daa20
2.9.0 release (#1224)
* 2.9.0 release

* Update package-lock.json

* Update package-lock.json
2023-10-09 14:36:09 -07:00
Hector Hernandez 1a2afb5441
Check for defaultClient to be present to avoid undefined errors (#1219)
* Check for defaultClient to be present to avoid undefined errors

* Update
2023-10-09 09:35:43 -07:00
Hector Hernandez 3825c8539b
Add support for aadAudience configuration using Connection String (#1220) 2023-10-04 13:36:00 -07:00
Hector Hernandez c17860c37d
2.8.0 release (#1215)
* 2.8.0 release

* Update

* Ensure live metrics client is available

* Revert

* Force update
2023-09-26 17:35:04 -07:00
Hector Hernandez f7da6637a1
Fix issue with Live Metrics Initialization (#1216) 2023-09-26 17:10:18 -07:00
Hector a8d2d7e8a1 Revert "Fix issue with live metrics initialization"
This reverts commit c018ab8458.
2023-09-26 16:16:28 -07:00
Hector c018ab8458 Fix issue with live metrics initialization 2023-09-26 16:10:34 -07:00
Hector Hernandez 86a575fa50
Fix issue with JSON config precedence (#1214) 2023-09-25 15:27:17 -07:00
Hector Hernandez 1721de1767
Add env variables to control logging level (#1213) 2023-09-25 12:17:34 -07:00
Apokalypt aaafbfd8ff
Avoid request to be blocked once the "dispose" method has been called (#1196)
* fix(AutoCollectHttpRequests): Avoid to block request after "dispose" called

* ref(AutoCollectHttpRequests): Remove useless control done few lines above

---------

Co-authored-by: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com>
2023-09-06 16:29:34 -07:00
Eric Jizba 4034bb0c41
Add support for Functions programming model v4 (#1181)
Co-authored-by: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com>
2023-09-06 15:58:02 -07:00
Jackson Weber feb524140a
Decode ai_authUser URI (#1200)
* Update check and add test.

* Add unencoded authUser tests and clean up authUser cookie parsing.
2023-09-05 12:59:05 -07:00
Hector Hernandez 84d57aa156
2.7.3 release (#1189) 2023-08-15 16:37:53 -07:00
Hector Hernandez 9fbfe5f6c7
2.7.2 release (#1186) 2023-08-14 15:12:53 -07:00
Hector Hernandez ade3a461f4
Fix issue with older version of Node.js runtime (#1185)
* Fix issue with older version of Node.js runtime

* Add overrides
2023-08-14 14:56:53 -07:00
Hector Hernandez 6cc6de2b76
2.7.1 release (#1184) 2023-08-14 10:07:17 -07:00
Hector Hernandez 32fe064e96
Update dependencies with security vulnerabilities (#1179)
* Update dependencies

* npm audit fix

* Update

* Update workflows

* npm install
2023-08-14 09:54:52 -07:00
Jackson Weber a79885cfe5
Update opentelemetry-instrumentation dependency. (#1162) 2023-06-15 19:43:42 -07:00
Jackson Weber 94e77dc4bd
2.7.0 Release (#1157)
* 2.6.1

* Update package lock.

* Revert "Update package lock."

This reverts commit 21c704b2c6.

* Revert "2.6.1"

This reverts commit 6dc5c508b8.

* Update packages.

* Update version number.
2023-06-02 09:22:49 -07:00
Jackson Weber f531389858
Add Handling for Undefined Triggered Function Response (#1155)
* Add handling for undefined AzureFunctions response.

* Update AzureFunctionsHook.ts
2023-06-01 10:42:41 -07:00
Hector Hernandez 0d46eb6a5f
Add support for APPLICATIONINSIGHTS_CONFIGURATION_CONTENT (#1153) 2023-05-24 15:41:53 -07:00
Hector Hernandez 45e06c608a
2.6.0 release (#1132) 2023-04-28 14:09:48 -07:00
Jackson Weber bb9c381d56
Add enableBunyanErrAsTrace Flag to Allow Bunyan Users to Report log.error Calls as Traces (#1126)
* Add enableBunyanErrAsTrace flag and tests.

* Update readme.

* Update integration test versions.

* Update flag name, fix json config, and add to other loggers.

* Update flag name and README.
2023-04-28 13:36:04 -07:00
Hector Hernandez 3332d2cd0f
Add Azure cloudRoleName and cloudRoleInstance in all telemetry (#1125)
* Add Azure cloudRoleName and cloudRoleInstance in all telemetry

* npm i
2023-04-28 13:03:10 -07:00
Hector Hernandez defb8d53ad
Fix issue with older version of Node.js runtime (#1131)
* Fix issue with older version of Node.js runtime

* Test

* Add node 16 in integration tests

* Node 18

* Leave 12 as integration for now
2023-04-28 12:46:58 -07:00
Jackson Weber a573e40fc6
Fix Properties Serialization to be Consistent (#1119)
* Begin investigation.

* Test new values.

* Serialize dates correctly.

* Fix quote styling.

* Add subproperty test.
2023-03-31 14:33:26 -07:00