This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch
dependabot/go_modules/tools/go-agent/google.golang.org/protobuf-1.29.1
in repository https://gitbox.apache.org/repos/asf/skywalking-go.git
discard fb44b9b Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in
/tools/go-agent
add 3bd9f26 Add the plugin API (#9)
add facb340 Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in
/tools/go-agent
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (fb44b9b)
\
N -- N -- N
refs/heads/dependabot/go_modules/tools/go-agent/google.golang.org/protobuf-1.29.1
(facb340)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.licenserc.yaml | 1 +
Makefile | 1 +
agent/core/compile.go | 3 +
api.go => agent/core/operator/compile.go | 2 +-
agent/core/tracing/compile.go | 2 +-
imports.go | 1 +
plugins/core/context.go | 60 ++--
plugins/core/go.mod | 3 +
plugins/core/go.sum | 9 +
plugins/core/{fs.go => instrument/declare.go} | 22 +-
plugins/core/instrument/enhance.go | 74 ++++
plugins/core/instrument/method.go | 56 +++
plugins/core/instrument/method_test.go | 127 +++++++
.../core/{tracer_state.go => instrument/struct.go} | 37 +-
plugins/core/instrument/struct_test.go | 93 +++++
{log => plugins/core/log}/logger.go | 37 +-
.../flags.go => plugins/core/operator/common.go | 23 +-
plugins/core/{ => operator}/intercepter.go | 2 +-
plugins/core/{fs.go => operator/logger.go} | 16 +-
plugins/core/{tool.go => operator/tracing.go} | 32 +-
plugins/core/span.go | 31 +-
plugins/core/span_default.go | 28 +-
plugins/core/span_noop.go | 12 +-
plugins/core/span_tracing.go | 19 +-
plugins/core/test_base.go | 20 +-
plugins/core/tracer.go | 2 +
plugins/core/tracing.go | 241 +++++++++++++
plugins/core/tracing/api.go | 254 ++++----------
plugins/core/tracing/api_test.go | 346 -------------------
.../compile.go => plugins/core/tracing/bridge.go | 63 +++-
plugins/core/tracing/span.go | 111 ++++++
plugins/core/tracing_test.go | 364 +++++++++++++++++++
plugins/ginv2/go.mod | 39 +++
plugins/ginv2/go.sum | 91 +++++
plugins/{core/tool.go => ginv2/instrument.go} | 49 ++-
plugins/ginv2/intercepter.go | 60 ++++
tools/go-agent/cmd/helper.go | 3 +-
tools/go-agent/cmd/main.go | 49 ++-
tools/go-agent/go.mod | 29 +-
tools/go-agent/go.sum | 56 +++
tools/go-agent/instrument/agentcore/instrument.go | 98 ++++--
tools/go-agent/instrument/api/flags.go | 7 +-
tools/go-agent/instrument/api/instrument.go | 5 +-
.../instrument/framework/enhance_instance.go | 100 ++++++
.../instrument/framework/enhance_method.go | 230 ++++++++++++
tools/go-agent/instrument/framework/instrument.go | 384 +++++++++++++++++++++
.../go-agent/instrument/framework/register.go | 25 +-
.../instrument/framework/rewrite/context.go | 298 ++++++++++++++++
.../go-agent/instrument/framework/rewrite/func.go | 205 +++++++++++
.../instrument/framework/rewrite/import.go | 57 +++
.../instrument/framework/rewrite/rewrite.go | 115 ++++++
.../go-agent/instrument/framework/rewrite/type.go | 56 +++
.../go-agent/instrument/framework/rewrite/var.go | 33 +-
.../framework/templates/method_inserts.tmpl | 11 +
.../templates/method_intercept_after.tmpl | 17 +
.../templates/method_intercept_before.tmpl | 33 ++
tools/go-agent/instrument/instrument.go | 25 +-
tools/go-agent/instrument/runtime/instrument.go | 106 ++++--
tools/go-agent/tools/dst.go | 142 +++++++-
tools/go-agent/tools/enhancement.go | 11 +
tools/go-agent/tools/files.go | 8 +
tools/go-agent/tools/flags.go | 44 ++-
62 files changed, 3608 insertions(+), 870 deletions(-)
copy api.go => agent/core/operator/compile.go (97%)
copy plugins/core/{fs.go => instrument/declare.go} (77%)
create mode 100644 plugins/core/instrument/enhance.go
create mode 100644 plugins/core/instrument/method.go
create mode 100644 plugins/core/instrument/method_test.go
copy plugins/core/{tracer_state.go => instrument/struct.go} (55%)
create mode 100644 plugins/core/instrument/struct_test.go
copy {log => plugins/core/log}/logger.go (59%)
copy tools/go-agent/instrument/api/flags.go => plugins/core/operator/common.go
(67%)
rename plugins/core/{ => operator}/intercepter.go (98%)
copy plugins/core/{fs.go => operator/logger.go} (82%)
copy plugins/core/{tool.go => operator/tracing.go} (62%)
create mode 100644 plugins/core/tracing.go
delete mode 100644 plugins/core/tracing/api_test.go
copy agent/core/tracing/compile.go => plugins/core/tracing/bridge.go (50%)
create mode 100644 plugins/core/tracing/span.go
create mode 100644 plugins/core/tracing_test.go
create mode 100644 plugins/ginv2/go.mod
create mode 100644 plugins/ginv2/go.sum
copy plugins/{core/tool.go => ginv2/instrument.go} (51%)
create mode 100644 plugins/ginv2/intercepter.go
create mode 100644 tools/go-agent/instrument/framework/enhance_instance.go
create mode 100644 tools/go-agent/instrument/framework/enhance_method.go
create mode 100644 tools/go-agent/instrument/framework/instrument.go
copy agent/core/tracing/compile.go =>
tools/go-agent/instrument/framework/register.go (69%)
create mode 100644 tools/go-agent/instrument/framework/rewrite/context.go
create mode 100644 tools/go-agent/instrument/framework/rewrite/func.go
create mode 100644 tools/go-agent/instrument/framework/rewrite/import.go
create mode 100644 tools/go-agent/instrument/framework/rewrite/rewrite.go
create mode 100644 tools/go-agent/instrument/framework/rewrite/type.go
copy plugins/core/tool.go =>
tools/go-agent/instrument/framework/rewrite/var.go (62%)
create mode 100644
tools/go-agent/instrument/framework/templates/method_inserts.tmpl
create mode 100644
tools/go-agent/instrument/framework/templates/method_intercept_after.tmpl
create mode 100644
tools/go-agent/instrument/framework/templates/method_intercept_before.tmpl