Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.

Commit 54a3182

Browse files
add copyright block to source files (#54)
1 parent cfa0dc4 commit 54a3182

File tree

7 files changed

+29
-0
lines changed

7 files changed

+29
-0
lines changed

src/attribute.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
///
2+
/// Copyright 2020 New Relic Corporation. All rights reserved.
3+
/// SPDX-License-Identifier: Apache-2.0
4+
///
5+
16
/// Represents any valid attribute value.
27
///
38
/// According to the [specification](https://github.com/newrelic/newrelic-telemetry-sdk-specs/blob/master/capabilities.md),

src/client.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///
2+
/// Copyright 2020 New Relic Corporation. All rights reserved.
3+
/// SPDX-License-Identifier: Apache-2.0
4+
///
15
use crate::span::SpanBatch;
26
use anyhow::{anyhow, Result};
37
use flate2::write::GzEncoder;

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///
2+
/// Copyright 2020 New Relic Corporation. All rights reserved.
3+
/// SPDX-License-Identifier: Apache-2.0
4+
///
15
pub mod attribute;
26

37
pub mod span;

src/span.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///
2+
/// Copyright 2020 New Relic Corporation. All rights reserved.
3+
/// SPDX-License-Identifier: Apache-2.0
4+
///
15
use crate::attribute::Value;
26
use crate::client::Sendable;
37
use anyhow::Result;

tests/blocking.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///
2+
/// Copyright 2020 New Relic Corporation. All rights reserved.
3+
/// SPDX-License-Identifier: Apache-2.0
4+
///
15
#[cfg(feature = "blocking")]
26
#[macro_use]
37
mod common;

tests/common/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///
2+
/// Copyright 2020 New Relic Corporation. All rights reserved.
3+
/// SPDX-License-Identifier: Apache-2.0
4+
///
15
use flate2::read::GzDecoder;
26
use hyper::service::{make_service_fn, service_fn};
37
use hyper::{Body, Request, Server};

tests/spans.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
///
2+
/// Copyright 2020 New Relic Corporation. All rights reserved.
3+
/// SPDX-License-Identifier: Apache-2.0
4+
///
15
#[cfg(feature = "client")]
26
#[macro_use]
37
mod common;

0 commit comments

Comments
 (0)