Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed Oct 14, 2024
1 parent d1ada60 commit 2193982
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 12 additions & 0 deletions cmd/jaeger/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ FROM $base_image AS release
ARG TARGETARCH
ARG USER_UID=10001

# Sampling config HTTP
EXPOSE 5778

# Sampling config gRPC
EXPOSE 5779

# Collector OTLP gRPC
EXPOSE 4317

Expand Down Expand Up @@ -47,6 +53,12 @@ FROM $debug_image AS debug
ARG TARGETARCH=amd64
ARG USER_UID=10001

# Sampling config HTTP
EXPOSE 5778

# Sampling config gRPC
EXPOSE 5779

# Collector OTLP gRPC
EXPOSE 4317

Expand Down
5 changes: 2 additions & 3 deletions cmd/jaeger/internal/extension/remotesampling/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"go.opentelemetry.io/collector/extension"

"github.com/jaegertracing/jaeger/plugin/sampling/strategyprovider/adaptive"
"github.com/jaegertracing/jaeger/ports"
)

// ComponentType is the name of this extension in configuration.
Expand All @@ -34,11 +33,11 @@ func NewFactory() extension.Factory {
func createDefaultConfig() component.Config {
return &Config{
HTTP: &confighttp.ServerConfig{
Endpoint: ports.PortToHostPort(ports.AgentConfigServerHTTP),
Endpoint: ":5778",
},
GRPC: &configgrpc.ServerConfig{
NetAddr: confignet.AddrConfig{
Endpoint: ports.PortToHostPort(ports.AgentConfigServerHTTP + 1),
Endpoint: ":5779",
Transport: confignet.TransportTypeTCP,
},
},
Expand Down

0 comments on commit 2193982

Please sign in to comment.