Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
let's see
Browse files Browse the repository at this point in the history
  • Loading branch information
craigpastro committed Nov 15, 2023
1 parent 765761a commit 373a4b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lint: generate

.PHONY: test
test:
TESTCONTAINERS_RYUK_DISABLED=true go test -race ./...
go test -race ./...

.PHONY: build
build: generate
Expand Down
3 changes: 3 additions & 0 deletions internal/instrumentation/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ func MustNewTracerProvider(enabled bool, cfg TracerConfig) shutdownFunc {
otlptracegrpc.WithInsecure(),
otlptracegrpc.WithDialOption(grpc.WithBlock()),
)
if err != nil {
panic(err)
}

tracerProvider := sdktrace.NewTracerProvider(
sdktrace.WithSampler(sdktrace.TraceIDRatioBased(cfg.SampleRatio)),
Expand Down

0 comments on commit 373a4b5

Please sign in to comment.