Skip to content

Commit 78eb1f5

Browse files
authored
Fix offsets for golang.org/x/net/http2 (#1208)
* Fix offsets * Add a changelog entry
1 parent 741985e commit 78eb1f5

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http
1616
- Support `google.golang.org/grpc` `1.69.0-dev`. ([#1203](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1203))
1717
- Implement traceID ratio and parent-based samplers. ([#1150](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1150))
1818

19+
### Fixed
20+
21+
- The `"golang.org/x/net/http2".FrameHeader.StreamID` offset for version `0.8.0` is corrected. ([#1208](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1208))
22+
- The `"golang.org/x/net/http2".MetaHeadersFrame.Fields` offset for version `0.8.0` is corrected. ([#1208](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1208))
23+
1924
## [v0.15.0-alpha] - 2024-10-01
2025

2126
### Added

internal/pkg/inject/offset_results.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,12 +1545,6 @@
15451545
{
15461546
"field": "StreamID",
15471547
"offsets": [
1548-
{
1549-
"offset": null,
1550-
"versions": [
1551-
"0.8.0"
1552-
]
1553-
},
15541548
{
15551549
"offset": 8,
15561550
"versions": [
@@ -1561,6 +1555,7 @@
15611555
"0.5.0",
15621556
"0.6.0",
15631557
"0.7.0",
1558+
"0.8.0",
15641559
"0.9.0",
15651560
"0.10.0",
15661561
"0.11.0",
@@ -1595,12 +1590,6 @@
15951590
{
15961591
"field": "Fields",
15971592
"offsets": [
1598-
{
1599-
"offset": null,
1600-
"versions": [
1601-
"0.8.0"
1602-
]
1603-
},
16041593
{
16051594
"offset": 8,
16061595
"versions": [
@@ -1611,6 +1600,7 @@
16111600
"0.5.0",
16121601
"0.6.0",
16131602
"0.7.0",
1603+
"0.8.0",
16141604
"0.9.0",
16151605
"0.10.0",
16161606
"0.11.0",

0 commit comments

Comments
 (0)