diff --git a/core/src/util/tracing/context.ts b/core/src/util/tracing/context.ts index 96b6a483c86..9e2d763a874 100644 --- a/core/src/util/tracing/context.ts +++ b/core/src/util/tracing/context.ts @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2018-2023 Garden Technologies, Inc. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + import * as opentelemetry from "@opentelemetry/sdk-node" const SESSION_ID_CONTEXT_KEY = opentelemetry.api.createContextKey("sessionIdContext") diff --git a/core/src/util/tracing/decorators.ts b/core/src/util/tracing/decorators.ts index da396367b6a..fb0188e3708 100644 --- a/core/src/util/tracing/decorators.ts +++ b/core/src/util/tracing/decorators.ts @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2018-2023 Garden Technologies, Inc. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + import * as opentelemetry from "@opentelemetry/sdk-node" import { tracer } from "./tracing" import { getSessionContext } from "./context" diff --git a/core/src/util/tracing/propagation.ts b/core/src/util/tracing/propagation.ts index f7eaa1cd732..fc786dac568 100644 --- a/core/src/util/tracing/propagation.ts +++ b/core/src/util/tracing/propagation.ts @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2018-2023 Garden Technologies, Inc. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + import * as opentelemetry from "@opentelemetry/sdk-node" import env from "env-var" import { getActiveContext } from "./context" diff --git a/core/src/util/tracing/spans.ts b/core/src/util/tracing/spans.ts index 999ebb32c14..166a7918bbc 100644 --- a/core/src/util/tracing/spans.ts +++ b/core/src/util/tracing/spans.ts @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2018-2023 Garden Technologies, Inc. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + import * as opentelemetry from "@opentelemetry/sdk-node" import { tracer } from "./tracing" import { getSessionContext } from "./context" diff --git a/core/src/util/tracing/tracing.ts b/core/src/util/tracing/tracing.ts index fd4e5ff5b50..e225c48612e 100644 --- a/core/src/util/tracing/tracing.ts +++ b/core/src/util/tracing/tracing.ts @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2018-2023 Garden Technologies, Inc. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + import * as opentelemetry from "@opentelemetry/sdk-node" import { HttpInstrumentation } from "@opentelemetry/instrumentation-http" import { gardenEnv } from "../../constants" diff --git a/core/src/util/tracing/util.ts b/core/src/util/tracing/util.ts index 7bb5c51680d..dd4a43d0e6c 100644 --- a/core/src/util/tracing/util.ts +++ b/core/src/util/tracing/util.ts @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2018-2023 Garden Technologies, Inc. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + import * as opentelemetry from "@opentelemetry/sdk-node" export function prefixWithGardenNamespace(data: opentelemetry.api.Attributes): opentelemetry.api.Attributes {