Skip to content

Commit efde8a2

Browse files
swiatekmcodeboten
andauthored
Support npipe transport in confignet (#14985)
#### Description Support using Windows named pipes as a transport in confignet. The implementation uses https://github.com/microsoft/go-winio/. #### Link to tracking issue Fixes #15085 #### Testing Added unit tests covering the new transport. There's also a unit test for validating named path paths. #### Documentation Added the new value to the config schema and README. --------- Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
1 parent f1f655b commit efde8a2

37 files changed

Lines changed: 274 additions & 5 deletions

File tree

.chloggen/confignet-npipe.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
change_type: enhancement
2+
component: pkg/config/confignet
3+
note: Add support for Windows Named Pipe (npipe) transport
4+
issues: [15085]

.github/workflows/utils/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@
336336
"nopreceiver",
337337
"nosuchprocessor",
338338
"notls",
339+
"npipe",
339340
"obsreceiver",
340341
"obsreport",
341342
"obsreporttest",

cmd/mdatagen/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ require (
5151
)
5252

5353
require (
54+
github.com/Microsoft/go-winio v0.6.2 // indirect
5455
github.com/cespare/xxhash/v2 v2.3.0 // indirect
5556
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
5657
github.com/felixge/httpsnoop v1.0.4 // indirect

cmd/mdatagen/go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/otelcorecol/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ require (
3434
)
3535

3636
require (
37+
github.com/Microsoft/go-winio v0.6.2 // indirect
3738
github.com/beorn7/perks v1.0.1 // indirect
3839
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
3940
github.com/cespare/xxhash/v2 v2.3.0 // indirect

cmd/otelcorecol/go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/configgrpc/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ require (
3030
)
3131

3232
require (
33+
github.com/Microsoft/go-winio v0.6.2 // indirect
3334
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3435
github.com/davecgh/go-spew v1.1.1 // indirect
3536
github.com/foxboron/go-tpm-keyfiles v0.0.0-20251226215517-609e4778396f // indirect

config/configgrpc/go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/confighttp/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ require (
3333
)
3434

3535
require (
36+
github.com/Microsoft/go-winio v0.6.2 // indirect
3637
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3738
go.opentelemetry.io/collector/internal/componentalias v0.150.0 // indirect
3839
)

config/confighttp/go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)