From d948f511f010411167b133d76e1a85ad11cb625a Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Thu, 21 Nov 2019 00:01:04 +0100 Subject: [PATCH] fix: typos in comments (#555) --- packages/opentelemetry-core/test/context/B3Format.test.ts | 2 +- packages/opentelemetry-exporter-prometheus/src/export/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opentelemetry-core/test/context/B3Format.test.ts b/packages/opentelemetry-core/test/context/B3Format.test.ts index cc1113e93c5..b5d2b530d3f 100644 --- a/packages/opentelemetry-core/test/context/B3Format.test.ts +++ b/packages/opentelemetry-core/test/context/B3Format.test.ts @@ -77,7 +77,7 @@ describe('B3Format', () => { assert.deepStrictEqual(carrier[X_B3_SPAN_ID], undefined); }); - it('should handle absense of sampling decision', () => { + it('should handle absence of sampling decision', () => { const spanContext: SpanContext = { traceId: 'd4cda95b652f4a1592b449d5929fda1b', spanId: '6e0c63257de34c92', diff --git a/packages/opentelemetry-exporter-prometheus/src/export/types.ts b/packages/opentelemetry-exporter-prometheus/src/export/types.ts index 69ac40cb132..aa8de5ac6f6 100644 --- a/packages/opentelemetry-exporter-prometheus/src/export/types.ts +++ b/packages/opentelemetry-exporter-prometheus/src/export/types.ts @@ -28,7 +28,7 @@ export interface ExporterConfig { prefix?: string; /** - * Endpoint the metrics should be exposed at with preceeding slash + * Endpoint the metrics should be exposed at with preceding slash * @default '/metrics' */ endpoint?: string;