Skip to content

Commit b93ce18

Browse files
committed
bff: improve opentelemetry
Signed-off-by: Viktor Login <[email protected]>
1 parent c6f70ca commit b93ce18

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

boundaries/api/api-gateway/gateways/grpc-web/infrastructure/server/v1/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (api *API) Run(
5959
return err
6060
}
6161

62-
api.http = http_server.New(ctx, mux, config, tracer)
62+
api.http = http_server.New(ctx, mux, config)
6363

6464
// Start HTTP server (and proxy calls to gRPC server endpoint)
6565
log.Info("Run HTTP server", slog.Int("port", config.Port))

boundaries/bff/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/shortlink-org/go-sdk/flight_trace v0.0.0-20251123090321-da200cd95544
2121
github.com/shortlink-org/go-sdk/graceful_shutdown v0.0.0-20251123090321-da200cd95544
2222
github.com/shortlink-org/go-sdk/grpc v0.0.0-20251123090321-da200cd95544
23-
github.com/shortlink-org/go-sdk/http v0.0.0-20251123143403-ea6670e2eba8
23+
github.com/shortlink-org/go-sdk/http v0.0.0-20251124200042-639931ca5cd1
2424
github.com/shortlink-org/go-sdk/logger v0.0.0-20251123090321-da200cd95544
2525
github.com/shortlink-org/go-sdk/observability v0.0.0-20251123090321-da200cd95544
2626
github.com/spf13/viper v1.21.0

boundaries/bff/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.

boundaries/bff/internal/infrastructure/http/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (api *Server) run(config Config) error {
108108

109109
r.Mount(viper.GetString("BASE_PATH"), serverAPI.HandlerFromMux(controller, nil))
110110

111-
srv := http_server.New(config.Ctx, r, config.Http, config.Tracer, config.Config)
111+
srv := http_server.New(config.Ctx, r, config.Http, config.Config)
112112

113113
// start HTTP-server
114114
config.Log.Info(config.I18n.Sprintf("BFF Web run on port %d", config.Http.Port))

0 commit comments

Comments
 (0)