mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
#### Description Embed `confignet.AddrConfig` in `confighttp.ServerConfig`, replacing the `Endpoint` field. This introduces the "transport" config attribute, which can be set to "unix" for binding a Unix domain socket. #### Link to tracking issue Fixes #8752 Fixes #14187 #### Testing ```bash $ ./bin/otelcorecol_linux_amd64 \ --config examples/local/otel-config.yaml \ --set receivers::otlp::protocols::http::transport=unix \ --set receivers::otlp::protocols::http::endpoint=\"@otlphttp\" ``` ```bash $ curl --abstract-unix-socket otlphttp http://testing.invalid:1234/v1/traces 405 method not allowed, supported: [POST] ``` #### Documentation Updated README.md --------- Co-authored-by: Antoine Toulme <[email protected]>
15 lines
307 B
YAML
15 lines
307 B
YAML
# Simple middleware-focused test configuration
|
|
|
|
client:
|
|
endpoint: "http://localhost:4318/v1/traces"
|
|
middlewares:
|
|
- id: "fancy_middleware"
|
|
- id: "careful_middleware"
|
|
|
|
server:
|
|
endpoint: "0.0.0.0:4318"
|
|
transport: tcp
|
|
middlewares:
|
|
- id: "careful_middleware"
|
|
- id: "support_middleware"
|