Skip to content

Commit cbcb0e9

Browse files
committed
linting fix
1 parent 694980a commit cbcb0e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

aws-distro-opentelemetry-node-autoinstrumentation/src/exporter/otlp/aws/logs/otlp-aws-log-exporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class OTLPAwsLogExporter extends OTLPProtoLogExporter {
6565
}
6666

6767
const shouldCompress = this.compression && this.compression !== CompressionAlgorithm.NONE;
68-
68+
6969
if (shouldCompress) {
7070
serializedLogs = gzipSync(serializedLogs);
7171
}

aws-distro-opentelemetry-node-autoinstrumentation/src/exporter/otlp/aws/traces/otlp-aws-span-exporter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ export class OTLPAwsSpanExporter extends OTLPProtoTraceExporter {
4444
}
4545

4646
/**
47-
* Overrides the upstream implementation of export.
48-
* All behaviors are the same except if the endpoint is an XRay OTLP endpoint, we will sign the request with SigV4
47+
* Overrides the upstream implementation of export.
48+
* All behaviors are the same except if the endpoint is an XRay OTLP endpoint, we will sign the request with SigV4
4949
* in headers before sending it to the endpoint.
5050
* To prevent performance degradation from serializing and compressing data twice, we handle serialization and compression
5151
* locally in this exporter and pass the pre-processed data to the upstream export functionality.
@@ -62,7 +62,7 @@ export class OTLPAwsSpanExporter extends OTLPProtoTraceExporter {
6262
}
6363

6464
const shouldCompress = this.compression && this.compression !== CompressionAlgorithm.NONE;
65-
65+
6666
if (shouldCompress) {
6767
serializedSpans = gzipSync(serializedSpans);
6868
}

0 commit comments

Comments
 (0)