Tyler Yahn
|
5b5c2c5d6d
|
Upgrade to semconv/v1.40.0 (#7991)
|
2026-03-04 12:13:40 +01:00 |
|
Saharsh Tibrewala
|
61f0e4855c
|
Bump semconv from v1.37.0 to v1.39.0 (#7789)
Fixes #7788
---------
Co-authored-by: Damien Mathieu <42@dmathieu.com>
|
2026-01-21 10:42:41 +01:00 |
|
Flc゛
|
80cb909774
|
refactor: replace context.Background() with t.Context()/b.Context() in tests (#7352)
Based on the Go version we currently use, the dependency already
supports 1.24+, which allows using `t.Context()` and `b.Context()` in
unit tests and benchmarks respectively.
- Enable `context-background` and `context-todo` in
[`usetesting`](https://golangci-lint.run/docs/linters/configuration/#usetesting)
- Adjust the code to support linter detection
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
|
2025-09-23 09:52:45 +02:00 |
|
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 |
|
Mikhail Mazurskiy
|
5e1c62a2d5
|
Modernize (#7089)
Use
https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize
to update code to new style.
---------
Co-authored-by: Flc゛ <four_leaf_clover@foxmail.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
|
2025-07-29 10:19:11 +02:00 |
|
Tyler Yahn
|
dea52958ae
|
Upgrade semconv to 1.34.0 in trace (#6836)
|
2025-05-28 11:15:38 -07:00 |
|
Tyler Yahn
|
7512a2be2e
|
Add the golines golangci-lint formatter (#6513)
Ensure consistent line wrapping (<= 120 characters) within the project.
|
2025-03-30 03:46:44 -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 |
|