Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: eslint --fix
  • Loading branch information
rauno56 committed May 21, 2021
commit 475e0db1e8f90ae9f6536674dc04d4d441f298ce
19 changes: 17 additions & 2 deletions backwards-compatability/node10/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
import {NodeSDK, api} from '@opentelemetry/sdk-node';
import {ConsoleSpanExporter} from '@opentelemetry/tracing';
/*
* Copyright The OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { NodeSDK, api } from '@opentelemetry/sdk-node';
import { ConsoleSpanExporter } from '@opentelemetry/tracing';

const sdk = new NodeSDK({
traceExporter: new ConsoleSpanExporter(),
Expand Down
19 changes: 17 additions & 2 deletions backwards-compatability/node12/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
import {NodeSDK, api} from '@opentelemetry/sdk-node';
import {ConsoleSpanExporter} from '@opentelemetry/tracing';
/*
* Copyright The OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { NodeSDK, api } from '@opentelemetry/sdk-node';
import { ConsoleSpanExporter } from '@opentelemetry/tracing';

const sdk = new NodeSDK({
traceExporter: new ConsoleSpanExporter(),
Expand Down
19 changes: 17 additions & 2 deletions backwards-compatability/node8/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
import {NodeSDK, api} from '@opentelemetry/sdk-node';
import {ConsoleSpanExporter} from '@opentelemetry/tracing';
/*
* Copyright The OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { NodeSDK, api } from '@opentelemetry/sdk-node';
import { ConsoleSpanExporter } from '@opentelemetry/tracing';

const sdk = new NodeSDK({
traceExporter: new ConsoleSpanExporter(),
Expand Down