Skip to content

Commit d1d8c62

Browse files
committed
Move process management from Probe to Manager, remove Manifest
1 parent 82c57e2 commit d1d8c62

File tree

12 files changed

+441
-487
lines changed

12 files changed

+441
-487
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ examples/kafka-go/producer/producer
4747
examples/kafka-go/consumer/consumer
4848

4949
go.work*
50+
51+
opentelemetry-helm-charts

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http
4646
- Upgrade OpenTelemetry semantic conventions to `v1.30.0`. ([#2032](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/2032))
4747
- Modify how the pattern is fetch from `net/http.Request`.
4848
Now it uses `Request.Pattern` instead of `Request.pat.str` unless using go1.22, which continue using `Request.pat.str`. ([#2090](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/2090))
49+
- Process management has shifted from Probe methods to the Manager, internal Manifest type removed. ([#2029](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/2029))
4950

5051
### Removed
5152

internal/pkg/instrumentation/benchmark_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ func BenchmarkFilterUnusedProbes1000(b *testing.B) {
4545
func benchmarkValidateProbeDependents(b *testing.B, count int) {
4646
manager := &Manager{}
4747

48-
syms := make([]probe.FunctionSymbol, count)
48+
syms := make([]*probe.Uprobe, count)
4949

5050
for i := 0; i < count; i++ {
51-
syms[i] = probe.FunctionSymbol{
52-
Symbol: strconv.Itoa(i),
51+
syms[i] = &probe.Uprobe{
52+
Sym: strconv.Itoa(i),
5353
DependsOn: nil,
5454
}
5555
}

0 commit comments

Comments
 (0)