Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: undefinedlabs/scope-go-agent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 87e1ecbe70d7606e689afb884339379f185c6c78
Choose a base ref
..
head repository: undefinedlabs/scope-go-agent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4b85f977a591f7ab90762f64303060556a91d455
Choose a head ref
Showing with 3,475 additions and 740 deletions.
  1. +4 −2 .github/workflows/go.yml
  2. +191 −80 agent/agent.go
  3. +109 −0 agent/agent_test.go
  4. +11 −0 agent/ci.go
  5. +6 −3 agent/config.go
  6. +42 −0 agent/dependencies.go
  7. +6 −8 agent/git.go
  8. +249 −99 agent/recorder.go
  9. +17 −6 agent/report.go
  10. +9 −18 agent/util.go
  11. +48 −0 autoinstrument/init.go
  12. +148 −0 env/types.go
  13. +24 −0 env/vars.go
  14. +18 −10 errors/handler.go
  15. +6 −6 go.mod
  16. +17 −20 go.sum
  17. +69 −12 init.go
  18. +11 −0 instrumentation/grpc/client.go
  19. +38 −2 instrumentation/grpc/errors.go
  20. +103 −0 instrumentation/grpc/grpc_test.go
  21. +8 −6 instrumentation/grpc/server.go
  22. +176 −0 instrumentation/logging/logger.go
  23. +25 −0 instrumentation/logging/logger_go11.go
  24. +20 −0 instrumentation/logging/logger_go12.go
  25. +18 −0 instrumentation/logging/logger_go13.go
  26. +134 −0 instrumentation/logging/logger_test.go
  27. +34 −0 instrumentation/logging/recorder.go
  28. +146 −0 instrumentation/logging/stdio.go
  29. +2 −35 instrumentation/nethttp/client.go
  30. +123 −0 instrumentation/nethttp/nethttp_test.go
  31. +2 −0 instrumentation/nethttp/patch.go
  32. +12 −0 instrumentation/nethttp/server.go
  33. +76 −0 instrumentation/process/process_test.go
  34. +17 −15 instrumentation/sql/driver.go
  35. +1 −1 instrumentation/sql/vendor_mysql.go
  36. +10 −1 instrumentation/sql/vendor_mysql_test.go
  37. +1 −1 instrumentation/sql/vendor_postgres.go
  38. +185 −0 instrumentation/testing/benchmark.go
  39. +304 −0 instrumentation/testing/coverage.go
  40. +59 −0 instrumentation/testing/init.go
  41. +178 −0 instrumentation/testing/logger.go
  42. +0 −161 instrumentation/testing/logging.go
  43. +0 −52 instrumentation/testing/logging_test.go
  44. +174 −60 instrumentation/testing/tb.go
  45. +137 −137 instrumentation/testing/testing.go
  46. +32 −0 instrumentation/testing/testing_test.go
  47. +48 −0 reflection/reflect.go
  48. +262 −0 runner/main.go
  49. +131 −0 runner/runner_test.go
  50. +8 −0 tags/tags.go
  51. +20 −0 tracer/multi_recorder.go
  52. +2 −2 tracer/propagation_env_var.go
  53. +2 −2 tracer/span.go
  54. +2 −1 tracer/tracer.go
6 changes: 4 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ jobs:
name: Test
strategy:
matrix:
go_version: [1.12, 1.13]
go_version: [1.11, 1.12, 1.13, 1.14]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
@@ -22,7 +22,9 @@ jobs:
run: go get -v -t -d ./...

- name: Test
run: go test -v ./...
run: go test -v -race -covermode=atomic ./...
env:
SCOPE_DSN: ${{ secrets.SCOPE_DSN }}

fossa:
name: FOSSA
Loading