Tyler Yahn
|
5358fd737d
|
Upgrade semconv dependencies to v1.37.0 (#7260)
Resolve https://github.com/open-telemetry/opentelemetry-go/issues/7255
|
2025-08-28 11:29:52 +02:00 |
|
Tyler Yahn
|
4b2bef6dd9
|
[chore] Upgrade semconv pkg use to v1.36.0 (#7237)
Fix #7236
|
2025-08-25 16:33:34 +02:00 |
|
Matthieu MOREL
|
68841fa6db
|
chore: enable unused-receiver rule from revive (#7130)
#### Description
Enable and fixes
[unused-receiver](https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#unused-receiver)
rule from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
2025-08-08 15:38:22 -07:00 |
|
Tyler Yahn
|
dea52958ae
|
Upgrade semconv to 1.34.0 in trace (#6836)
|
2025-05-28 11:15:38 -07:00 |
|
Ron Federman
|
b7ca1e18c4
|
trace/auto pass stack allocated span context var to ebpf (#6434)
same as
https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1971
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
|
2025-03-13 09:35:35 -07:00 |
|
Tyler Yahn
|
9aae208463
|
Add an auto-instrumentable no-op implementation to the trace package (#6203)
This copes the `go.opentelemetry.io/auto/sdk` package into the
`go.opentelemetry.io/otel/trace` package. This is done to avoid package
import cycles and still provide an auto-instrumentable SDK (see
https://github.com/open-telemetry/opentelemetry-go-instrumentation/issues/974).
## Overview of changes
The code copied is updated with the following changes. The over-all goal
is to ensure none of this is exported and follows the `auto/sdk` as
close as possible to help maintenance.
### `trace/auto.go`
Consolidation of the following into a single file:
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/tracer_provider.go
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/tracer.go
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/span.go
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/limit.go
Has the following changes:
- `func TracerProvider()` renamed to `newAutoTracerProvider`
- `type tracerProvider struct` renamed to `autoTracerProvider`
- `type tracer struct` renamed to `autoTracer`
- `type span struct` renamed to `autoSpan`
- Lint issues addressed based on this repositories configuration (these
changes are being back-ported upstream)
### `trace/auto_test.go`
Consolidation of the following into a single file:
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/tracer_provider_test.go
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/tracer_test.go
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/span_test.go
-
https://github.com/open-telemetry/opentelemetry-go-instrumentation/blob/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/limit_test.go
Has the following changes:
- Renames in `trace/auto.go` are applied here
- Lint issues addressed based on this repositories configuration (these
changes are being back-ported upstream)
### `trace/internal/telemetry`
Copied from
https://github.com/open-telemetry/opentelemetry-go-instrumentation/tree/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/internal/telemetry
- Pacakge vanity URLs added
- Lint issues addressed based on this repositories configuration (these
changes are being back-ported upstream)
- Use of the package name has been updated
#### `trace/internal/telemetry/test`
Copied from
https://github.com/open-telemetry/opentelemetry-go-instrumentation/tree/aea085dd2a3640630ac07a2187cbda9d15d2dd00/sdk/internal/telemetry/test
- Module name updated
- Documentation updated with new package name
- Testing values updated with new package name
---------
Co-authored-by: Ron Federman <73110295+RonFed@users.noreply.github.com>
|
2025-02-04 08:04:14 -08:00 |
|