Skip to content

Commit caeb58e

Browse files
committed
Add license
1 parent 05b7508 commit caeb58e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

packages/remix/src/vendor/instrumentation.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
/* eslint-disable deprecation/deprecation */
22
/* eslint-disable max-lines */
33
/* eslint-disable jsdoc/require-jsdoc */
4+
5+
// Vendored and modified from:
6+
// https://github.com/justindsmith/opentelemetry-instrumentations-js/blob/3b1e8c3e566e5cc3389e9c28cafce6a5ebb39600/packages/instrumentation-remix/src/instrumentation.ts
7+
8+
/*
9+
* Copyright Justin Smith
10+
*
11+
* Licensed under the Apache License, Version 2.0 (the "License");
12+
* you may not use this file except in compliance with the License.
13+
* You may obtain a copy of the License at
14+
*
15+
* https://www.apache.org/licenses/LICENSE-2.0
16+
*
17+
* Unless required by applicable law or agreed to in writing, software
18+
* distributed under the License is distributed on an "AS IS" BASIS,
19+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20+
* See the License for the specific language governing permissions and
21+
* limitations under the License.
22+
*/
23+
424
import type { Span } from '@opentelemetry/api';
525
import opentelemetry, { SpanStatusCode } from '@opentelemetry/api';
626
import type { InstrumentationConfig } from '@opentelemetry/instrumentation';

0 commit comments

Comments
 (0)