pax_global_header00006660000000000000000000000064141535762070014524gustar00rootroot0000000000000052 comment=4b46fc5b40e5398695413097b5c461679a74eafd go-agent-3.15.2/000077500000000000000000000000001415357620700133155ustar00rootroot00000000000000go-agent-3.15.2/.github/000077500000000000000000000000001415357620700146555ustar00rootroot00000000000000go-agent-3.15.2/.github/ISSUE_TEMPLATE/000077500000000000000000000000001415357620700170405ustar00rootroot00000000000000go-agent-3.15.2/.github/ISSUE_TEMPLATE/bug-report---.md000066400000000000000000000016551415357620700216660ustar00rootroot00000000000000--- name: "Bug report \U0001F41B" about: Create a report to help us improve title: '' labels: bug assignees: '' --- [NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ ) ## Description [NOTE]: # ( Describe the problem you're encountering. ) [TIP]: # ( Do NOT give us access or passwords to your New Relic account or API keys! ) ## Steps to Reproduce [NOTE]: # ( Please be as specific as possible. ) ## Expected Behavior [NOTE]: # ( Tell us what you expected to happen. ) ## NR Diag results [NOTE]: # ( Provide any other relevant log data. ) ## Your Environment [TIP]: # ( Include as many relevant details about your environment as possible including the running version of New Relic software and any relevant configurations. ) ## Reproduction case [TIP]: # ( Link a sample application that demonstrates the issue. ) ## Additional context [TIP]: # ( Add any other context about the problem here. ) go-agent-3.15.2/.github/ISSUE_TEMPLATE/config.yml000066400000000000000000000003201415357620700210230ustar00rootroot00000000000000blank_issues_enabled: false contact_links: - name: Troubleshooting url: https://github.com/newrelic/go-agent/blob/master/README.md#support about: checkout the README for troubleshooting directions go-agent-3.15.2/.github/ISSUE_TEMPLATE/enhancement-request---.md000066400000000000000000000013151415357620700235440ustar00rootroot00000000000000--- name: "Enhancement request \U0001F4A1" about: Suggest an idea for a future version of this project title: '' labels: enhancement assignees: '' --- [NOTE]: # ( ^^ Provide a general summary of the request in the title above. ^^ ) ## Summary [NOTE]: # ( Provide a brief overview of what the new feature is all about. ) ## Desired Behaviour [NOTE]: # ( Tell us how the new feature should work. Be specific. ) [TIP]: # ( Do NOT give us access or passwords to your New Relic account or API keys! ) ## Possible Solution [NOTE]: # ( Not required. Suggest how to implement the addition or change. ) ## Additional context [TIP]: # ( Why does this feature matter to you? What unique circumstances do you have? ) go-agent-3.15.2/.github/ISSUE_TEMPLATE/troubleshooting.md000066400000000000000000000007041415357620700226120ustar00rootroot00000000000000 We use GitHub to track feature requests and bug reports. Please **do not** submit issues for questions about how to configure, use features, troubleshoot, or best practices for using New Relic software. See the README.md troubleshooting section in this repository for more details on self-service troubleshooting tooling, links to our comprehenive documentation, and how to get further support. go-agent-3.15.2/.github/PULL_REQUEST_TEMPLATE.md000066400000000000000000000011671415357620700204630ustar00rootroot00000000000000 ## Links ## Details go-agent-3.15.2/.github/workflows/000077500000000000000000000000001415357620700167125ustar00rootroot00000000000000go-agent-3.15.2/.github/workflows/ci.yaml000066400000000000000000000256321415357620700202010ustar00rootroot00000000000000# Copyright 2020 New Relic Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 name: Go Agent CI on: pull_request jobs: go-agent: runs-on: ubuntu-18.04 env: # Required when using older versions of Go that do not support gomod. GOPATH: ${{ github.workspace }} strategy: # if one test fails, do not abort the rest fail-fast: false matrix: include: # v2 agent # 1.3.x and 1.4.x are failing with a linker error, skip those for now # - go-version: 1.3.x # dirs: . # - go-version: 1.4.x # dirs: . - go-version: 1.5.x dirs: . - go-version: 1.6.x dirs: . - go-version: 1.7.x dirs: . - go-version: 1.8.x dirs: . - go-version: 1.9.x dirs: . - go-version: 1.10.x dirs: . - go-version: 1.11.x dirs: . - go-version: 1.12.x dirs: . - go-version: 1.13.x dirs: . # v2 integrations - go-version: 1.13.x dirs: _integrations/nrawssdk - go-version: 1.13.x dirs: _integrations/nrecho - go-version: 1.13.x dirs: _integrations/nrgin/v1 - go-version: 1.13.x dirs: _integrations/nrgorilla/v1 - go-version: 1.13.x dirs: _integrations/nrlogrus - go-version: 1.13.x dirs: _integrations/nrlogxi/v1 - go-version: 1.13.x dirs: _integrations/nrpkgerrors - go-version: 1.13.x dirs: _integrations/nrlambda - go-version: 1.13.x dirs: _integrations/nrmysql - go-version: 1.13.x dirs: _integrations/nrpq - go-version: 1.13.x dirs: _integrations/nrsqlite3 - go-version: 1.13.x dirs: _integrations/nrgrpc # As of October 2019, errors result from go get -u github.com/micro/go-micro # As of June 2020, confirmed errors still result # - go-version: 1.13.x # dirs: _integrations/nrmicro - go-version: 1.13.x dirs: _integrations/nrnats - go-version: 1.13.x dirs: _integrations/nrstan - go-version: 1.13.x dirs: _integrations/logcontext - go-version: 1.13.x dirs: _integrations/nrzap - go-version: 1.13.x dirs: _integrations/nrhttprouter - go-version: 1.13.x dirs: _integrations/nrb3 - go-version: 1.13.x dirs: _integrations/nrmongo # v3 agent - go-version: 1.7.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.8.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.9.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.10.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.11.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.12.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.13.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.14.x dirs: v3/newrelic,v3/internal,v3/examples - go-version: 1.15.x dirs: v3/newrelic,v3/internal,v3/examples,v3/integrations/logcontext # v3 integrations - go-version: 1.15.x dirs: v3/integrations/logcontext/nrlogrusplugin extratesting: go get -u github.com/sirupsen/logrus@master - go-version: 1.15.x dirs: v3/integrations/nrawssdk-v1 extratesting: go get -u github.com/aws/aws-sdk-go@main - go-version: 1.15.x dirs: v3/integrations/nrawssdk-v2 extratesting: go get -u github.com/aws/aws-sdk-go-v2@main - go-version: 1.15.x dirs: v3/integrations/nrecho-v3 # Test against the latest v3 Echo: extratesting: go get -u github.com/labstack/echo@v3 - go-version: 1.15.x dirs: v3/integrations/nrecho-v4 extratesting: go get -u github.com/labstack/echo@master - go-version: 1.15.x dirs: v3/integrations/nrelasticsearch-v7 extratesting: go get -u github.com/elastic/go-elasticsearch/v7@7.x - go-version: 1.15.x dirs: v3/integrations/nrgin extratesting: go get -u github.com/gin-gonic/gin@master - go-version: 1.15.x dirs: v3/integrations/nrgorilla extratesting: go get -u github.com/gorilla/mux@master - go-version: 1.15.x dirs: v3/integrations/nrgraphgophers extratesting: go get -u github.com/graph-gophers/graphql-go@master - go-version: 1.15.x dirs: v3/integrations/nrlogrus extratesting: go get -u github.com/sirupsen/logrus@master - go-version: 1.15.x dirs: v3/integrations/nrlogxi extratesting: go get -u github.com/mgutz/logxi@master - go-version: 1.15.x dirs: v3/integrations/nrpkgerrors extratesting: go get -u github.com/pkg/errors@master - go-version: 1.15.x dirs: v3/integrations/nrlambda extratesting: go get -u github.com/aws/aws-lambda-go@master - go-version: 1.15.x dirs: v3/integrations/nrmysql extratesting: go get -u github.com/go-sql-driver/mysql@master - go-version: 1.15.x dirs: v3/integrations/nrpq extratesting: go get -u github.com/lib/pq@master - go-version: 1.15.x dirs: v3/integrations/nrpq/example/sqlx - go-version: 1.15.x dirs: v3/integrations/nrredis-v7 extratesting: go get -u github.com/go-redis/redis/v7@master - go-version: 1.15.x dirs: v3/integrations/nrsqlite3 extratesting: go get -u github.com/mattn/go-sqlite3@master - go-version: 1.15.x dirs: v3/integrations/nrsnowflake extratesting: go get -u github.com/snowflakedb/gosnowflake@master - go-version: 1.15.x dirs: v3/integrations/nrgrpc extratesting: go get -u google.golang.org/grpc@master - go-version: 1.15.x dirs: v3/integrations/nrmicro # As of Dec 2019, there is a race condition in when using go-micro@master # in their logging system. Instead, we'll test against the latest # released version. # As of Jan 2019, it is impossible to go get the latest micro version. # As of June 2020, confirmed errors still result # extratesting: go get -u github.com/micro/go-micro@latest - go-version: 1.15.x dirs: v3/integrations/nrnats extratesting: go get -u github.com/nats-io/nats.go/@master - go-version: 1.15.x dirs: v3/integrations/nrnats/test extratesting: go get -u github.com/nats-io/nats.go/@master - go-version: 1.15.x dirs: v3/integrations/nrstan extratesting: go get -u github.com/nats-io/stan.go/@master - go-version: 1.15.x dirs: v3/integrations/nrstan/test extratesting: go get -u github.com/nats-io/stan.go/@master - go-version: 1.15.x dirs: v3/integrations/nrstan/examples extratesting: go get -u github.com/nats-io/stan.go/@master - go-version: 1.15.x dirs: v3/integrations/logcontext extratesting: go get -u github.com/sirupsen/logrus@master - go-version: 1.15.x dirs: v3/integrations/nrzap extratesting: go get -u go.uber.org/zap@master - go-version: 1.15.x dirs: v3/integrations/nrhttprouter extratesting: go get -u github.com/julienschmidt/httprouter@master - go-version: 1.15.x dirs: v3/integrations/nrb3 - go-version: 1.15.x dirs: v3/integrations/nrmongo extratesting: go get -u go.mongodb.org/mongo-driver@master - go-version: 1.15.x dirs: v3/integrations/nrgraphqlgo,v3/integrations/nrgraphqlgo/example extratesting: go get -u github.com/graphql-go/graphql@master steps: - name: Install Go uses: actions/setup-go@v1 with: go-version: ${{ matrix.go-version }} - name: Checkout Code uses: actions/checkout@v1 with: # Required when using older versions of Go that do not support gomod. # Note the required presence of the /go-agent/ directory at the # beginning of this path. It is required in order to match the # ${{ github.workspace }} used by the GOPATH env var. pwd when cloning # the repo is /go-agent/ whereas ${{ github.workspace }} # returns /go-agent/ whereas ${{ github.workspace }} # returns