Skip to content

Commit 60149db

Browse files
committed
Added headers
1 parent 55627f9 commit 60149db

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

test/metrics/spanner-metrics-exporter.test.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1+
// Copyright 2025 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
import * as assert from 'assert';
216
import * as sinon from 'sinon';
3-
import {
4-
MeterProvider,
5-
MetricReader,
6-
ResourceMetrics,
7-
} from '@opentelemetry/sdk-metrics';
17+
import {MeterProvider, MetricReader} from '@opentelemetry/sdk-metrics';
818
import {CloudMonitoringMetricsExporter} from '../../src/metrics/spanner-metrics-exporter';
919
import {
1020
GAX_METER_NAME,

test/metrics/transform.test.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2025 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
import * as assert from 'assert';
216
import {_TEST_ONLY} from '../../src/metrics/transform';
317
import {

0 commit comments

Comments
 (0)