Skip to content

Split implementation tasks #29

Open
@y1yang0

Description

@y1yang0

Within PR #30 , a global implementation framework has been established, with the following functions remaining to be implemented:

  • Setup Phase
    • isSetup - Check if setup phase is already done(because we can either otel setup + otel go build or just otel go build)
    • findDeps - Find all dependencies of the project being build @y1yang0
    • matchDeps - Match the hook code with these dependencies @y1yang0
    • addDeps - Introduce additional hook code by generating otel.instrumentation.go
    • refreshDeps - Run go mod tidy to refresh dependencies
    • store - Write the matched hook rules to match.txt
  • Instrument Phase
    • load - Load matched hook rules from match.txt
    • match - Check if the current package should be instrumented
    • instrument - Instrument the target function

Please feel free to claim the implementation tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions