@opentelemetry/instrumentation-aws-lambda
Advanced tools
Comparing version 0.41.0 to 0.41.1
@@ -6,6 +6,6 @@ import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
export declare class AwsLambdaInstrumentation extends InstrumentationBase { | ||
protected _config: AwsLambdaInstrumentationConfig; | ||
private _traceForceFlusher?; | ||
private _metricForceFlusher?; | ||
constructor(_config?: AwsLambdaInstrumentationConfig); | ||
protected _config: AwsLambdaInstrumentationConfig; | ||
constructor(config?: AwsLambdaInstrumentationConfig); | ||
setConfig(config?: AwsLambdaInstrumentationConfig): void; | ||
@@ -12,0 +12,0 @@ init(): InstrumentationNodeModuleDefinition[]; |
@@ -38,5 +38,4 @@ "use strict"; | ||
class AwsLambdaInstrumentation extends instrumentation_1.InstrumentationBase { | ||
constructor(_config = {}) { | ||
super('@opentelemetry/instrumentation-aws-lambda', version_1.VERSION, _config); | ||
this._config = _config; | ||
constructor(config = {}) { | ||
super('@opentelemetry/instrumentation-aws-lambda', version_1.VERSION, config); | ||
if (this._config.disableAwsContextPropagation == null) { | ||
@@ -43,0 +42,0 @@ if (typeof process_1.env['OTEL_LAMBDA_DISABLE_AWS_CONTEXT_PROPAGATION'] === |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.41.0"; | ||
export declare const VERSION = "0.41.1"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.41.0'; | ||
exports.VERSION = '0.41.1'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-aws-lambda", | ||
"version": "0.41.0", | ||
"version": "0.41.1", | ||
"description": "OpenTelemetry AWS Lambda automatic instrumentation package.", | ||
@@ -62,7 +62,7 @@ "main": "build/src/index.js", | ||
"@opentelemetry/resources": "^1.8.0", | ||
"@opentelemetry/semantic-conventions": "^1.0.0", | ||
"@opentelemetry/semantic-conventions": "^1.22.0", | ||
"@types/aws-lambda": "8.10.122" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-aws-lambda#readme", | ||
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973" | ||
"gitHead": "54365a9aafaca6555e13f1276945d6f869d103da" | ||
} |
@@ -85,2 +85,14 @@ # OpenTelemetry AWS Lambda Instrumentation for Node.js | ||
## Semantic Conventions | ||
This package uses `@opentelemetry/semantic-conventions` version `1.22+`, which implements Semantic Convention [Version 1.7.0](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/semantic_conventions/README.md) | ||
Attributes collected: | ||
| Attribute | Short Description | | ||
| ------------------ | ------------------------------------------------------------------------- | | ||
| `cloud.account.id` | The cloud account ID the resource is assigned to. | | ||
| `faas.execution` | The execution ID of the current function execution. | | ||
| `faas.id` | The unique ID of the single function that this runtime instance executes. | | ||
## Useful links | ||
@@ -87,0 +99,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66663
112
406