Snyk has created this PR to upgrade @opentelemetry/sdk-node from 0.51.0 to 0.51.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **1 version** ahead of your current version.
- The recommended version was released on **a month ago**.
Release notes Package name: @opentelemetry/sdk-node
feat(sdk-node)!: remove long deprecated methods in favor of constructor options #4606@ pichlermarc
NodeSDK.configureTracerProvider(), please use constructor options instead
NodeSDK.configureMeterProvider(), please use constructor options instead
NodeSDK.configureLoggerProvider(), please use constructor options instead
NodeSDK.addResource(), please use constructor options instead
NodeSDK.detectResources(), this is not necessary anymore, resources are now auto-detected on NodeSDK.start() if the constructor option autoDetectResources is unset, undefined or true.
feat(instrumentation): add patch and unpatch diag log messages #4641
Instrumentations should not log patch and unpatch messages to diag channel.
feat!(instrumentation): remove moduleExports generic type from instrumentation registration #4598@ blumamir
breaking for instrumentation authors that depend on
InstrumentationBase
InstrumentationNodeModuleDefinition
InstrumentationNodeModuleFile
๐ (Enhancement)
refactor(instrumentation-grpc): move to use SEMATTRS #4633
feat(otlp-transformer): consolidate scope/resource creation in transformer #4600
feat(sdk-logs): print message when attributes are dropped due to attribute count limit #4614@ HyunnoH
feat(sdk-node): add usage for the detector ServiceInstanceIdDetectorSync. #4626@ maryliag
The resource detector can be added to default resource detector list by adding the value serviceinstance to the list of resource detectors on the environment variable OTEL_NODE_RESOURCE_DETECTORS, e.g OTEL_NODE_RESOURCE_DETECTORS=env,host,os,serviceinstance
The value can be overwritten by
merging a resource containing the service.instance.id attribute
using another resource detector which writes service.instance.id
๐ (Bug Fix)
fix(otlp-grpc-exporter-base): avoid TypeError on exporter shutdown #4612@ pichlermarc
fix(instrumentation): Don't use require to load package.json files #4593@ timfish
from @opentelemetry/sdk-node GitHub release notes
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with your project.
> - This PR was automatically created by Snyk using the credentials of a real user.
---
**Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs._
**For more information:**
> - ๐ง [View latest project report](https://app.snyk.io/org/p0nder0sa/project/60ffc669-57aa-416f-923d-9c5e8c2c64de?utm_source=github&utm_medium=referral&page=upgrade-pr)
> - ๐ [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates)
> - ๐ [Adjust upgrade PR settings](https://app.snyk.io/org/p0nder0sa/project/60ffc669-57aa-416f-923d-9c5e8c2c64de/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
> - ๐ [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/p0nder0sa/project/60ffc669-57aa-416f-923d-9c5e8c2c64de/settings/integration?pkg=&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @opentelemetry/sdk-node from 0.51.0 to 0.51.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.- The recommended version is **1 version** ahead of your current version. - The recommended version was released on **a month ago**.
Release notes
Package name: @opentelemetry/sdk-node
0.51.1
๐ (Bug Fix)
0.51.0
๐ฅ Breaking Change
NodeSDK.configureTracerProvider()
, please use constructor options insteadNodeSDK.configureMeterProvider()
, please use constructor options insteadNodeSDK.configureLoggerProvider()
, please use constructor options insteadNodeSDK.addResource()
, please use constructor options insteadNodeSDK.detectResources()
, this is not necessary anymore, resources are now auto-detected onNodeSDK.start()
if the constructor optionautoDetectResources
is unset,undefined
ortrue
.InstrumentationBase
InstrumentationNodeModuleDefinition
InstrumentationNodeModuleFile
๐ (Enhancement)
serviceinstance
to the list of resource detectors on the environment variableOTEL_NODE_RESOURCE_DETECTORS
, e.gOTEL_NODE_RESOURCE_DETECTORS=env,host,os,serviceinstance
service.instance.id
attributeservice.instance.id
๐ (Bug Fix)
require
to loadpackage.json
files #4593 @ timfish