Skip to content

Idea: No-Code Automatic Instrumentation #560

@tonyo

Description

@tonyo

This issue is to track our options in the emerging area of automatic instrumentation without modifying the source code of the target app.

There are a few projects working in that direction already for OpenTelemetry:

  1. https://github.com/keyval-dev/opentelemetry-go-instrumentation
  2. https://github.com/open-telemetry/opentelemetry-go-instrumentation (looks like they're vendoring the project from 1. ?)

These projects implement attempt to implement this (magical) idea using eBPF, which seems to be the most promising/feasible way to do it.

Since OpenTelemetry support in sentry-go is right around the corner, it sounds possible to delegate the span creation to the OTel tooling, and then reuse our span processor (and potentially propagator) to transform the collected spans into Sentry's.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions