Skip to content

Commit

Permalink
Add license header to source files
Browse files Browse the repository at this point in the history
  • Loading branch information
newrelic-eheinlein committed Jun 18, 2020
1 parent df8c594 commit a45bc8b
Show file tree
Hide file tree
Showing 666 changed files with 2,132 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2020 New Relic Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: Go Agent CI

on: pull_request
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2020 New Relic Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

language: go
go_import_path: github.com/newrelic/go-agent

Expand Down
3 changes: 3 additions & 0 deletions _integrations/logcontext/logcontext.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package logcontext

import newrelic "github.com/newrelic/go-agent"
Expand Down
3 changes: 3 additions & 0 deletions _integrations/logcontext/nrlogrusplugin/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/logcontext/nrlogrusplugin/nrlogrusplugin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrlogrusplugin decorates logs for sending to the New Relic backend.
//
// Use this package if you want to enable the New Relic logging product and see
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlogrusplugin

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrawssdk/internal/internal.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package internal

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrawssdk/internal/internal_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package internal

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrawssdk/v1/nrawssdk.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrawssdk instruments https://github.com/aws/aws-sdk-go requests.
package nrawssdk

Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrawssdk/v1/nrawssdk_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrawssdk

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrawssdk/v2/nrawssdk.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrawssdk instruments https://github.com/aws/aws-sdk-go-v2 requests.
package nrawssdk

Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrawssdk/v2/nrawssdk_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrawssdk

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrb3/example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrb3

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrb3/nrb3.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrb3

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrb3/nrb3_doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrb3 supports adding B3 headers to outgoing requests.
//
// When using the New Relic Go Agent, use this package if you want to add B3
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrb3/nrb3_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrb3

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrecho/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrecho/nrecho.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrecho instruments https://github.com/labstack/echo applications.
//
// Use this package to instrument inbound requests handled by an echo.Echo
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrecho/nrecho_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrecho

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgin/v1/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgin/v1/nrgin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrgin instruments https://github.com/gin-gonic/gin applications.
//
// Use this package to instrument inbound requests handled by a gin.Engine.
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgin/v1/nrgin_context_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// +build go1.7

package nrgin
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgin/v1/nrgin_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrgin

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgorilla/v1/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgorilla/v1/nrgorilla.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrgorilla instruments https://github.com/gorilla/mux applications.
//
// Use this package to instrument inbound requests handled by a gorilla
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgorilla/v1/nrgorilla_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrgorilla

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/example/client/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/example/sampleapp/sampleapp.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _integrations/nrgrpc/example/sampleapp/sampleapp.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";

service SampleApplication {
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/example/server/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/nrgrpc_client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrgrpc

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/nrgrpc_client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrgrpc

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/nrgrpc_doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrgrpc instruments https://github.com/grpc/grpc-go.
//
// This package can be used to instrument gRPC servers and gRPC clients.
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/nrgrpc_server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrgrpc

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/nrgrpc_server_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrgrpc

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/testapp/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package testapp

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrgrpc/testapp/testapp.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _integrations/nrgrpc/testapp/testapp.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";

service TestApplication {
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrhttprouter/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrhttprouter/nrhttprouter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrhttprouter instruments https://github.com/julienschmidt/httprouter
// applications.
//
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrhttprouter/nrhttprouter_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrhttprouter

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlambda/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlambda

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlambda/config_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlambda

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlambda/events.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlambda

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlambda/events_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlambda

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlambda/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlambda/handler.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrlambda adds support for AWS Lambda.
//
// Use this package to instrument your AWS Lambda handler function. Data is
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlambda/handler_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlambda

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlogrus/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlogrus/nrlogrus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrlogrus sends go-agent log messages to
// https://github.com/sirupsen/logrus.
//
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlogrus/nrlogrus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlogrus

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlogxi/v1/example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package nrlogxi_test

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrlogxi/v1/nrlogxi.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// Package nrlogxi supports https://github.com/mgutz/logxi.
//
// Wrap your logxi Logger using nrlogxi.New to send agent log messages through
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrmicro/example/client/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions _integrations/nrmicro/example/proto/greeter.micro.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _integrations/nrmicro/example/proto/greeter.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions _integrations/nrmicro/example/proto/greeter.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2020 New Relic Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";

service Greeter {
Expand Down
Loading

0 comments on commit a45bc8b

Please sign in to comment.