diff --git a/cmd/saga/start/service/service.go b/cmd/saga/start/service/service.go index ab0af14..5c2bd98 100644 --- a/cmd/saga/start/service/service.go +++ b/cmd/saga/start/service/service.go @@ -38,6 +38,9 @@ func (s *Service) CreateOnboardingWorkflow( ctx context.Context, req *connect.Request[temporalPB.CreateOnboardingWorkflowRequest], ) (*connect.Response[temporalPB.CreateOnboardingWorkflowResponse], error) { + + log.Info("received request", "headers", req.Header()) + temporalClient := s.client // Validate the request diff --git a/tailcall/server.graphql b/tailcall/server.graphql index 31bb00c..2ef6953 100644 --- a/tailcall/server.graphql +++ b/tailcall/server.graphql @@ -9,7 +9,16 @@ schema ) # Specify a base url for all HTTP requests. - @upstream(timeout: 5) { + @upstream(timeout: 5) + + @telemetry( + export: { + otlp: { + url: "http://localhost:4317" + } + } + ) { + query: Query mutation: Mutation } diff --git a/taskfiles/run.yml b/taskfiles/run.yml index 76fc3e5..1959b0c 100644 --- a/taskfiles/run.yml +++ b/taskfiles/run.yml @@ -21,7 +21,7 @@ tasks: cmds: - pkgx killport 8000 - | - pkgx tailcall start \ + pkgx tailcall@latest start \ ./tailcall/server.graphql \ ./tailcall/org.graphql \ ./tailcall/profile.graphql \