diff --git a/agent/client/client.go b/agent/client/client.go index a68028681c..c676cdcaac 100644 --- a/agent/client/client.go +++ b/agent/client/client.go @@ -61,6 +61,8 @@ func (c *Client) Start(ctx context.Context) error { return err } + c.startHearthBeat(ctx) + return nil } diff --git a/agent/client/workflow_ping.go b/agent/client/workflow_ping.go new file mode 100644 index 0000000000..3380bb3236 --- /dev/null +++ b/agent/client/workflow_ping.go @@ -0,0 +1,21 @@ +package client + +import ( + "context" + "time" + + "github.com/kubeshop/tracetest/agent/proto" +) + +func (c *Client) startHearthBeat(ctx context.Context) error { + client := proto.NewOrchestratorClient(c.conn) + ticker := time.NewTicker(2 * time.Minute) + + go func() { + for range ticker.C { + client.Ping(ctx, c.sessionConfig.AgentIdentification) + } + }() + + return nil +} diff --git a/agent/collector/collector.go b/agent/collector/collector.go index bd7d4b20b9..65f5d00807 100644 --- a/agent/collector/collector.go +++ b/agent/collector/collector.go @@ -10,6 +10,7 @@ import ( "time" "github.com/kubeshop/tracetest/server/otlp" + "go.opentelemetry.io/otel/trace" ) type Config struct { @@ -20,7 +21,7 @@ type Config struct { RemoteServerToken string } -func Start(ctx context.Context, config Config) error { +func Start(ctx context.Context, config Config, tracer trace.Tracer) error { ingester, err := newForwardIngester(ctx, config.BatchTimeout, remoteIngesterConfig{ URL: config.RemoteServerURL, Token: config.RemoteServerToken, @@ -29,7 +30,7 @@ func Start(ctx context.Context, config Config) error { return fmt.Errorf("could not start local collector: %w", err) } - grpcServer := otlp.NewGrpcServer(fmt.Sprintf("0.0.0.0:%d", config.GRPCPort), ingester) + grpcServer := otlp.NewGrpcServer(fmt.Sprintf("0.0.0.0:%d", config.GRPCPort), ingester, tracer) httpServer := otlp.NewHttpServer(fmt.Sprintf("0.0.0.0:%d", config.HTTPPort), ingester) onProcessTermination(func() { diff --git a/agent/collector/collector_test.go b/agent/collector/collector_test.go index f658611f7a..974eb37a7e 100644 --- a/agent/collector/collector_test.go +++ b/agent/collector/collector_test.go @@ -10,18 +10,25 @@ import ( "github.com/kubeshop/tracetest/agent/collector/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "go.opentelemetry.io/otel/trace" ) func TestCollector(t *testing.T) { targetServer, err := mocks.NewOTLPIngestionServer() require.NoError(t, err) - collector.Start(context.Background(), collector.Config{ - HTTPPort: 4318, - GRPCPort: 4317, - BatchTimeout: 2 * time.Second, - RemoteServerURL: targetServer.Addr(), - }) + noopTracer := trace.NewNoopTracerProvider().Tracer("noop_tracer") + + collector.Start( + context.Background(), + collector.Config{ + HTTPPort: 4318, + GRPCPort: 4317, + BatchTimeout: 2 * time.Second, + RemoteServerURL: targetServer.Addr(), + }, + noopTracer, + ) tracer, err := mocks.NewTracer(context.Background(), "localhost:4317") require.NoError(t, err) diff --git a/agent/proto/orchestrator.pb.go b/agent/proto/orchestrator.pb.go index 8c0b8d2cb0..a38d29ef10 100644 --- a/agent/proto/orchestrator.pb.go +++ b/agent/proto/orchestrator.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 -// protoc v3.21.12 +// protoc-gen-go v1.31.0 +// protoc v4.24.2 // source: proto/orchestrator.proto package proto @@ -3138,7 +3138,7 @@ var file_proto_orchestrator_proto_rawDesc = []byte{ 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, - 0x65, 0x74, 0x32, 0xb6, 0x03, 0x0a, 0x0c, 0x4f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, + 0x65, 0x74, 0x32, 0xea, 0x03, 0x0a, 0x0c, 0x4f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, @@ -3165,10 +3165,14 @@ var file_proto_orchestrator_proto_rawDesc = []byte{ 0x6e, 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x00, 0x30, 0x01, 0x42, 0x2b, 0x5a, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x73, 0x68, - 0x6f, 0x70, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x32, 0x0a, 0x04, 0x50, + 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, + 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, + 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b, 0x75, + 0x62, 0x65, 0x73, 0x68, 0x6f, 0x70, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x74, 0x65, 0x73, 0x74, + 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3280,14 +3284,16 @@ var file_proto_orchestrator_proto_depIdxs = []int32{ 5, // 49: proto.Orchestrator.RegisterPollerAgent:input_type -> proto.AgentIdentification 34, // 50: proto.Orchestrator.SendPolledSpans:input_type -> proto.PollingResponse 5, // 51: proto.Orchestrator.RegisterShutdownListener:input_type -> proto.AgentIdentification - 2, // 52: proto.Orchestrator.Connect:output_type -> proto.AgentConfiguration - 6, // 53: proto.Orchestrator.RegisterTriggerAgent:output_type -> proto.TriggerRequest - 0, // 54: proto.Orchestrator.SendTriggerResult:output_type -> proto.Empty - 22, // 55: proto.Orchestrator.RegisterPollerAgent:output_type -> proto.PollingRequest - 0, // 56: proto.Orchestrator.SendPolledSpans:output_type -> proto.Empty - 4, // 57: proto.Orchestrator.RegisterShutdownListener:output_type -> proto.ShutdownRequest - 52, // [52:58] is the sub-list for method output_type - 46, // [46:52] is the sub-list for method input_type + 5, // 52: proto.Orchestrator.Ping:input_type -> proto.AgentIdentification + 2, // 53: proto.Orchestrator.Connect:output_type -> proto.AgentConfiguration + 6, // 54: proto.Orchestrator.RegisterTriggerAgent:output_type -> proto.TriggerRequest + 0, // 55: proto.Orchestrator.SendTriggerResult:output_type -> proto.Empty + 22, // 56: proto.Orchestrator.RegisterPollerAgent:output_type -> proto.PollingRequest + 0, // 57: proto.Orchestrator.SendPolledSpans:output_type -> proto.Empty + 4, // 58: proto.Orchestrator.RegisterShutdownListener:output_type -> proto.ShutdownRequest + 0, // 59: proto.Orchestrator.Ping:output_type -> proto.Empty + 53, // [53:60] is the sub-list for method output_type + 46, // [46:53] is the sub-list for method input_type 46, // [46:46] is the sub-list for extension type_name 46, // [46:46] is the sub-list for extension extendee 0, // [0:46] is the sub-list for field type_name diff --git a/agent/proto/orchestrator.proto b/agent/proto/orchestrator.proto index f07dd654b8..efa0f7b135 100644 --- a/agent/proto/orchestrator.proto +++ b/agent/proto/orchestrator.proto @@ -25,6 +25,9 @@ service Orchestrator { // Register an agent to listen for shutdown commands rpc RegisterShutdownListener(AgentIdentification) returns (stream ShutdownRequest) {} + + // Ping is used to check if the agent is still connected + rpc Ping(AgentIdentification) returns (Empty) {} } // Empty message for endpoints that don't return anything diff --git a/agent/proto/orchestrator_grpc.pb.go b/agent/proto/orchestrator_grpc.pb.go index 63c2b490dd..c42f870bf5 100644 --- a/agent/proto/orchestrator_grpc.pb.go +++ b/agent/proto/orchestrator_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 -// - protoc v3.21.12 +// - protoc v4.24.2 // source: proto/orchestrator.proto package proto @@ -25,6 +25,7 @@ const ( Orchestrator_RegisterPollerAgent_FullMethodName = "/proto.Orchestrator/RegisterPollerAgent" Orchestrator_SendPolledSpans_FullMethodName = "/proto.Orchestrator/SendPolledSpans" Orchestrator_RegisterShutdownListener_FullMethodName = "/proto.Orchestrator/RegisterShutdownListener" + Orchestrator_Ping_FullMethodName = "/proto.Orchestrator/Ping" ) // OrchestratorClient is the client API for Orchestrator service. @@ -45,6 +46,8 @@ type OrchestratorClient interface { SendPolledSpans(ctx context.Context, in *PollingResponse, opts ...grpc.CallOption) (*Empty, error) // Register an agent to listen for shutdown commands RegisterShutdownListener(ctx context.Context, in *AgentIdentification, opts ...grpc.CallOption) (Orchestrator_RegisterShutdownListenerClient, error) + // Ping is used to check if the agent is still connected + Ping(ctx context.Context, in *AgentIdentification, opts ...grpc.CallOption) (*Empty, error) } type orchestratorClient struct { @@ -178,6 +181,15 @@ func (x *orchestratorRegisterShutdownListenerClient) Recv() (*ShutdownRequest, e return m, nil } +func (c *orchestratorClient) Ping(ctx context.Context, in *AgentIdentification, opts ...grpc.CallOption) (*Empty, error) { + out := new(Empty) + err := c.cc.Invoke(ctx, Orchestrator_Ping_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // OrchestratorServer is the server API for Orchestrator service. // All implementations must embed UnimplementedOrchestratorServer // for forward compatibility @@ -196,6 +208,8 @@ type OrchestratorServer interface { SendPolledSpans(context.Context, *PollingResponse) (*Empty, error) // Register an agent to listen for shutdown commands RegisterShutdownListener(*AgentIdentification, Orchestrator_RegisterShutdownListenerServer) error + // Ping is used to check if the agent is still connected + Ping(context.Context, *AgentIdentification) (*Empty, error) mustEmbedUnimplementedOrchestratorServer() } @@ -221,6 +235,9 @@ func (UnimplementedOrchestratorServer) SendPolledSpans(context.Context, *Polling func (UnimplementedOrchestratorServer) RegisterShutdownListener(*AgentIdentification, Orchestrator_RegisterShutdownListenerServer) error { return status.Errorf(codes.Unimplemented, "method RegisterShutdownListener not implemented") } +func (UnimplementedOrchestratorServer) Ping(context.Context, *AgentIdentification) (*Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") +} func (UnimplementedOrchestratorServer) mustEmbedUnimplementedOrchestratorServer() {} // UnsafeOrchestratorServer may be embedded to opt out of forward compatibility for this service. @@ -351,6 +368,24 @@ func (x *orchestratorRegisterShutdownListenerServer) Send(m *ShutdownRequest) er return x.ServerStream.SendMsg(m) } +func _Orchestrator_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AgentIdentification) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OrchestratorServer).Ping(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Orchestrator_Ping_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OrchestratorServer).Ping(ctx, req.(*AgentIdentification)) + } + return interceptor(ctx, in, info, handler) +} + // Orchestrator_ServiceDesc is the grpc.ServiceDesc for Orchestrator service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -370,6 +405,10 @@ var Orchestrator_ServiceDesc = grpc.ServiceDesc{ MethodName: "SendPolledSpans", Handler: _Orchestrator_SendPolledSpans_Handler, }, + { + MethodName: "Ping", + Handler: _Orchestrator_Ping_Handler, + }, }, Streams: []grpc.StreamDesc{ { diff --git a/docs/docs/configuration/overview.md b/docs/docs/configuration/overview.md index 3fd311cb34..bfa2828b8f 100644 --- a/docs/docs/configuration/overview.md +++ b/docs/docs/configuration/overview.md @@ -34,7 +34,7 @@ View [configuration for OpenTelemetry Collector](./connecting-to-data-stores/ope ## Trace Data Store Configuration Examples -Examples of configuring Tracetest to access different data stores can be found in the [`examples` folder of the Tracetest GitHub repo](https://github.com/kubeshop/tracetest/tree/main/examples). Check out the [**Recipes**](../examples-tutorials/recipes.md) for guided walkthroughs of sample use cases. +Examples of configuring Tracetest to access different data stores can be found in the [`examples` folder of the Tracetest GitHub repo](https://github.com/kubeshop/tracetest/tree/main/examples). Check out the [**Recipes**](../examples-tutorials/recipes.mdx) for guided walkthroughs of sample use cases. We will be adding new data stores over the next couple of months - [let us know](https://github.com/kubeshop/tracetest/issues/new/choose) any additional data stores you would like to see us support. diff --git a/docs/docs/examples-tutorials/overview.mdx b/docs/docs/examples-tutorials/overview.mdx new file mode 100644 index 0000000000..3d7068928a --- /dev/null +++ b/docs/docs/examples-tutorials/overview.mdx @@ -0,0 +1,24 @@ +--- +id: overview +title: Welcome to Tracetest Examples & Tutorials! 👋 +description: Here you can find examples, recipes, tutorials, and video content to help you get started with Tracetest. +hide_table_of_contents: false +keywords: + - tracetest + - trace-based testing + - observability + - distributed tracing + - testing +image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png +breadcrumb_label: Nothing +--- + +import CodeBlock from '@theme/CodeBlock'; + +Find tutorials and guides to help you get started with Tracetest. + +```mdx-code-block +import {ExamplesTutorialsOverviewRow} from '@site/src/components/ExamplesTutorialsOverview'; + + +``` diff --git a/docs/docs/examples-tutorials/recipes.md b/docs/docs/examples-tutorials/recipes.mdx similarity index 78% rename from docs/docs/examples-tutorials/recipes.md rename to docs/docs/examples-tutorials/recipes.mdx index c743d2e5af..9eacfd1f77 100644 --- a/docs/docs/examples-tutorials/recipes.md +++ b/docs/docs/examples-tutorials/recipes.mdx @@ -1,6 +1,25 @@ -# Recipes +--- +id: recipes +title: 🍱 Recipes +description: Here you can find tutorials to help you get started with Tracetest. +hide_table_of_contents: false +keywords: + - tracetest + - trace-based testing + - observability + - distributed tracing + - testing +image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png +breadcrumb_label: Nothing +--- -These recipes will show you the best practices for using Tracetest. +If you're already building something with Tracetest, explore these Recipes. They're short, self-contained, and runnable solutions to popular use cases. + +## Streams and Message Queues + +These recipes show how to trigger Tracetest test runs with message queues like Kafka. + +- [Testing Kafka in a Go API with OpenTelemetry](./recipes/testing-kafka-go-api-with-opentelemetry-tracetest.mdx) ## Trace Data Stores @@ -8,16 +27,22 @@ These recipes show integrations with trace data stores and tracing vendors/provi ### OpenTelemetry Collector -This integration point uses the OpenTelemetry Collector as a router to send trace data to both Tracetest and tracing vendors/providers. +This integration point uses the OpenTelemetry Collector as a router to send trace data to Tracetest. - [Sending traces directly to Tracetest from a Node.js app using OpenTelemetry Collector](./recipes/running-tracetest-without-a-trace-data-store.md) - [Sending traces with manual instrumentation directly to Tracetest from a Node.js app using OpenTelemetry Collector](./recipes/running-tracetest-without-a-trace-data-store-with-manual-instrumentation.md) - [Sending traces with manual instrumentation directly to Tracetest from a Python app using OpenTelemetry Collector](./recipes/running-python-app-with-opentelemetry-collector-and-tracetest.md) + +### OpenTelemetry Collector + Tracing Vendors + +This integration point uses the OpenTelemetry Collector as a router to send trace data to both Tracetest and tracing vendors/providers. + - [Sending traces to Lightstep and Tracetest from the OpenTelemetry Demo with OpenTelemetry Collector](./recipes/running-tracetest-with-lightstep.md) - [Sending traces to New Relic and Tracetest from the OpenTelemetry Demo with OpenTelemetry Collector](./recipes/running-tracetest-with-new-relic.md) - [Sending traces to Datadog and Tracetest from the OpenTelemetry Demo with OpenTelemetry Collector](./recipes/running-tracetest-with-datadog.md) - [Sending traces to Honeycomb and Tracetest from a Node.js app using the OpenTelemetry Collector](./recipes/running-tracetest-with-honeycomb.md) - [Sending traces to Dynatrace and Tracetest from the OpenTelemetry Demo with OpenTelemetry Collector](./recipes/running-tracetest-with-dynatrace.md) +- [Sending traces to SigNoz and Tracetest from the Pokeshop API with OpenTelemetry Collector](./recipes/running-tracetest-with-signoz-pokeshop.md) ### Jaeger diff --git a/docs/docs/examples-tutorials/recipes/testing-kafka-go-api-with-opentelemetry-tracetest.mdx b/docs/docs/examples-tutorials/recipes/testing-kafka-go-api-with-opentelemetry-tracetest.mdx new file mode 100644 index 0000000000..163f7cddd5 --- /dev/null +++ b/docs/docs/examples-tutorials/recipes/testing-kafka-go-api-with-opentelemetry-tracetest.mdx @@ -0,0 +1,331 @@ +--- +id: testing-kafka-go-api-with-opentelemetry-tracetest +title: Testing Kafka in a Go API with OpenTelemetry and Tracetest +description: Use Tracetest to run trace-based tests against Kafka in a Go API. +hide_table_of_contents: false +keywords: + - tracetest + - trace-based testing + - observability + - distributed tracing + - testing +image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png +--- + +:::note +[Check out the source code on GitHub here.](https://github.com/kubeshop/tracetest/tree/main/examples/quick-start-go-and-kafka) +::: + +[Tracetest](https://tracetest.io/) is a testing tool based on [OpenTelemetry](https://opentelemetry.io/) that allows you to test your distributed application. It allows you to use data from distributed traces generated by OpenTelemetry to validate and assert if your application has the desired behavior defined by your test definitions. + +## Sample Go APIs with OpenTelemetry Collector, Jaeger and Tracetest + +This is a simple quick start on how to configure two Go APIs to communicate via Kafka. They use OpenTelemetry instrumentation with traces, Jaeger as a trace data store, and Tracetest for enhancing your E2E and integration tests with trace-based testing. + +## Prerequisites + +You will need [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/) installed on your machine to run this quick start app! + +## Project Structure + +The project is built with Docker Compose. It contains one `docker-compose.yaml` file that configures Tracetest, Jaeger, OpenTelemetry Collector, and both Go apps. + +### 1. Go APIs + +The `docker-compose.yaml` file references two Go apps, and one Kafka stream. + +- Producer API: Builds the `./producer-api/Dockerfile` +- Consumer Worker: Builds the `./consumer-worker/Dockerfile` + +The producer publishes a message to Kafka when receiving a POST request to the `/publish` endpoint. + +The consumer accepts a message through Kafka. + + +### 2. Tracetest + +The `collector.config.yaml`, `tracetest-provision.yaml`, and `tracetest-config.yaml` in the `tracetest` directory are for the setting up Tracetest and the OpenTelemetry Collector. + +### Docker Compose Network + +All `services` in the `docker-compose.yaml` are on the same network and will be reachable by hostname from within other services. E.g. `jaeger:4317` in the `collector.config.yaml` will map to the `jaeger` service, where the port `4317` is the port where Jaeger accepts traces. + +## Go Producer API + +The Go API is a simple HTTP server, [contained in the `main.go` file](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/producer-api/main.go). + +The OpenTelemetry tracing is [contained in the `./telemetry/telemetry.go` file](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/producer-api/telemetry/telemetry.go). +Traces will be sent to the OpenTelemetry Collector, and forwarded to Jaeger. + +Traces will be sent to either the `grpc` endpoint. The hostname and port as seen in the env section of the `producer-api` in the `docker-compose.yaml` is: + +- `OTEL_EXPORTER_OTLP_ENDPOINT=otel-collector:4317` + +The server starts by running the `main.go` file. + +As you can see [in the `Dockerfile`](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/producer-api/Dockerfile). + +```Dockerfile +FROM golang:alpine as builder +ENV GO111MODULE=on +RUN apk update && apk add --no-cache git + +WORKDIR /app +COPY go.mod ./ +COPY go.sum ./ +RUN go mod download +COPY . . +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/main . + +FROM scratch +COPY --from=builder /app/bin/main . +CMD ["./main"] +``` + +And, [the `docker-compose.yaml` contains one service](https://github.com/kubeshop/tracetest/blob/3caff14247d745035f7cbbb68a7208f6da4e51fd/examples/quick-start-go-and-kafka/docker-compose.yaml#L3C3-L21C1) for the Go Producer API. + +```yaml + producer-api: + image: quick-start-producer-api + platform: linux/amd64 + build: ./producer-api + extra_hosts: + - "host.docker.internal:host-gateway" + ports: + - 8080:8080 + environment: + - OTEL_EXPORTER_OTLP_ENDPOINT=otel-collector:4317 + - OTEL_SERVICE_NAME=producer-api + - KAFKA_BROKER_URL=kafka:9092 + - KAFKA_TOPIC=messaging + depends_on: + otel-collector: + condition: service_started + kafka: + condition: service_healthy +``` + +## Go Consumer Worker + +The Go API is a simple HTTP server, [contained in the `main.go` file](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/producer-api/main.go). + +The OpenTelemetry tracing is [contained in the `./telemetry/telemetry.go` file](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/producer-api/telemetry/telemetry.go). +Traces will be sent to the OpenTelemetry Collector, and forwarded to Jaeger. + +Traces will be sent to either the `grpc` endpoint. The hostname and port as seen in the env section of the `producer-api` in the `docker-compose.yaml` is: + +- `OTEL_EXPORTER_OTLP_ENDPOINT=otel-collector:4317` + +The server starts by running the `main.go` file. + +As you can see [in the `Dockerfile`](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/producer-api/Dockerfile). + +```Dockerfile +FROM golang:alpine as builder +ENV GO111MODULE=on +RUN apk update && apk add --no-cache git + +WORKDIR /app +COPY go.mod ./ +COPY go.sum ./ +RUN go mod download +COPY . . +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/main . + +FROM scratch +COPY --from=builder /app/bin/main . +CMD ["./main"] +``` + +And, [the `docker-compose.yaml` contains one service](https://github.com/kubeshop/tracetest/blob/3caff14247d745035f7cbbb68a7208f6da4e51fd/examples/quick-start-go-and-kafka/docker-compose.yaml#L3C3-L21C1) for the Go Producer API. + +```yaml + producer-api: + image: quick-start-producer-api + platform: linux/amd64 + build: ./producer-api + extra_hosts: + - "host.docker.internal:host-gateway" + ports: + - 8080:8080 + environment: + - OTEL_EXPORTER_OTLP_ENDPOINT=otel-collector:4317 + - OTEL_SERVICE_NAME=producer-api + - KAFKA_BROKER_URL=kafka:9092 + - KAFKA_TOPIC=messaging + depends_on: + otel-collector: + condition: service_started + kafka: + condition: service_healthy +``` + +## Tracetest + +The `docker-compose.yaml` configures four services more including Tracetest. + +- **Postgres** - Postgres is a prerequisite for Tracetest to work. It stores trace data when running the trace-based tests. +- [**OpenTelemetry Collector**](https://opentelemetry.io/docs/collector/) - A vendor-agnostic implementation of how to receive, process and export telemetry data. +- [**Jaeger**](https://www.jaegertracing.io/) - Open source, distributed tracing platform. Monitor and troubleshoot workflows in complex distributed systems. +- [**Tracetest**](https://tracetest.io/) - Trace-based testing that generates end-to-end tests automatically from traces. + +```yaml + tracetest: + image: kubeshop/tracetest:${TAG:-latest} + platform: linux/amd64 + volumes: + - type: bind + source: ./tracetest/tracetest-config.yaml + target: /app/tracetest.yaml + - type: bind + source: ./tracetest/tracetest-provision.yaml + target: /app/provisioning.yaml + ports: + - 11633:11633 + command: --provisioning-file /app/provisioning.yaml + depends_on: + postgres: + condition: service_healthy + otel-collector: + condition: service_started + jaeger: + condition: service_started + healthcheck: + test: ["CMD", "wget", "--spider", "localhost:11633"] + interval: 1s + timeout: 3s + retries: 60 + environment: + TRACETEST_DEV: ${TRACETEST_DEV} + + postgres: + image: postgres:14 + environment: + POSTGRES_PASSWORD: postgres + POSTGRES_USER: postgres + healthcheck: + test: pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB" + interval: 1s + timeout: 5s + retries: 60 + ports: + - 5432:5432 + + otel-collector: + image: otel/opentelemetry-collector-contrib:0.59.0 + command: + - "--config" + - "/otel-local-config.yaml" + volumes: + - ./tracetest/collector.config.yaml:/otel-local-config.yaml + ports: + - 4317:4317 + depends_on: + jaeger: + condition: service_started + + jaeger: + image: jaegertracing/all-in-one:latest + restart: unless-stopped + ports: + - 16686:16686 + - 16685:16685 + environment: + - COLLECTOR_OTLP_ENABLED=true + healthcheck: + test: ["CMD", "wget", "--spider", "localhost:16686"] + interval: 1s + timeout: 3s + retries: 60 +``` + +Tracetest depends on all three services, Postgres, Jaeger, and the OpenTelemetry Collector. Both Tracetest and the OpenTelemetry Collector require config files to be loaded via a volume. The volumes are mapped from the root directory into the `tracetest` directory and the respective config files. + +[The `tracetest-config.yaml` file](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/tracetest/tracetest-config.yaml) contains the basic setup of connecting Tracetest to the Postgres instance. + +```yaml +postgres: + host: postgres + user: postgres + password: postgres + port: 5432 + dbname: postgres + params: sslmode=disable +``` + +[The `tracetest-provision.yaml` file](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/tracetest/tracetest-provision.yaml) provisions the trace data store and polling to store in the Postgres database. The data store is set to OTLP, meaning the traces will be stored in Tracetest itself. + +```yaml +--- +type: PollingProfile +spec: + name: Default + strategy: periodic + default: true + periodic: + retryDelay: 5s + timeout: 10m + +--- +type: DataStore +spec: + name: Jaeger + type: jaeger + default: true + jaeger: + endpoint: jaeger:16685 + tls: + insecure: true +``` + +But how are traces sent to Tracetest? + +[The `collector.config.yaml` explains that](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/tracetest/collector.config.yaml). It receives traces via the `grpc` or `http`. Then, exports them to Jaeger's OLTP endpoint `jaeger:4317`. + +```yaml +receivers: + otlp: + protocols: + grpc: + http: + +processors: + batch: + timeout: 100ms + +exporters: + logging: + loglevel: debug + otlp/jaeger: + endpoint: jaeger:4317 + tls: + insecure: true + +service: + pipelines: + traces/1: + receivers: [otlp] + processors: [batch] + exporters: [otlp/jaeger] +``` + +## Run Both the Go Apps and Tracetest + +To start both Go apps and Tracetest we will run this command: + +```bash +docker-compose up # add --build if the images are not built already +``` + +This will start your Tracetest instance on `http://localhost:11633/`. + +Open the URL and start creating tests! Make sure to use the `http://producer-api:8080/publish` URL in your test creation, because your Go app and Tracetest are in the same network. + +Here are two sample tests you can get started with quickly. + +- [Testing the Consumer](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/test-consumer.yaml) +- [Testing the Producer](https://github.com/kubeshop/tracetest/blob/main/examples/quick-start-go-and-kafka/test-producer.yaml) + +## Learn More + +Feel free to check out our [examples in GitHub](https://github.com/kubeshop/tracetest/tree/main/examples) and join our [Discord Community](https://discord.gg/8MtcMrQNbX) for more info! diff --git a/docs/docs/examples-tutorials/overview.md b/docs/docs/examples-tutorials/tutorials.mdx similarity index 59% rename from docs/docs/examples-tutorials/overview.md rename to docs/docs/examples-tutorials/tutorials.mdx index 98fc0e5626..c39c0674f3 100644 --- a/docs/docs/examples-tutorials/overview.md +++ b/docs/docs/examples-tutorials/tutorials.mdx @@ -1,67 +1,69 @@ -# Examples & Tutorials +--- +id: tutorials +title: 👨‍💻 Tutorials +description: Here you can find tutorials to help you get started with Tracetest. +hide_table_of_contents: false +keywords: + - tracetest + - trace-based testing + - observability + - distributed tracing + - testing +image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png +breadcrumb_label: Nothing +--- -Below you can find tutorials to help you get started with Tracetest. - -## Recipes +Check out the following blog posts with Tracetest-related content. -If you're already building something with Tracetest, please explore [Recipes](./recipes.md) — short, self-contained, and runnable solutions to popular use cases. +## Integrations -## Tutorials +### Distributed Tracing Vendors -Check out the following blog posts with Tracetest-related content. +- [Tracetest + Dynatrace: Unified Observability for Testing](https://tracetest.io/blog/tracetest-dynatrace-unified-observability-for-testing) +- [Honeycomb + Tracetest: Observability-driven Development](https://tracetest.io/blog/honeycomb-tracetest-observability-driven-development) +- [Tracetest + Elastic: Trace-based testing meets APM](https://tracetest.io/blog/tracetest-integration-elastic-trace-based-testing-application-performance-monitoring) +- [Monitoring and Testing Cloud Native APIs with Grafana](https://tracetest.io/blog/monitoring-and-testing-cloud-native-apis-with-grafana) +- [Announcing the Tracetest integration with Lightstep](https://tracetest.io/blog/tracetest-integration-with-lightstep) +- [Enabling Tracetest to Work Directly with OpenSearch](https://tracetest.io/blog/tracetest-opensearch-integration) -### Integrations +### Cloud Providers -- [Honeycomb + Tracetest: Observability-driven Development](https://tracetest.io/blog/honeycomb-tracetest-observability-driven-development) - [Trace-based testing cloud-native apps with AWS X-Ray and Tracetest](https://tracetest.io/blog/trace-based-testing-cloud-native-apps-with-aws-x-ray-and-tracetest) +- [Announcing the Tracetest Integration with Azure App Insights](https://tracetest.io/blog/announcing-the-tracetest-integration-with-azure-app-insights) +- [Observability and Trace-based Testing in AWS](https://tracetest.io/blog/observability-trace-based-testing-aws-serverless-opensearch-tracetest) + +### Tools + - [Event-driven Kubernetes testing with Testkube and Tracetest](https://tracetest.io/blog/event-driven-kubernetes-testing-with-testkube-and-tracetest) - [Announcing the Tracetest integration with Keptn](https://tracetest.io/blog/announcing-the-tracetest-integration-with-keptn-the-control-plane-for-cloud-native-application-life-cycle-orchestration) - [Tracetest + k6: Deep Load Testing of your Cloud Native System](https://tracetest.io/blog/announcing-the-tracetest-integration-with-k6-deep-load-testing-of-your-cloud-native-system) -- [Tracetest + Elastic: Trace-based testing meets APM](https://tracetest.io/blog/tracetest-integration-elastic-trace-based-testing-application-performance-monitoring) -- [Announcing the Tracetest integration with Lightstep](https://tracetest.io/blog/tracetest-integration-with-lightstep) -- [Observability and Trace-based Testing in AWS](https://tracetest.io/blog/observability-trace-based-testing-aws-serverless-opensearch-tracetest) -- [Enabling Tracetest to Work Directly with OpenSearch](https://tracetest.io/blog/tracetest-opensearch-integration) - [Integrating Tracetest with GitHub Actions in a CI pipeline](https://tracetest.io/blog/integrating-tracetest-with-github-actions-in-a-ci-pipeline) -### Best Practices +## Best Practices + +### OpenTelemetry +- [Why did OpenTelemetry Ditch Black-box Tests?](https://tracetest.io/blog/why-did-opentelemetry-ditch-black-box-tests) - [Running Trace-Based Tests on the OpenTelemetry Demo App with Nomad](https://tracetest.io/blog/tracetest-in-action-running-trace-based-tests-on-the-opentelemetry-demo-app-with-nomad) + +### Testing Distributed Systems + - [Ad Hoc Testing of Distributed Systems](https://tracetest.io/blog/ad-hoc-testing-of-distributed-systems) - [Chaining API Tests to Handle Complex Distributed System Testing](https://tracetest.io/blog/chaining-api-tests-to-handle-complex-distributed-system-testing) -- [Observability-driven development with Go and Tracetest](https://tracetest.io/blog/observability-driven-development-with-go-and-tracetest) -- [The difference between test-driven & observability-driven development](https://tracetest.io/blog/the-difference-between-tdd-and-odd) - [Integration Tests: Pros and Cons of Doubles vs. Trace-Based Testing](https://tracetest.io/blog/integration-tests-pros-and-cons-of-doubles-vs-trace-based-testing) - [Detect & Fix Performance Issues Using Tracetest](https://tracetest.io/blog/detect-fix-performance-issues-using-tracetest) +- [Where Does Trace-Based Testing Fit in the Testing Pyramid?](https://thenewstack.io/where-does-trace-based-testing-fit-in-the-testing-pyramid/) -### OpenTelemetry Community - -- [Frontend Overhaul of the OpenTelemetry Demo (Go to Next.js)](https://tracetest.io/blog/frontend-overhaul-opentelemetry-demo) -- [Is it Observable? with Henrik Rexed](https://tracetest.io/blog/is-it-observable-with-henrik-rexed) -- [Tracing the History of Distributed Tracing & OpenTelemetry](https://tracetest.io/blog/tracing-the-history-of-distributed-tracing-opentelemetry) +### Observability-driven development -### Webinars - -- [Tracetest Community Call in April 2023 - Tracetest turns 1 year old!](https://www.youtube.com/watch?v=OrstjSvMFio) -- [Tracetest Community Call in March 2023](https://www.youtube.com/watch?v=U_94bEptrrE) -- [Trace-based testing in Kubernetes](https://www.youtube.com/watch?v=nAp3zYgykok) -- [Tracetest Community Call in February 2023](https://www.youtube.com/watch?v=v0lgw6t58YA) -- [Integrating k6 and Tracetest (k6 Office Hours #77)](https://www.youtube.com/watch?v=Dog70D7aVyg) -- [Keptn Community & Developer Meeting - Feb 1, 2023](https://youtu.be/-9X3XTdGK_s?t=767) -- [Tracetest Community Call in January 2023](https://www.youtube.com/watch?v=n5ESTR8vpH8) -- [Tracetest v0.8 Release - Transactions and Environments](https://www.youtube.com/watch?v=mp7f4RVi97g) -- [Tracetest v0.7 Release - Installation & Workflow Updates](https://www.youtube.com/watch?v=iqGYysqNQNk) -- [Is it Observable | Introduction to Tracetest - with Ken Hamric](https://www.youtube.com/watch?v=xj7tS2owRvk) -- [Tracetest v0.6 Release - gRPC, Postman and More](https://www.youtube.com/watch?v=xpEKHK5VXB0) -- [Introduction to Tracetest - E2E Tests Powered by OpenTelemetry](https://youtu.be/mqwJRxqBNCg) - -### Conference Talks +- [Observability-driven development with Go and Tracetest](https://tracetest.io/blog/observability-driven-development-with-go-and-tracetest) +- [The difference between test-driven & observability-driven development](https://tracetest.io/blog/the-difference-between-tdd-and-odd) -- [Observability-driven development with OpenTelemetry - FOSDEM 2023](https://2023.fosdem.sojourner.rocks/event/14490) -- [How Testability Drives Observability - Open Source Summit Dublin 2022](https://www.youtube.com/watch?v=x5sQg4MNFxI) -### Video Courses +### Contributions to the OpenTelemetry Community -- Observability-driven development 3-part video tutorial: - - [Part 1](https://www.youtube.com/watch?v=LXVBnPqxspY) - - [Part 2](https://www.youtube.com/watch?v=gLl_QmIU7UA) - - [Part 3](https://www.youtube.com/watch?v=lHMDDyAtxWE) +- [Trace-based Testing the OpenTelemetry Demo](https://opentelemetry.io/blog/2023/testing-otel-demo/) +- [Creating a Kubernetes Cluster with Runtime Observability](https://opentelemetry.io/blog/2023/k8s-runtime-observability/) +- [Frontend Overhaul of the OpenTelemetry Demo (Go to Next.js)](https://tracetest.io/blog/frontend-overhaul-opentelemetry-demo) +- [Is it Observable? with Henrik Rexed](https://tracetest.io/blog/is-it-observable-with-henrik-rexed) +- [Tracing the History of Distributed Tracing & OpenTelemetry](https://tracetest.io/blog/tracing-the-history-of-distributed-tracing-opentelemetry) diff --git a/docs/docs/examples-tutorials/videos.mdx b/docs/docs/examples-tutorials/videos.mdx new file mode 100644 index 0000000000..fd3b665aca --- /dev/null +++ b/docs/docs/examples-tutorials/videos.mdx @@ -0,0 +1,27 @@ +--- +id: videos +title: 📽️ Videos +description: Check out Tracetest video guides and conference talks! +hide_table_of_contents: false +keywords: + - tracetest + - trace-based testing + - observability + - distributed tracing + - testing +image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png +breadcrumb_label: Nothing +--- + +### Conference Talks + +- [What is observability-driven development? - Conf42 Observability 2023](https://www.youtube.com/watch?v=xtkgZxNbnPI&list=PLIuxSyKxlQrBCCwdUZP57C0rqM6HmC3GD&index=17) +- [Observability-driven development with OpenTelemetry - FOSDEM 2023](https://2023.fosdem.sojourner.rocks/event/14490) +- [How Testability Drives Observability - Open Source Summit Dublin 2022](https://www.youtube.com/watch?v=x5sQg4MNFxI) + +### Video Courses + +- Observability-driven development 3-part video tutorial: + - [Part 1](https://www.youtube.com/watch?v=LXVBnPqxspY) + - [Part 2](https://www.youtube.com/watch?v=gLl_QmIU7UA) + - [Part 3](https://www.youtube.com/watch?v=lHMDDyAtxWE) diff --git a/docs/docs/examples-tutorials/webinars.mdx b/docs/docs/examples-tutorials/webinars.mdx new file mode 100644 index 0000000000..1038c362c9 --- /dev/null +++ b/docs/docs/examples-tutorials/webinars.mdx @@ -0,0 +1,43 @@ +--- +id: webinars +title: 🎙️ Webinars +description: Here you can find Tracetest on-demand live streams and webinars! +hide_table_of_contents: false +keywords: + - tracetest + - trace-based testing + - observability + - distributed tracing + - testing +image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1689693872/docs/Blog_Thumbnail_28_ugy2yy.png +breadcrumb_label: Nothing +--- + +Watch on-demand webinars and community calls. + +## Live streams + +- [The Power of Traces: Why OpenTelemetry Embraced Trace-Based Testing](https://www.youtube.com/watch?v=2MSDy3XHjtE) +- [Using Traces for Testing - SigNoz Community Call with TraceTest and DevOps Educator Paulo](https://www.youtube.com/watch?v=a4OpEPoQTaE) +- [Let's react with Adriana Villela - New Tracetest Analyzer!](https://www.youtube.com/watch?v=AZiEST7EUhU&list=PL2Vye-us8_x8RYdMBZiXjTpSy3LMXmW-H&index=5) +- [Trace-based testing in Kubernetes](https://www.youtube.com/watch?v=nAp3zYgykok) +- [Integrating k6 and Tracetest (k6 Office Hours #77)](https://www.youtube.com/watch?v=Dog70D7aVyg) +- [Keptn Community & Developer Meeting - Feb 1, 2023](https://youtu.be/-9X3XTdGK_s?t=767) +- [Slight Reliability Episode 41 - Testing with Traces (with Ken Hamric)](https://www.youtube.com/watch?v=fna-5HQfdKA) +- [End-To-End Tests With OpenTelemetry and TraceTest](https://www.youtube.com/watch?v=1fBkclpSzZ8) +- [Is it Observable | Introduction to Tracetest - with Ken Hamric](https://www.youtube.com/watch?v=xj7tS2owRvk) + +## Community calls + +- [Tracetest Community Call in August 2023 - Introducing Kafka test triggers!](https://www.youtube.com/watch?v=uHmuimz39N4&list=PL2Vye-us8_x8RYdMBZiXjTpSy3LMXmW-H&index=2) +- [Tracetest Community Call in July 2023 - Testing the OTel Demo!](https://www.youtube.com/watch?v=gjRSjaW25Vo&list=PL2Vye-us8_x8RYdMBZiXjTpSy3LMXmW-H&index=3) +- [Tracetest Community Call in June 2023 - Let's automate tests!](https://www.youtube.com/watch?v=AA_0cw_jt1U&list=PL2Vye-us8_x8RYdMBZiXjTpSy3LMXmW-H&index=4) +- [Tracetest Community Call in May 2023 - Hackathon Vibes](https://www.youtube.com/watch?v=zsixXVU5cAE&list=PL2Vye-us8_x8RYdMBZiXjTpSy3LMXmW-H&index=6) +- [Tracetest Community Call in April 2023 - Tracetest turns 1 year old!](https://www.youtube.com/watch?v=OrstjSvMFio) +- [Tracetest Community Call in March 2023](https://www.youtube.com/watch?v=U_94bEptrrE) +- [Tracetest Community Call in February 2023](https://www.youtube.com/watch?v=v0lgw6t58YA) +- [Tracetest Community Call in January 2023](https://www.youtube.com/watch?v=n5ESTR8vpH8) +- [Tracetest v0.8 Release - Transactions and Environments](https://www.youtube.com/watch?v=mp7f4RVi97g) +- [Tracetest v0.7 Release - Installation & Workflow Updates](https://www.youtube.com/watch?v=iqGYysqNQNk) +- [Tracetest v0.6 Release - gRPC, Postman and More](https://www.youtube.com/watch?v=xpEKHK5VXB0) +- [Introduction to Tracetest - E2E Tests Powered by OpenTelemetry](https://youtu.be/mqwJRxqBNCg) \ No newline at end of file diff --git a/docs/docs/live-examples/opentelemetry-store/overview.md b/docs/docs/live-examples/opentelemetry-store/overview.md index d2b2f3bffe..f15c34075e 100644 --- a/docs/docs/live-examples/opentelemetry-store/overview.md +++ b/docs/docs/live-examples/opentelemetry-store/overview.md @@ -8,6 +8,15 @@ We will provide a full recipe below for running the full demo as well as running - **Running it locally in Docker**: [Instructions](https://opentelemetry.io/docs/demo/docker-deployment/) - **Running on Kubernetes**: [Instructions](https://opentelemetry.io/docs/demo/kubernetes-deployment/) +:::info +Tracetest is part of the official testing harness in the latest version of the OpenTelemetry Demo. Read more in the OpenTelemetry docs, [here](https://opentelemetry.io/docs/demo/tests/). + +Or, check out the hands-on workshop on YouTube! + + + +::: + ## Running the OpenTelemetry Astronomy Shop Demo in Docker ### Prerequisites @@ -15,22 +24,22 @@ We will provide a full recipe below for running the full demo as well as running - Docker - Docker Compose v2.0.0+ - 4 GB of RAM for the application - + ### Get and run the demo -1. Clone the Demo repository: +1. Clone the Demo repository: ```shell git clone https://github.com/open-telemetry/opentelemetry-demo.git ``` -2. Change to the demo folder: +2. Change to the demo folder: ```shell cd opentelemetry-demo/ ``` -3. Run docker compose[^1] to start the demo: +3. Run docker compose[^1] to start the demo: ```shell docker compose up --no-build @@ -89,7 +98,6 @@ make run-tracetesting SERVICES_TO_TEST="ad-service payment-service" Tracetest will be started on [http://localhost:11633](http://localhost:11633) as part of running these tests and you can view any of the tests, Test Suites, prior runs, or create and run your own tests. It is a great testbed to explore Tracetest! - ## Use Cases - [Add item into shopping cart](./use-cases/add-item-into-shopping-cart.md): Simulate a user choosing an item and adding it to the shopping cart. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index eb3e11f667..f00042e56a 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -229,6 +229,13 @@ const config = { disableSwitch: false, respectPrefersColorScheme: false, }, + // Use this to add an announcement for a webinar or event. + announcementBar: { + id: 'announcement', + content: + 'Tracetest is the official testing harness for the OpenTelemetry Demo! 🚀', + isCloseable: false, + }, navbar: { hideOnScroll: true, logo: { diff --git a/docs/sidebars.js b/docs/sidebars.js index 926c048931..c9e90413ec 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -25,11 +25,11 @@ const sidebars = { liveExamplesSidebar: [ { type: "category", - label: "Pokemon API Demo", + label: "OpenTelemetry Store Demo", items: [ { type: "doc", - id: "live-examples/pokeshop/overview", + id: "live-examples/opentelemetry-store/overview", label: "Overview", }, { @@ -38,28 +38,28 @@ const sidebars = { items: [ { type: "doc", - id: "live-examples/pokeshop/use-cases/add-pokemon", - label: "Add Pokemon", + id: "live-examples/opentelemetry-store/use-cases/add-item-into-shopping-cart", + label: "Add Item into Shopping Cart", }, { type: "doc", - id: "live-examples/pokeshop/use-cases/list-pokemon", - label: "List Pokemon", + id: "live-examples/opentelemetry-store/use-cases/check-shopping-cart-contents", + label: "Check Shopping Cart Contents", }, { type: "doc", - id: "live-examples/pokeshop/use-cases/get-pokemon-by-id", - label: "Get Pokemon by ID", + id: "live-examples/opentelemetry-store/use-cases/checkout", + label: "Checkout", }, { type: "doc", - id: "live-examples/pokeshop/use-cases/import-pokemon", - label: "Import Pokemon", + id: "live-examples/opentelemetry-store/use-cases/get-recommended-products", + label: "Get Recommended Products", }, { type: "doc", - id: "live-examples/pokeshop/use-cases/import-pokemon-from-stream", - label: "Import Pokemon from Stream", + id: "live-examples/opentelemetry-store/use-cases/user-purchasing-products", + label: "User Purchasing Products", }, ], }, @@ -67,11 +67,11 @@ const sidebars = { }, { type: "category", - label: "OpenTelemetry Store Demo", + label: "Pokemon API Demo", items: [ { type: "doc", - id: "live-examples/opentelemetry-store/overview", + id: "live-examples/pokeshop/overview", label: "Overview", }, { @@ -80,28 +80,28 @@ const sidebars = { items: [ { type: "doc", - id: "live-examples/opentelemetry-store/use-cases/add-item-into-shopping-cart", - label: "Add Item into Shopping Cart", + id: "live-examples/pokeshop/use-cases/add-pokemon", + label: "Add Pokemon", }, { type: "doc", - id: "live-examples/opentelemetry-store/use-cases/check-shopping-cart-contents", - label: "Check Shopping Cart Contents", + id: "live-examples/pokeshop/use-cases/list-pokemon", + label: "List Pokemon", }, { type: "doc", - id: "live-examples/opentelemetry-store/use-cases/checkout", - label: "Checkout", + id: "live-examples/pokeshop/use-cases/get-pokemon-by-id", + label: "Get Pokemon by ID", }, { type: "doc", - id: "live-examples/opentelemetry-store/use-cases/get-recommended-products", - label: "Get Recommended Products", + id: "live-examples/pokeshop/use-cases/import-pokemon", + label: "Import Pokemon", }, { type: "doc", - id: "live-examples/opentelemetry-store/use-cases/user-purchasing-products", - label: "User Purchasing Products", + id: "live-examples/pokeshop/use-cases/import-pokemon-from-stream", + label: "Import Pokemon from Stream", }, ], }, @@ -117,113 +117,187 @@ const sidebars = { }, { type: "doc", - id: "examples-tutorials/recipes", - label: "Recipes", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-without-a-trace-data-store", - label: "Node.js and OpenTelemetry Collector", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-without-a-trace-data-store-with-manual-instrumentation", - label: "Node.js with Manual Instrumentation and OpenTelemetry Collector", + id: "examples-tutorials/tutorials", + label: "Tutorials", }, { - type: "doc", - id: "examples-tutorials/recipes/running-python-app-with-opentelemetry-collector-and-tracetest", - label: "Python with Manual Instrumentation and OpenTelemetry Collector", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-jaeger", - label: "Node.js and Jaeger", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-opensearch", - label: "Node.js and OpenSearch", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-tempo", - label: "Node.js and Tempo", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-lightstep", - label: "OpenTelemetry Demo and Lightstep", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-new-relic", - label: "OpenTelemetry Demo and New Relic", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-elasticapm", - label: "Node.js and Elastic APM", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-aws-x-ray", - label: "X-Ray", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-aws-x-ray-adot", - label: "X-Ray and AWS Distro for OpenTelemetry", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-aws-x-ray-pokeshop", - label: "X-Ray, AWS Distro for OpenTelemetry and Pokeshop API", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-aws-terraform", - label: "AWS Fargate and Terraform", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-step-functions-terraform", - label: "AWS Step Functions, AWS X-Ray and Terraform", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-datadog", - label: "OpenTelemetry Demo and Datadog", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-dynatrace", - label: "OpenTelemetry Demo and Dynatrace", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-honeycomb", - label: "Node.js and Honeycomb", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-signoz-pokeshop", - label: "SigNoz and Pokeshop API", - }, - { - type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-azure-app-insights", - label: "Azure App Insights", + type: "category", + link: { + type: "doc", + id: "examples-tutorials/recipes" + }, + label: "Recipes", + items: [ + { + type: "category", + label: "Streams and Message Queues", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/testing-kafka-go-api-with-opentelemetry-tracetest", + label: "Testing Kafka", + }, + ], + }, + { + type: "category", + label: "OpenTelemetry Collector", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-without-a-trace-data-store", + label: "Node.js and OpenTelemetry Collector", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-without-a-trace-data-store-with-manual-instrumentation", + label: "Node.js with Manual Instrumentation and OpenTelemetry Collector", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-python-app-with-opentelemetry-collector-and-tracetest", + label: "Python with Manual Instrumentation and OpenTelemetry Collector", + }, + ], + }, + { + type: "category", + label: "OpenTelemetry Collector + Tracing Vendors", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-lightstep", + label: "OpenTelemetry Demo and Lightstep", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-new-relic", + label: "OpenTelemetry Demo and New Relic", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-elasticapm", + label: "Node.js and Elastic APM", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-datadog", + label: "OpenTelemetry Demo and Datadog", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-dynatrace", + label: "OpenTelemetry Demo and Dynatrace", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-honeycomb", + label: "Node.js and Honeycomb", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-signoz-pokeshop", + label: "SigNoz and Pokeshop API", + }, + ], + }, + { + type: "category", + label: "Jaeger", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-jaeger", + label: "Node.js and Jaeger", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-aws-terraform", + label: "AWS Fargate and Terraform", + }, + ], + }, + { + type: "category", + label: "OpenSearch", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-opensearch", + label: "Node.js and OpenSearch", + }, + ], + }, + { + type: "category", + label: "Grafana Tempo", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-tempo", + label: "Node.js and Tempo", + }, + ], + }, + { + type: "category", + label: "AWS X-Ray", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-aws-x-ray", + label: "X-Ray (Node.js SDK)", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-aws-x-ray-adot", + label: "X-Ray and AWS Distro for OpenTelemetry", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-aws-x-ray-pokeshop", + label: "X-Ray, AWS Distro for OpenTelemetry and Pokeshop API", + }, + + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-step-functions-terraform", + label: "AWS Step Functions, AWS X-Ray and Terraform", + }, + ], + }, + { + type: "category", + label: "Azure App Insights", + items: [ + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-azure-app-insights", + label: "Azure App Insights", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-azure-app-insights-collector", + label: "Azure App Insights and The OpenTelemetry Collector", + }, + { + type: "doc", + id: "examples-tutorials/recipes/running-tracetest-with-azure-app-insights-pokeshop", + label: "Azure App Insights, The OpenTelemetry Collector and Pokeshop API", + }, + ], + }, + ], }, { type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-azure-app-insights-collector", - label: "Azure App Insights and The OpenTelemetry Collector", + id: "examples-tutorials/webinars", + label: "Webinars", }, { type: "doc", - id: "examples-tutorials/recipes/running-tracetest-with-azure-app-insights-pokeshop", - label: "Azure App Insights, The OpenTelemetry Collector and Pokeshop API", + id: "examples-tutorials/videos", + label: "Videos", }, ], @@ -770,7 +844,7 @@ const sidebars = { { type: "link", label: "Live Examples", - href: "/live-examples/pokeshop/overview", + href: "/live-examples/opentelemetry-store/overview", }, { type: "link", diff --git a/docs/src/components/ExamplesTutorialsOverview/index.tsx b/docs/src/components/ExamplesTutorialsOverview/index.tsx new file mode 100644 index 0000000000..5236575f2f --- /dev/null +++ b/docs/src/components/ExamplesTutorialsOverview/index.tsx @@ -0,0 +1,87 @@ +/* eslint-disable global-require */ + +import React from 'react'; +import clsx from 'clsx'; +import Link from '@docusaurus/Link'; +import Translate from '@docusaurus/Translate'; +import Heading from '@theme/Heading'; + +const ExamplesTutorialsOverview = [ + { + name: '👨‍💻 Tutorials', + url: './tutorials', + description: ( + + Check out the following blog posts with Tracetest-related content. + + ), + button: 'Learn more', + }, + { + name: '🍱 Recipes', + url: './recipes', + description: ( + + Short, self-contained, and runnable solutions to popular use cases. + + ), + button: 'Start building', + }, + { + name: '🎙️ Webinars', + url: './webinars', + description: ( + + Watch on-demand live streams and community calls! + + ), + button: 'Watch now', + }, + { + name: '📽️ Videos', + url: './videos', + description: ( + + Check out Tracetest video guides and conference talks! + + ), + button: 'Watch now', + }, +]; + +interface Props { + name: string; + url: string; + button: string; + description: JSX.Element; +} + +function ExamplesTutorialsOverviewCard({name, url, description, button}: Props) { + return ( +
+
+
+ {name} +

{description}

+
+
+
+ + {button} + +
+
+
+
+ ); +} + +export function ExamplesTutorialsOverviewRow(): JSX.Element { + return ( +
+ {ExamplesTutorialsOverview.map((gettingStartedGuide) => ( + + ))} +
+ ); +} diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 7f5e027876..e879c7963e 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -42,3 +42,20 @@ html[data-theme='dark'] footer { background-color: #242526 !important; } + + +/* Announcement Bar */ +div[class^='announcementBar'] { + background-color: var(--ifm-background-surface-color); + color: var(--ifm-font-color-base); +} + +div[class^='announcementBar'] a { + color: var(--ifm-link-color); + text-decoration: inherit; +} + +div[class^='announcementBar'] a:hover { + color: var(--ifm-link-color); + text-decoration: underline; +} diff --git a/go.work.sum b/go.work.sum index 7cc941ed13..e4675c1882 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,4 +1,3 @@ -<<<<<<< Updated upstream cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= @@ -63,6 +62,7 @@ cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2H cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= +cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= @@ -95,6 +95,7 @@ cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LK cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= +cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= @@ -123,6 +124,7 @@ cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1r cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= +cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= @@ -132,21 +134,37 @@ cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= contrib.go.opencensus.io/exporter/prometheus v0.4.2/go.mod h1:dvEHbiKmgvbr5pjaF9fpw1KeYcjrnC1J8B+JKjsZyRQ= github.com/Azure/azure-sdk-for-go v59.4.0+incompatible h1:gDA8odnngdNd3KYHL2NoK1j9vpWBgEnFSjKKLpkC8Aw= +github.com/Azure/go-autorest/autorest v0.11.24/go.mod h1:G6kyRlFnTuSbEYkQGawPfsCswgme4iYf6rfSKUDzbCc= github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/armon/go-metrics v0.4.0/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= +github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b/go.mod h1:H0wQNHz2YrLsuXOZozoeDmnHXkNCRmMW0gwFWDfEZDA= +github.com/bshuster-repo/logrus-logstash-hook v1.0.0/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/containerd/containerd v1.6.2/go.mod h1:sidY30/InSE1j2vdD1ihtKoJz+lWdaXMdiAeIupaf+s= +github.com/deepmap/oapi-codegen v1.10.1/go.mod h1:TvVmDQlUkFli9gFij/gtW1o+tFBr4qCHyv2zG+R0YZY= +github.com/denisenkom/go-mssqldb v0.12.0/go.mod h1:iiK0YP1ZeepvmBQk/QpLEhhTNJgfzrpArPY/aFvc9yU= +github.com/elastic/go-elasticsearch/v7 v7.17.1/go.mod h1:OJ4wdbtDNk5g503kvlHLyErCgQwwzmDtaFC4XyOxXA4= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-redis/redis v6.15.9+incompatible h1:K0pv1D7EQUjfyoMql+r/jZqCLizCGKFlFgcHWWmHQjg= +github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= +github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/gocql/gocql v0.0.0-20210817081954-bc256bbb90de/go.mod h1:3gM2c4D3AnkISwBxGnMMsS8Oy4y2lhbPRsH4xnJrHG8= github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/golang-sql/sqlexp v0.0.0-20170517235910-f1bb20e5a188/go.mod h1:vXjM/+wXQnTPR4KqTKDgJukSZ6amVRtWMPEjE6sQoK8= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/gomodule/redigo v1.8.2/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= +github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= diff --git a/local-config/dogfood/collector.config.yaml b/local-config/dogfood/collector.config.yaml new file mode 100644 index 0000000000..6d02430124 --- /dev/null +++ b/local-config/dogfood/collector.config.yaml @@ -0,0 +1,32 @@ +receivers: + otlp: + protocols: + grpc: + http: + +processors: + batch: + timeout: 100ms + + probabilistic_sampler: + hash_seed: 22 + sampling_percentage: 100 + +exporters: + logging: + loglevel: warn + jaeger: + endpoint: jaeger:14250 + tls: + insecure: true + otlp/tracetest: + endpoint: host.docker.internal:4317 + tls: + insecure: true + +service: + pipelines: + traces: + receivers: [otlp] + processors: [probabilistic_sampler, batch] + exporters: [jaeger, otlp/tracetest, logging] diff --git a/local-config/dogfood/docker-compose.yml b/local-config/dogfood/docker-compose.yml new file mode 100644 index 0000000000..de15fb2fc2 --- /dev/null +++ b/local-config/dogfood/docker-compose.yml @@ -0,0 +1,177 @@ +version: '3' +services: + postgres: + image: postgres:14 + environment: + POSTGRES_PASSWORD: postgres + POSTGRES_USER: postgres + healthcheck: + test: pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB" + interval: 1s + timeout: 5s + retries: 60 + ports: + - 5432:5432 + + jaeger: + image: jaegertracing/all-in-one:latest + restart: unless-stopped + healthcheck: + test: ["CMD", "wget", "--spider", "localhost:16686"] + interval: 1s + timeout: 3s + retries: 60 + ports: + - 16685:16685 + - 16686:16686 + + otel-collector: + image: otel/opentelemetry-collector:0.54.0 + command: + - "--config" + - "/otel-local-config.yaml" + volumes: + - ./collector.config.yaml:/otel-local-config.yaml + depends_on: + - jaeger + ports: + - 24317:4317 + + cache: + image: redis:6 + restart: unless-stopped + healthcheck: + test: ["CMD", "redis-cli", "ping"] + interval: 1s + timeout: 3s + retries: 60 + + queue: + image: rabbitmq:3.8-management + restart: unless-stopped + healthcheck: + test: rabbitmq-diagnostics -q check_running + interval: 1s + timeout: 5s + retries: 60 + + stream: + image: confluentinc/cp-kafka:latest-ubi8 + ports: + - 29092:29092 + environment: + - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://stream:9092,PLAINTEXT_HOST://127.0.0.1:29092 + - KAFKA_LISTENERS=PLAINTEXT://0.0.0.0:9092,CONTROLLER://0.0.0.0:9093,PLAINTEXT_HOST://:29092 + - KAFKA_CONTROLLER_QUORUM_VOTERS=1@0.0.0.0:9093 + - KAFKA_CONTROLLER_LISTENER_NAMES=CONTROLLER + - KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT + - KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=0 + - KAFKA_PROCESS_ROLES=controller,broker + - KAFKA_NODE_ID=1 + - KAFKA_METADATA_LOG_SEGMENT_MS=15000 + - KAFKA_METADATA_MAX_RETENTION_MS=60000 + - KAFKA_METADATA_LOG_MAX_RECORD_BYTES_BETWEEN_SNAPSHOTS=2800 + - KAFKA_AUTO_CREATE_TOPICS_ENABLE=true + - KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 + - KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR=1 + - KAFKA_HEAP_OPTS=-Xmx200m -Xms200m + - CLUSTER_ID=ckjPoprWQzOf0-FuNkGfFQ + healthcheck: + test: nc -z stream 9092 + start_period: 10s + interval: 5s + timeout: 10s + retries: 10 + + demo-api: + image: kubeshop/demo-pokemon-api:latest + restart: unless-stopped + pull_policy: always + environment: + REDIS_URL: cache + DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres?schema=public + RABBITMQ_HOST: queue + POKE_API_BASE_URL: https://pokeapi.co/api/v2 + COLLECTOR_ENDPOINT: http://otel-collector:4317 + NPM_RUN_COMMAND: api + ports: + - "8081:8081" + healthcheck: + test: ["CMD", "wget", "--spider", "localhost:8081"] + interval: 1s + timeout: 3s + retries: 60 + depends_on: + postgres: + condition: service_healthy + cache: + condition: service_healthy + queue: + condition: service_healthy + + demo-worker: + image: kubeshop/demo-pokemon-api:latest + restart: unless-stopped + pull_policy: always + environment: + REDIS_URL: cache + DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres?schema=public + RABBITMQ_HOST: queue + POKE_API_BASE_URL: https://pokeapi.co/api/v2 + COLLECTOR_ENDPOINT: http://otel-collector:4317 + NPM_RUN_COMMAND: worker + depends_on: + postgres: + condition: service_healthy + cache: + condition: service_healthy + queue: + condition: service_healthy + + demo-rpc: + image: kubeshop/demo-pokemon-api:latest + restart: unless-stopped + pull_policy: always + environment: + REDIS_URL: cache + DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres?schema=public + RABBITMQ_HOST: queue + POKE_API_BASE_URL: https://pokeapi.co/api/v2 + COLLECTOR_ENDPOINT: http://otel-collector:4317 + NPM_RUN_COMMAND: rpc + ports: + - 8082:8082 + healthcheck: + test: ["CMD", "lsof", "-i", "8082"] + interval: 1s + timeout: 3s + retries: 60 + depends_on: + postgres: + condition: service_healthy + cache: + condition: service_healthy + queue: + condition: service_healthy + + demo-streaming-worker: + image: kubeshop/demo-pokemon-api:latest + environment: + DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres?schema=public + POKE_API_BASE_URL: https://pokeapi.co/api/v2 + COLLECTOR_ENDPOINT: http://otel-collector:4317 + ZIPKIN_URL: http://localhost:9411 + NPM_RUN_COMMAND: stream-worker + KAFKA_BROKER: 'stream:9092' + KAFKA_TOPIC: 'pokemon' + KAFKA_CLIENT_ID: 'streaming-worker' + REDIS_URL: cache + depends_on: + postgres: + condition: service_healthy + stream: + condition: service_healthy + cache: + condition: service_healthy + otel-collector: + condition: service_started diff --git a/local-config/dogfood/tracetest.config.yaml b/local-config/dogfood/tracetest.config.yaml new file mode 100644 index 0000000000..484a1d5320 --- /dev/null +++ b/local-config/dogfood/tracetest.config.yaml @@ -0,0 +1,21 @@ +postgres: + host: localhost + user: postgres + password: postgres + port: 5432 + dbname: postgres + params: sslmode=disable + +telemetry: + exporters: + collector: + serviceName: tracetest + sampling: 100 # 100% + exporter: + type: collector + collector: + endpoint: localhost:24317 + +server: + telemetry: + exporter: collector diff --git a/local-config/dogfood/tracetest.provision.yaml b/local-config/dogfood/tracetest.provision.yaml new file mode 100644 index 0000000000..dfda30ada1 --- /dev/null +++ b/local-config/dogfood/tracetest.provision.yaml @@ -0,0 +1,25 @@ +--- +type: DataStore +spec: + name: OpenTelemetry Collector + type: otlp + default: true + +--- +type: TestRunner +spec: + id: current + name: default + requiredGates: + - analyzer-score + - test-specs + +--- +type: PollingProfile +spec: + strategy: periodic + default: true + periodic: + timeout: 30s + retryDelay: 1s + selectorMatchRetries: 3 diff --git a/server/app/app.go b/server/app/app.go index 3c39835d8b..b449505acf 100644 --- a/server/app/app.go +++ b/server/app/app.go @@ -230,7 +230,7 @@ func (app *App) Start(opts ...appOption) error { tracedbFactory := tracedb.Factory(tracesRepo) eventEmitter := executor.NewEventEmitter(testDB, subscriptionManager) - registerOtlpServer(app, tracesRepo, runRepo, eventEmitter, dataStoreRepo) + registerOtlpServer(app, tracesRepo, runRepo, eventEmitter, dataStoreRepo, tracer) testPipeline := buildTestPipeline( pool, @@ -245,6 +245,7 @@ func (app *App) Start(opts ...appOption) error { subscriptionManager, triggerRegistry, tracedbFactory, + app.cfg, ) testPipeline.Start() app.registerStopFn(func() { @@ -377,9 +378,9 @@ func registerSPAHandler(router *mux.Router, cfg httpServerConfig, analyticsEnabl ) } -func registerOtlpServer(app *App, tracesRepo *traces.TraceRepository, runRepository test.RunRepository, eventEmitter executor.EventEmitter, dsRepo *datastore.Repository) { - ingester := otlp.NewIngester(tracesRepo, runRepository, eventEmitter, dsRepo) - grpcOtlpServer := otlp.NewGrpcServer(":4317", ingester) +func registerOtlpServer(app *App, tracesRepo *traces.TraceRepository, runRepository test.RunRepository, eventEmitter executor.EventEmitter, dsRepo *datastore.Repository, tracer trace.Tracer) { + ingester := otlp.NewIngester(tracesRepo, runRepository, eventEmitter, dsRepo, tracer) + grpcOtlpServer := otlp.NewGrpcServer(":4317", ingester, tracer) httpOtlpServer := otlp.NewHttpServer(":4318", ingester) go grpcOtlpServer.Start() go httpOtlpServer.Start() diff --git a/server/app/test_pipeline.go b/server/app/test_pipeline.go index 5277a2ecaa..d777c9cdfd 100644 --- a/server/app/test_pipeline.go +++ b/server/app/test_pipeline.go @@ -2,10 +2,12 @@ package app import ( "github.com/jackc/pgx/v5/pgxpool" + "github.com/kubeshop/tracetest/server/config" "github.com/kubeshop/tracetest/server/datastore" "github.com/kubeshop/tracetest/server/executor" "github.com/kubeshop/tracetest/server/executor/pollingprofile" "github.com/kubeshop/tracetest/server/executor/testrunner" + "github.com/kubeshop/tracetest/server/executor/tracepollerworker" "github.com/kubeshop/tracetest/server/executor/trigger" "github.com/kubeshop/tracetest/server/linter/analyzer" "github.com/kubeshop/tracetest/server/model" @@ -29,6 +31,7 @@ func buildTestPipeline( subscriptionManager *subscription.Manager, triggerRegistry *trigger.Registry, tracedbFactory tracedb.FactoryFunc, + appConfig *config.AppConfig, ) *executor.TestPipeline { eventEmitter := executor.NewEventEmitter(treRepo, subscriptionManager) @@ -44,29 +47,40 @@ func buildTestPipeline( eventEmitter, ) - linterRunner := executor.NewlinterRunner( + linterRunner := executor.NewLinterRunner( execTestUpdater, subscriptionManager, eventEmitter, lintRepo, ) - pollerExecutor := executor.NewSelectorBasedPoller( - executor.NewPollerExecutor( - tracer, - execTestUpdater, - tracedbFactory, - dsRepo, - eventEmitter, - ), + tracePollerStarterWorker := tracepollerworker.NewStarterWorker( eventEmitter, + tracedbFactory, + dsRepo, + execTestUpdater, + subscriptionManager, + tracer, ) - tracePoller := executor.NewTracePoller( - pollerExecutor, + traceFetcherWorker := tracepollerworker.NewFetcherWorker( + eventEmitter, + tracedbFactory, + dsRepo, execTestUpdater, subscriptionManager, + tracer, + appConfig.TestPipelineTraceFetchingEnabled(), + ) + + tracePollerEvaluatorWorker := tracepollerworker.NewEvaluatorWorker( eventEmitter, + tracedbFactory, + dsRepo, + execTestUpdater, + subscriptionManager, + tracepollerworker.NewSelectorBasedPollingStopStrategy(eventEmitter, tracepollerworker.NewSpanCountPollingStopStrategy()), + tracer, ) triggerResolverWorker := executor.NewTriggerResolverWorker( @@ -83,6 +97,7 @@ func buildTestPipeline( execTestUpdater, tracer, eventEmitter, + appConfig.TestPipelineTriggerExecutionEnabled(), ) triggerResultProcessorWorker := executor.NewTriggerResultProcessorWorker( @@ -109,12 +124,14 @@ func buildTestPipeline( pipeline.Step[executor.Job]{Processor: triggerResolverWorker, Driver: pgQueue.Channel("trigger_resolve")}, pipeline.Step[executor.Job]{Processor: triggerExecuterWorker, Driver: pgQueue.Channel("trigger_execute")}, pipeline.Step[executor.Job]{Processor: triggerResultProcessorWorker, Driver: pgQueue.Channel("trigger_result")}, - pipeline.Step[executor.Job]{Processor: tracePoller, Driver: pgQueue.Channel("tracePoller")}, + pipeline.Step[executor.Job]{Processor: tracePollerStarterWorker, Driver: pgQueue.Channel("tracePoller_start")}, + pipeline.Step[executor.Job]{Processor: traceFetcherWorker, Driver: pgQueue.Channel("tracePoller_fetch")}, + pipeline.Step[executor.Job]{Processor: tracePollerEvaluatorWorker, Driver: pgQueue.Channel("tracePoller_evaluate"), InputQueueOffset: -1}, pipeline.Step[executor.Job]{Processor: linterRunner, Driver: pgQueue.Channel("linterRunner")}, pipeline.Step[executor.Job]{Processor: assertionRunner, Driver: pgQueue.Channel("assertionRunner")}, ) - const assertionRunnerStepIndex = 5 + const assertionRunnerStepIndex = 7 return executor.NewTestPipeline( pipeline, diff --git a/server/config/server.go b/server/config/server.go index 2f29e999f6..a069c2145f 100644 --- a/server/config/server.go +++ b/server/config/server.go @@ -71,6 +71,16 @@ var serverOptions = options{ description: "internal telemetry otel collector (used for internal testing)", validate: nil, }, + { + key: "testPipelines.triggerExecute.enabled", + defaultValue: "true", + description: "enable local trigger execution", + }, + { + key: "testPipelines.traceFetch.enabled", + defaultValue: "true", + description: "enable local trace fetching", + }, } func init() { @@ -130,3 +140,20 @@ func (c *AppConfig) InternalTelemetryOtelCollectorAddress() string { return c.vp.GetString("internalTelemetry.otelCollectorEndpoint") } + +func (c *AppConfig) TestPipelineTriggerExecutionEnabled() bool { + c.mu.Lock() + defer c.mu.Unlock() + + // this config needs to be a string because pflags + // has a strage bug that ignores this field when + // it is set as false + return c.vp.GetString("testPipelines.triggerExecute.enabled") == "true" +} + +func (c *AppConfig) TestPipelineTraceFetchingEnabled() bool { + c.mu.Lock() + defer c.mu.Unlock() + + return c.vp.GetString("testPipelines.traceFetch.enabled") == "true" +} diff --git a/server/config/server_test.go b/server/config/server_test.go index 052a4ddfa5..f6362b2bbb 100644 --- a/server/config/server_test.go +++ b/server/config/server_test.go @@ -20,6 +20,9 @@ func TestServerConfig(t *testing.T) { assert.Equal(t, false, cfg.InternalTelemetryEnabled()) assert.Equal(t, "", cfg.InternalTelemetryOtelCollectorAddress()) + + assert.Equal(t, true, cfg.TestPipelineTriggerExecutionEnabled()) + assert.Equal(t, true, cfg.TestPipelineTraceFetchingEnabled()) }) t.Run("Flags", func(t *testing.T) { @@ -36,6 +39,8 @@ func TestServerConfig(t *testing.T) { "--experimentalFeatures", "b", "--internalTelemetry.enabled", "true", "--internalTelemetry.otelCollectorEndpoint", "otel-collector.tracetest", + "--testPipelines.triggerExecute.enabled", "false", + "--testPipelines.traceFetch.enabled", "false", } cfg := configWithFlags(t, flags) @@ -49,6 +54,9 @@ func TestServerConfig(t *testing.T) { assert.Equal(t, true, cfg.InternalTelemetryEnabled()) assert.Equal(t, "otel-collector.tracetest", cfg.InternalTelemetryOtelCollectorAddress()) + + assert.Equal(t, false, cfg.TestPipelineTriggerExecutionEnabled()) + assert.Equal(t, false, cfg.TestPipelineTraceFetchingEnabled()) }) t.Run("EnvVars", func(t *testing.T) { @@ -64,6 +72,8 @@ func TestServerConfig(t *testing.T) { "TRACETEST_EXPERIMENTALFEATURES": "a b", "TRACETEST_INTERNALTELEMETRY_ENABLED": "true", "TRACETEST_INTERNALTELEMETRY_OTELCOLLECTORENDPOINT": "otel-collector.tracetest", + "TRACETEST_TESTPIPELINES_TRIGGEREXECUTE_ENABLED": "false", + "TRACETEST_TESTPIPELINES_TRACEFETCH_ENABLED": "false", } cfg := configWithEnv(t, env) @@ -77,5 +87,8 @@ func TestServerConfig(t *testing.T) { assert.Equal(t, true, cfg.InternalTelemetryEnabled()) assert.Equal(t, "otel-collector.tracetest", cfg.InternalTelemetryOtelCollectorAddress()) + + assert.Equal(t, false, cfg.TestPipelineTriggerExecutionEnabled()) + assert.Equal(t, false, cfg.TestPipelineTraceFetchingEnabled()) }) } diff --git a/server/executor/linter_runner.go b/server/executor/linter_runner.go index b754ce2d13..77b9650ea1 100644 --- a/server/executor/linter_runner.go +++ b/server/executor/linter_runner.go @@ -26,7 +26,7 @@ type defaultLinterRunner struct { outputQueue pipeline.Enqueuer[Job] } -func NewlinterRunner( +func NewLinterRunner( updater RunUpdater, subscriptionManager *subscription.Manager, eventEmitter EventEmitter, diff --git a/server/executor/tracepollerworker/common.go b/server/executor/tracepollerworker/common.go new file mode 100644 index 0000000000..7604015329 --- /dev/null +++ b/server/executor/tracepollerworker/common.go @@ -0,0 +1,98 @@ +package tracepollerworker + +import ( + "context" + "errors" + "fmt" + "log" + + "github.com/kubeshop/tracetest/server/datastore" + "github.com/kubeshop/tracetest/server/executor" + "github.com/kubeshop/tracetest/server/model" + "github.com/kubeshop/tracetest/server/pkg/pipeline" + "github.com/kubeshop/tracetest/server/resourcemanager" + "github.com/kubeshop/tracetest/server/subscription" + "github.com/kubeshop/tracetest/server/tracedb" + "github.com/kubeshop/tracetest/server/tracedb/connection" + + "go.opentelemetry.io/otel/attribute" + "go.opentelemetry.io/otel/trace" +) + +type workerState struct { + eventEmitter executor.EventEmitter + newTraceDBFn tracedb.FactoryFunc + dsRepo resourcemanager.Current[datastore.DataStore] + updater executor.RunUpdater + subscriptionManager *subscription.Manager + tracer trace.Tracer + inputQueue pipeline.Enqueuer[executor.Job] +} + +func emitEvent(ctx context.Context, state *workerState, event model.TestRunEvent) { + err := state.eventEmitter.Emit(ctx, event) + if err != nil { + log.Printf("[TracePoller] failed to emit %s event: error: %s", event.Type, err.Error()) + } +} + +func getTraceDB(ctx context.Context, state *workerState) (tracedb.TraceDB, error) { + ds, err := state.dsRepo.Current(ctx) + if err != nil { + return nil, fmt.Errorf("cannot get default datastore: %w", err) + } + + tdb, err := state.newTraceDBFn(ds) + if err != nil { + return nil, fmt.Errorf(`cannot get tracedb from DataStore config with ID "%s": %w`, ds.ID, err) + } + + return tdb, nil +} + +func handleError(ctx context.Context, job executor.Job, err error, state *workerState, span trace.Span) { + log.Printf("[TracePoller] Test %s Run %d, Error: %s", job.Test.ID, job.Run.ID, err.Error()) + + span.RecordError(err) + span.SetAttributes(attribute.String("tracetest.run.trace_poller.error", err.Error())) +} + +func handleDBError(err error) { + if err == nil { + return + } + + log.Printf("[TracePoller] DB error when polling traces: %s\n", err.Error()) +} + +func populateSpan(span trace.Span, job executor.Job, reason string, done *bool) { + spanCount := 0 + if job.Run.Trace != nil { + spanCount = len(job.Run.Trace.Flat) + } + + attrs := []attribute.KeyValue{ + attribute.String("tracetest.run.trace_poller.trace_id", job.Run.TraceID.String()), + attribute.String("tracetest.run.trace_poller.span_id", job.Run.SpanID.String()), + attribute.String("tracetest.run.trace_poller.test_id", string(job.Test.ID)), + attribute.Int("tracetest.run.trace_poller.amount_retrieved_spans", spanCount), + } + + if done != nil { + attrs = append(attrs, attribute.Bool("tracetest.run.trace_poller.succesful", *done)) + } + + if reason != "" { + attrs = append(attrs, attribute.String("tracetest.run.trace_poller.finish_reason", reason)) + } + + span.SetAttributes(attrs...) +} + +func isTraceNotFoundError(err error) bool { + if err == nil { + return false + } + + return errors.Is(err, connection.ErrTraceNotFound) +} diff --git a/server/executor/tracepollerworker/evaluator_worker.go b/server/executor/tracepollerworker/evaluator_worker.go new file mode 100644 index 0000000000..d7a60bb7e7 --- /dev/null +++ b/server/executor/tracepollerworker/evaluator_worker.go @@ -0,0 +1,196 @@ +package tracepollerworker + +import ( + "context" + "fmt" + "log" + "time" + + "github.com/kubeshop/tracetest/server/analytics" + "github.com/kubeshop/tracetest/server/datastore" + "github.com/kubeshop/tracetest/server/executor" + "github.com/kubeshop/tracetest/server/model/events" + "github.com/kubeshop/tracetest/server/pkg/pipeline" + "github.com/kubeshop/tracetest/server/resourcemanager" + "github.com/kubeshop/tracetest/server/subscription" + "github.com/kubeshop/tracetest/server/test" + "github.com/kubeshop/tracetest/server/tracedb" + "github.com/kubeshop/tracetest/server/traces" + + "go.opentelemetry.io/otel/trace" +) + +type PollingStopStrategy interface { + Evaluate(ctx context.Context, job *executor.Job, traceDB tracedb.TraceDB) (bool, string) +} + +type tracePollerEvaluatorWorker struct { + state *workerState + outputQueue pipeline.Enqueuer[executor.Job] + stopStrategy PollingStopStrategy +} + +func NewEvaluatorWorker( + eventEmitter executor.EventEmitter, + newTraceDBFn tracedb.FactoryFunc, + dsRepo resourcemanager.Current[datastore.DataStore], + updater executor.RunUpdater, + subscriptionManager *subscription.Manager, + stopStrategy PollingStopStrategy, + tracer trace.Tracer, +) *tracePollerEvaluatorWorker { + state := &workerState{ + eventEmitter: eventEmitter, + newTraceDBFn: newTraceDBFn, + dsRepo: dsRepo, + updater: updater, + subscriptionManager: subscriptionManager, + tracer: tracer, + } + + return &tracePollerEvaluatorWorker{state: state, stopStrategy: stopStrategy} +} + +func (w *tracePollerEvaluatorWorker) SetInputQueue(queue pipeline.Enqueuer[executor.Job]) { + w.state.inputQueue = queue +} + +func (w *tracePollerEvaluatorWorker) SetOutputQueue(queue pipeline.Enqueuer[executor.Job]) { + w.outputQueue = queue +} + +func (w *tracePollerEvaluatorWorker) ProcessItem(ctx context.Context, job executor.Job) { + ctx, span := w.state.tracer.Start(ctx, "Evaluating trace") + defer span.End() + + traceNotFound := job.Headers.GetBool("traceNotFound") + + if traceNotFound && !tracePollerTimedOut(ctx, job) { + // Edge case: the trace still not available on Data Store during polling, we need to poll/fetch trace again + populateSpan(span, job, "", nil) + + emitEvent(ctx, w.state, events.TracePollingIterationInfo(job.Test.ID, job.Run.ID, 0, job.EnqueueCount(), false, "trace not found on data store")) + enqueueTraceFetchJob(ctx, job, w.state) + return + } + + // if an error happened on last iteration validate it + if job.Run.LastError != nil || traceNotFound { + err := job.Run.LastError + reason := "" + + if traceNotFound && tracePollerTimedOut(ctx, job) { + err = fmt.Errorf("timeout") + reason = fmt.Sprintf("Timed out without finding trace, trace id \"%s\"", job.Run.TraceID.String()) + log.Println("[TracePoller] Timed-out") + } else { + reason = fmt.Sprintf("Unexpected error: %s", err.Error()) + log.Println("[TracePoller] Unknown error", err) + } + + emitEvent(ctx, w.state, events.TracePollingIterationInfo(job.Test.ID, job.Run.ID, 0, job.EnqueueCount(), false, reason)) + emitEvent(ctx, w.state, events.TracePollingError(job.Test.ID, job.Run.ID, reason, err)) + emitEvent(ctx, w.state, events.TraceFetchingError(job.Test.ID, job.Run.ID, err)) + + successful := false + populateSpan(span, job, reason, &successful) + + run := job.Run.TraceFailed(err) + analytics.SendEvent("test_run_finished", "error", "", &map[string]string{ + "finalState": string(run.State), + }) + + handleDBError(w.state.updater.Update(ctx, run)) + + w.state.subscriptionManager.PublishUpdate(subscription.Message{ + ResourceID: run.TransactionStepResourceID(), + Type: "update_run", + Content: executor.RunResult{Run: run, Err: err}, + }) + + handleError(ctx, job, err, w.state, span) + return + } + + // otherwise, validate if the polling process should stop + traceDB, err := getTraceDB(ctx, w.state) + if err != nil { + log.Printf("[TracePoller] Test %s Run %d: GetDataStore error: %s", job.Test.ID, job.Run.ID, err.Error()) + handleError(ctx, job, err, w.state, span) + return + } + + done, reason := w.stopStrategy.Evaluate(ctx, &job, traceDB) + + populateSpan(span, job, reason, &done) + + if !done { // trace polling is not done, try to fetch trace again + totalSpans := 0 + if job.Run.Trace != nil { + totalSpans = len(job.Run.Trace.Flat) + } + + emitEvent(ctx, w.state, events.TracePollingIterationInfo(job.Test.ID, job.Run.ID, totalSpans, job.EnqueueCount(), false, reason)) + + log.Printf("[TracePoller] Test %s Run %d: Not done polling. (%s)", job.Test.ID, job.Run.ID, reason) + + enqueueTraceFetchJob(ctx, job, w.state) + return + } + log.Printf("[TracePoller] Test %s Run %d: Done polling. (%s)", job.Test.ID, job.Run.ID, reason) + + log.Printf("[TracePoller] Test %s Run %d: Start Sorting", job.Test.ID, job.Run.ID) + sorted := job.Run.Trace.Sort() + job.Run.Trace = &sorted + log.Printf("[TracePoller] Test %s Run %d: Sorting complete", job.Test.ID, job.Run.ID) + + if !job.Run.Trace.HasRootSpan() { + newRoot := test.NewTracetestRootSpan(job.Run) + job.Run.Trace = job.Run.Trace.InsertRootSpan(newRoot) + } else { + job.Run.Trace.RootSpan = traces.AugmentRootSpan(job.Run.Trace.RootSpan, job.Run.TriggerResult) + } + job.Run = job.Run.SuccessfullyPolledTraces(job.Run.Trace) + + log.Printf("[TracePoller] Completed polling process for Test Run %d after %d iterations, number of spans collected: %d ", job.Run.ID, job.EnqueueCount()+1, len(job.Run.Trace.Flat)) + + log.Printf("[TracePoller] Test %s Run %d: Start updating", job.Test.ID, job.Run.ID) + handleDBError(w.state.updater.Update(ctx, job.Run)) + + emitEvent(ctx, w.state, events.TracePollingSuccess(job.Test.ID, job.Run.ID, reason)) + emitEvent(ctx, w.state, events.TraceFetchingSuccess(job.Test.ID, job.Run.ID)) + + log.Printf("[TracePoller] Test %s Run %d: Done polling (reason: %s). Completed polling after %d iterations, number of spans collected %d\n", job.Test.ID, job.Run.ID, reason, job.EnqueueCount()+1, len(job.Run.Trace.Flat)) + + w.outputQueue.Enqueue(ctx, job) +} + +func tracePollerTimedOut(ctx context.Context, job executor.Job) bool { + if job.PollingProfile.Periodic == nil { + return false + } + + pp := *job.PollingProfile.Periodic + timedOut := time.Since(job.Run.ServiceTriggeredAt) >= pp.TimeoutDuration() + + return timedOut +} + +func enqueueTraceFetchJob(ctx context.Context, job executor.Job, state *workerState) { + go func() { + log.Printf("[TracePoller] Requeuing Test Run %d. Current iteration: %d\n", job.Run.ID, job.EnqueueCount()) + time.Sleep(job.PollingProfile.Periodic.RetryDelayDuration()) + + job.IncreaseEnqueueCount() + job.Headers.SetBool("requeued", true) + + select { + default: + case <-ctx.Done(): + return // user requested to stop the process + } + + // inputQueue is set as the trace fetch queue by our pipeline engine + state.inputQueue.Enqueue(ctx, job) + }() +} diff --git a/server/executor/tracepollerworker/fetcher_worker.go b/server/executor/tracepollerworker/fetcher_worker.go new file mode 100644 index 0000000000..1c18b42862 --- /dev/null +++ b/server/executor/tracepollerworker/fetcher_worker.go @@ -0,0 +1,98 @@ +package tracepollerworker + +import ( + "context" + "log" + + "github.com/kubeshop/tracetest/server/datastore" + "github.com/kubeshop/tracetest/server/executor" + "github.com/kubeshop/tracetest/server/pkg/pipeline" + "github.com/kubeshop/tracetest/server/resourcemanager" + "github.com/kubeshop/tracetest/server/subscription" + "github.com/kubeshop/tracetest/server/tracedb" + "go.opentelemetry.io/otel/trace" +) + +type traceFetcherWorker struct { + state *workerState + outputQueue pipeline.Enqueuer[executor.Job] + enabled bool +} + +func NewFetcherWorker( + eventEmitter executor.EventEmitter, + newTraceDBFn tracedb.FactoryFunc, + dsRepo resourcemanager.Current[datastore.DataStore], + updater executor.RunUpdater, + subscriptionManager *subscription.Manager, + tracer trace.Tracer, + enabled bool, +) *traceFetcherWorker { + state := &workerState{ + eventEmitter: eventEmitter, + newTraceDBFn: newTraceDBFn, + dsRepo: dsRepo, + updater: updater, + subscriptionManager: subscriptionManager, + tracer: tracer, + } + + return &traceFetcherWorker{state: state, enabled: enabled} +} + +func (w *traceFetcherWorker) SetInputQueue(queue pipeline.Enqueuer[executor.Job]) { + w.state.inputQueue = queue +} + +func (w *traceFetcherWorker) SetOutputQueue(queue pipeline.Enqueuer[executor.Job]) { + w.outputQueue = queue +} + +func (w *traceFetcherWorker) ProcessItem(ctx context.Context, job executor.Job) { + if !w.enabled { + return + } + + ctx, span := w.state.tracer.Start(ctx, "Fetching trace") + defer span.End() + + populateSpan(span, job, "", nil) + + traceDB, err := getTraceDB(ctx, w.state) + if err != nil { + log.Printf("[TracePoller] Test %s Run %d: GetDataStore error: %s", job.Test.ID, job.Run.ID, err.Error()) + handleError(ctx, job, err, w.state, span) + return + } + + traceID := job.Run.TraceID.String() + trace, err := traceDB.GetTraceByID(ctx, traceID) + if err != nil { + log.Printf("[TracePoller] Test %s Run %d: GetTraceByID (traceID %s) error: %s", job.Test.ID, job.Run.ID, traceID, err.Error()) + + if isTraceNotFoundError(err) { + job.Headers.SetBool("traceNotFound", true) + } else { + job.Run.LastError = err + handleDBError(w.state.updater.Update(ctx, job.Run)) + } + + w.outputQueue.Enqueue(ctx, job) + return + } + + spansBefore := 0 + if job.Run.Trace != nil { + spansBefore = len(job.Run.Trace.Flat) + } + + collectedSpans := len(trace.Flat) - spansBefore + job.Headers.SetInt("collectedSpans", collectedSpans) + job.Headers.SetBool("traceNotFound", false) + + trace.ID = job.Run.TraceID + job.Run.Trace = &trace + + handleDBError(w.state.updater.Update(ctx, job.Run)) + w.outputQueue.Enqueue(ctx, job) +} diff --git a/server/executor/tracepollerworker/selector_based_polling_stop_strategy.go b/server/executor/tracepollerworker/selector_based_polling_stop_strategy.go new file mode 100644 index 0000000000..eaa7e03a2f --- /dev/null +++ b/server/executor/tracepollerworker/selector_based_polling_stop_strategy.go @@ -0,0 +1,110 @@ +package tracepollerworker + +import ( + "context" + "fmt" + + "github.com/kubeshop/tracetest/server/assertions/selectors" + "github.com/kubeshop/tracetest/server/executor" + "github.com/kubeshop/tracetest/server/model/events" + "github.com/kubeshop/tracetest/server/test" + "github.com/kubeshop/tracetest/server/tracedb" +) + +type SelectorBasedPollingStopStrategy struct { + eventEmitter executor.EventEmitter + wrappedStrategy PollingStopStrategy +} + +const ( + selectorBasedPollerExecutorRetryHeader = "SelectorBasedPollerExecutor.retryCount" +) + +func NewSelectorBasedPollingStopStrategy(eventEmitter executor.EventEmitter, strategy PollingStopStrategy) *SelectorBasedPollingStopStrategy { + return &SelectorBasedPollingStopStrategy{ + eventEmitter: eventEmitter, + wrappedStrategy: strategy, + } +} + +// Evaluate implements PollingStopStrategy. +func (s *SelectorBasedPollingStopStrategy) Evaluate(ctx context.Context, job *executor.Job, traceDB tracedb.TraceDB) (bool, string) { + if !traceDB.ShouldRetry() { + return true, "TraceDB is not retryable" + } + + if job.Run.Trace == nil { + return false, "Trace not found" + } + + finished, reason := s.wrappedStrategy.Evaluate(ctx, job, traceDB) + + if !finished { + job.Headers.SetInt(selectorBasedPollerExecutorRetryHeader, 0) + return finished, reason + } + + maxNumberRetries := 0 + if job.PollingProfile.Periodic != nil { + maxNumberRetries = job.PollingProfile.Periodic.SelectorMatchRetries + } + + currentNumberTries := job.Headers.GetInt(selectorBasedPollerExecutorRetryHeader) + if currentNumberTries >= maxNumberRetries { + s.eventEmitter.Emit(ctx, events.TracePollingIterationInfo( + job.Test.ID, + job.Run.ID, + len(job.Run.Trace.Flat), + currentNumberTries, + true, + fmt.Sprintf("Some selectors did not match any spans in the current trace, but after %d tries, the trace probably won't change", currentNumberTries), + )) + + return true, reason + } + + allSelectorsMatchSpans := s.allSelectorsMatchSpans(job) + if allSelectorsMatchSpans { + s.eventEmitter.Emit(ctx, events.TracePollingIterationInfo( + job.Test.ID, + job.Run.ID, + len(job.Run.Trace.Flat), + currentNumberTries, + true, + "All selectors from the test matched at least one span in the current trace", + )) + return true, reason + } + + job.Headers.SetInt(selectorBasedPollerExecutorRetryHeader, currentNumberTries+1) + + s.eventEmitter.Emit(ctx, events.TracePollingIterationInfo( + job.Test.ID, + job.Run.ID, + len(job.Run.Trace.Flat), + job.Headers.GetInt(selectorBasedPollerExecutorRetryHeader), + false, + "All selectors from your test must match at least one span in the trace, some of them did not match any", + )) + + return false, "not all selectors got matching spans in the trace" +} + +func (pe SelectorBasedPollingStopStrategy) allSelectorsMatchSpans(job *executor.Job) bool { + allSelectorsHaveMatch := true + for _, spec := range job.Test.Specs { + spans := selector(spec.Selector).Filter(*job.Run.Trace) + if len(spans) == 0 { + allSelectorsHaveMatch = false + } + } + + return allSelectorsHaveMatch +} + +func selector(sq test.SpanQuery) selectors.Selector { + sel, _ := selectors.New(string(sq)) + return sel +} + +var _ PollingStopStrategy = &SelectorBasedPollingStopStrategy{} diff --git a/server/executor/tracepollerworker/span_count_polling_stop_strategy.go b/server/executor/tracepollerworker/span_count_polling_stop_strategy.go new file mode 100644 index 0000000000..db4a5d74ff --- /dev/null +++ b/server/executor/tracepollerworker/span_count_polling_stop_strategy.go @@ -0,0 +1,56 @@ +package tracepollerworker + +import ( + "context" + "fmt" + "log" + + "github.com/kubeshop/tracetest/server/executor" + "github.com/kubeshop/tracetest/server/tracedb" +) + +type SpanCountPollingStopStrategy struct{} + +func NewSpanCountPollingStopStrategy() *SpanCountPollingStopStrategy { + return &SpanCountPollingStopStrategy{} +} + +// Evaluate implements PollingStopStrategy. +func (s *SpanCountPollingStopStrategy) Evaluate(ctx context.Context, job *executor.Job, traceDB tracedb.TraceDB) (bool, string) { + if !traceDB.ShouldRetry() { + return true, "TraceDB is not retryable" + } + + maxTracePollRetry := job.PollingProfile.Periodic.MaxTracePollRetry() + + // we're done if we have the same amount of spans after polling or `maxTracePollRetry` times + log.Printf("[TracePoller] Test %s Run %d: Job count %d, max retries: %d", job.Test.ID, job.Run.ID, job.EnqueueCount(), maxTracePollRetry) + if job.EnqueueCount() >= maxTracePollRetry { + return true, fmt.Sprintf("Hit MaxRetry of %d", maxTracePollRetry) + } + + trace := job.Run.Trace + + if trace == nil { + return false, "First iteration" + } + + collectedSpans := job.Headers.GetInt("collectedSpans") + + haveNotCollectedSpansSinceLastPoll := collectedSpans == 0 + haveCollectedSpansInTestRun := len(trace.Flat) > 0 + haveCollectedOnlyRootNode := len(trace.Flat) == 1 && trace.HasRootSpan() + + // Today we consider that we finished collecting traces + // if we haven't collected any new spans since our last poll + // and we have collected at least one span for this test run + // and we have not collected only the root span + + if haveNotCollectedSpansSinceLastPoll && haveCollectedSpansInTestRun && !haveCollectedOnlyRootNode { + return true, fmt.Sprintf("Trace has no new spans. Spans found: %d", len(trace.Flat)) + } + + return false, fmt.Sprintf("New spans found. Before: %d After: %d", len(job.Run.Trace.Flat), len(trace.Flat)) +} + +var _ PollingStopStrategy = &SpanCountPollingStopStrategy{} diff --git a/server/executor/tracepollerworker/starter_worker.go b/server/executor/tracepollerworker/starter_worker.go new file mode 100644 index 0000000000..4fe5f56b23 --- /dev/null +++ b/server/executor/tracepollerworker/starter_worker.go @@ -0,0 +1,99 @@ +package tracepollerworker + +import ( + "context" + "fmt" + "log" + + "github.com/kubeshop/tracetest/server/datastore" + "github.com/kubeshop/tracetest/server/executor" + "github.com/kubeshop/tracetest/server/model/events" + "github.com/kubeshop/tracetest/server/pkg/pipeline" + "github.com/kubeshop/tracetest/server/resourcemanager" + "github.com/kubeshop/tracetest/server/subscription" + "github.com/kubeshop/tracetest/server/tracedb" + "go.opentelemetry.io/otel/trace" +) + +type tracePollerStarterWorker struct { + state *workerState + outputQueue pipeline.Enqueuer[executor.Job] +} + +func NewStarterWorker( + eventEmitter executor.EventEmitter, + newTraceDBFn tracedb.FactoryFunc, + dsRepo resourcemanager.Current[datastore.DataStore], + updater executor.RunUpdater, + subscriptionManager *subscription.Manager, + tracer trace.Tracer, +) *tracePollerStarterWorker { + state := &workerState{ + eventEmitter: eventEmitter, + newTraceDBFn: newTraceDBFn, + dsRepo: dsRepo, + updater: updater, + subscriptionManager: subscriptionManager, + tracer: tracer, + } + + return &tracePollerStarterWorker{state: state} +} + +func (w *tracePollerStarterWorker) SetInputQueue(queue pipeline.Enqueuer[executor.Job]) { + w.state.inputQueue = queue +} + +func (w *tracePollerStarterWorker) SetOutputQueue(queue pipeline.Enqueuer[executor.Job]) { + w.outputQueue = queue +} + +func (w *tracePollerStarterWorker) ProcessItem(ctx context.Context, job executor.Job) { + ctx, span := w.state.tracer.Start(ctx, "Start polling trace") + defer span.End() + + populateSpan(span, job, "", nil) + + select { + default: + case <-ctx.Done(): + return + } + + log.Println("[TracePoller] Starting to poll traces", job.EnqueueCount()) + + traceDB, err := getTraceDB(ctx, w.state) + if err != nil { + log.Printf("[TracePoller] GetDataStore error: %s", err.Error()) + handleError(ctx, job, err, w.state, span) + return + } + + emitEvent(ctx, w.state, events.TraceFetchingStart(job.Test.ID, job.Run.ID)) + + err = w.testConnection(ctx, traceDB, &job) + if err != nil { + handleError(ctx, job, err, w.state, span) + return + } + + w.outputQueue.Enqueue(ctx, job) +} + +func (w *tracePollerStarterWorker) testConnection(ctx context.Context, traceDB tracedb.TraceDB, job *executor.Job) error { + if testableTraceDB, ok := traceDB.(tracedb.TestableTraceDB); ok { + connectionResult := testableTraceDB.TestConnection(ctx) + + emitEvent(ctx, w.state, events.TraceDataStoreConnectionInfo(job.Test.ID, job.Run.ID, connectionResult)) + } + + endpoints := traceDB.GetEndpoints() + ds, err := w.state.dsRepo.Current(ctx) + if err != nil { + return fmt.Errorf("could not get current datastore: %w", err) + } + + emitEvent(ctx, w.state, events.TracePollingStart(job.Test.ID, job.Run.ID, string(ds.Type), endpoints)) + + return nil +} diff --git a/server/executor/trigger_executer_worker.go b/server/executor/trigger_executer_worker.go index 2552ee41a4..bcd9c35a00 100644 --- a/server/executor/trigger_executer_worker.go +++ b/server/executor/trigger_executer_worker.go @@ -21,12 +21,14 @@ func NewTriggerExecuterWorker( updater RunUpdater, tracer trace.Tracer, eventEmitter EventEmitter, + enabled bool, ) *triggerExecuterWorker { return &triggerExecuterWorker{ triggers: triggers, updater: updater, tracer: tracer, eventEmitter: eventEmitter, + enabled: enabled, } } @@ -36,6 +38,7 @@ type triggerExecuterWorker struct { tracer trace.Tracer eventEmitter EventEmitter outputQueue pipeline.Enqueuer[Job] + enabled bool } func (r *triggerExecuterWorker) SetOutputQueue(queue pipeline.Enqueuer[Job]) { @@ -55,6 +58,10 @@ func (r triggerExecuterWorker) handleError(run test.Run, err error) { } func (r triggerExecuterWorker) ProcessItem(ctx context.Context, job Job) { + if !r.enabled { + return + } + err := r.eventEmitter.Emit(ctx, events.TriggerExecutionStart(job.Run.TestID, job.Run.ID)) if err != nil { r.handleError(job.Run, err) diff --git a/server/executor/trigger_result_processor_worker.go b/server/executor/trigger_result_processor_worker.go index 498317dd27..02c2c6cdee 100644 --- a/server/executor/trigger_result_processor_worker.go +++ b/server/executor/trigger_result_processor_worker.go @@ -91,6 +91,7 @@ func (r triggerResultProcessorWorker) ProcessItem(ctx context.Context, job Job) } } + job.Run.State = test.RunStateAwaitingTrace r.handleDBError(job.Run, r.updater.Update(ctx, job.Run)) r.outputQueue.Enqueue(ctx, job) diff --git a/server/http/controller.go b/server/http/controller.go index fab9cd0359..c3a5796567 100644 --- a/server/http/controller.go +++ b/server/http/controller.go @@ -22,6 +22,7 @@ import ( "github.com/kubeshop/tracetest/server/test" "github.com/kubeshop/tracetest/server/testsuite" "github.com/kubeshop/tracetest/server/tracedb" + "github.com/kubeshop/tracetest/server/traces" "github.com/kubeshop/tracetest/server/variableset" "github.com/labstack/gommon/log" "go.opentelemetry.io/otel/trace" @@ -718,6 +719,8 @@ func (c *controller) UpdateTestRun(ctx context.Context, testID string, runID int // Prevents bad data in other fields to override correct data existingRun.TriggerResult = run.TriggerResult + newTrace := traces.MergeTraces(existingRun.Trace, run.Trace) + existingRun.Trace = &newTrace err = c.testRunRepository.UpdateRun(ctx, existingRun) if err != nil { diff --git a/server/otlp/grpc_server.go b/server/otlp/grpc_server.go index 6325cae7e3..7c47e8a4ad 100644 --- a/server/otlp/grpc_server.go +++ b/server/otlp/grpc_server.go @@ -5,6 +5,7 @@ import ( "fmt" "net" + "go.opentelemetry.io/otel/trace" pb "go.opentelemetry.io/proto/otlp/collector/trace/v1" "google.golang.org/grpc" ) @@ -16,12 +17,14 @@ type grpcServer struct { ingester Ingester gServer *grpc.Server + tracer trace.Tracer } -func NewGrpcServer(addr string, ingester Ingester) *grpcServer { +func NewGrpcServer(addr string, ingester Ingester, tracer trace.Tracer) *grpcServer { return &grpcServer{ addr: addr, ingester: ingester, + tracer: tracer, } } @@ -40,5 +43,8 @@ func (s *grpcServer) Stop() { } func (s grpcServer) Export(ctx context.Context, request *pb.ExportTraceServiceRequest) (*pb.ExportTraceServiceResponse, error) { + ctx, span := s.tracer.Start(ctx, "Export trace") + defer span.End() + return s.ingester.Ingest(ctx, request, "gRPC") } diff --git a/server/otlp/ingester.go b/server/otlp/ingester.go index 8777f083e7..987300de1b 100644 --- a/server/otlp/ingester.go +++ b/server/otlp/ingester.go @@ -13,6 +13,7 @@ import ( "github.com/kubeshop/tracetest/server/model/events" "github.com/kubeshop/tracetest/server/test" "github.com/kubeshop/tracetest/server/traces" + "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" pb "go.opentelemetry.io/proto/otlp/collector/trace/v1" v1 "go.opentelemetry.io/proto/otlp/trace/v1" @@ -37,7 +38,7 @@ type tracePersister interface { UpdateTraceSpans(context.Context, *traces.Trace) error } -func NewIngester(tracePersister tracePersister, runRepository runGetter, eventEmitter executor.EventEmitter, dsRepo *datastore.Repository) ingester { +func NewIngester(tracePersister tracePersister, runRepository runGetter, eventEmitter executor.EventEmitter, dsRepo *datastore.Repository, tracer trace.Tracer) ingester { return ingester{ log: func(format string, args ...interface{}) { log.Printf("[OTLP] "+format, args...) @@ -46,6 +47,7 @@ func NewIngester(tracePersister tracePersister, runRepository runGetter, eventEm runGetter: runRepository, eventEmitter: eventEmitter, dsRepo: dsRepo, + tracer: tracer, } } @@ -55,6 +57,7 @@ type ingester struct { runGetter runGetter eventEmitter executor.EventEmitter dsRepo *datastore.Repository + tracer trace.Tracer } func (i ingester) Ingest(ctx context.Context, request *pb.ExportTraceServiceRequest, requestType RequestType) (*pb.ExportTraceServiceResponse, error) { @@ -70,31 +73,18 @@ func (i ingester) Ingest(ctx context.Context, request *pb.ExportTraceServiceRequ return &pb.ExportTraceServiceResponse{}, nil } + ctx, span := i.tracer.Start(ctx, "convert received spans") + defer span.End() receivedTraces := i.traces(request.ResourceSpans) i.log("received %d traces", len(receivedTraces)) // each request can have different traces so we need to go over each individual trace for ix, modelTrace := range receivedTraces { i.log("processing trace %d/%d traceID %s", ix+1, len(receivedTraces), modelTrace.ID.String()) - // if at some point we want to save all traces, not just the ones related to a running test - // we can just remove this check - run, err := i.getOngoinTestRunForTrace(ctx, modelTrace) - if errors.Is(err, errNoTestRun) { - i.log("trace %s is not part of any ongoing test run", modelTrace.ID.String()) - continue - } - if err != nil { - return nil, fmt.Errorf("failed to get test run: %w", err) - } - - err = i.tracePersister.UpdateTraceSpans(ctx, &modelTrace) + err = i.processTrace(ctx, modelTrace, ix, requestType) if err != nil { - return nil, fmt.Errorf("failed to save trace: %w", err) - } - - err = i.notify(ctx, run, modelTrace, requestType) - if err != nil { - return nil, fmt.Errorf("failed to notify: %w", err) + span.RecordError(err, trace.WithAttributes(attribute.String("tracetest.ingestor.trace_id", modelTrace.ID.String()))) + return nil, err } } @@ -105,6 +95,44 @@ func (i ingester) Ingest(ctx context.Context, request *pb.ExportTraceServiceRequ }, nil } +func (i ingester) processTrace(ctx context.Context, modelTrace traces.Trace, ix int, requestType RequestType) error { + ctx, span := i.tracer.Start(ctx, "process otlp trace") + span.SetAttributes( + attribute.String("tracetest.ingestor.trace_id", modelTrace.ID.String()), + ) + defer span.End() + + // if at some point we want to save all traces, not just the ones related to a running test + // we can just remove this check + run, err := i.getOngoinTestRunForTrace(ctx, modelTrace) + if errors.Is(err, errNoTestRun) { + i.log("trace %s is not part of any ongoing test run", modelTrace.ID.String()) + span.RecordError(err) + return nil + } + if err != nil { + i.log("[%s] failed to get test run: %s", modelTrace.ID.String(), err.Error()) + span.RecordError(err) + return fmt.Errorf("failed to get test run: %w", err) + } + + err = i.tracePersister.UpdateTraceSpans(ctx, &modelTrace) + if err != nil { + i.log("[%s] failed to save trace: %s", modelTrace.ID.String(), err.Error()) + span.RecordError(err) + return fmt.Errorf("failed to save trace: %w", err) + } + + err = i.notify(ctx, run, modelTrace, requestType) + if err != nil { + i.log("[%s] failed to notify: %s", modelTrace.ID.String(), err.Error()) + span.RecordError(err) + return fmt.Errorf("failed to notify: %w", err) + } + + return nil +} + func (i ingester) traces(input []*v1.ResourceSpans) []traces.Trace { spansByTrace := map[string][]*v1.Span{} @@ -145,8 +173,8 @@ func (i ingester) getOngoinTestRunForTrace(ctx context.Context, trace traces.Tra return test.Run{}, fmt.Errorf("error getting run by traceID: %w", err) } - if run.State != test.RunStateAwaitingTrace { - return test.Run{}, errNoTestRun + if run.State != test.RunStateAwaitingTrace && run.State != test.RunStateExecuting { + return test.Run{}, fmt.Errorf("test run is not awaiting trace nor executing. Actual state: %s", run.State) } return run, nil diff --git a/server/pkg/pipeline/pipeline.go b/server/pkg/pipeline/pipeline.go index 4413d4a1d2..20a8556097 100644 --- a/server/pkg/pipeline/pipeline.go +++ b/server/pkg/pipeline/pipeline.go @@ -40,8 +40,9 @@ type InputQueueSetter[T any] interface { } type Step[T any] struct { - Driver workerDriver[T] - Processor step[T] + Driver workerDriver[T] + Processor step[T] + InputQueueOffset int } func New[T any](cfg queueConfigurer[T], steps ...Step[T]) *Pipeline[T] { @@ -69,7 +70,7 @@ func New[T any](cfg queueConfigurer[T], steps ...Step[T]) *Pipeline[T] { // a processor might need to have a reference to its input queue, to requeue items for example. // This can be done if it implements the `InputQueueSetter` interace if setter, ok := reflect.ValueOf(step.Processor).Interface().(InputQueueSetter[T]); ok { - setter.SetInputQueue(pipeline.queues[i]) + setter.SetInputQueue(pipeline.queues[i+step.InputQueueOffset]) } } diff --git a/server/pkg/pipeline/postgres_driver.go b/server/pkg/pipeline/postgres_driver.go index f71ba193a8..7789e23405 100644 --- a/server/pkg/pipeline/postgres_driver.go +++ b/server/pkg/pipeline/postgres_driver.go @@ -103,7 +103,7 @@ func (qd *postgresQueueDriver[T]) worker(conn *pgxpool.Conn) { return } - qd.log("received job for channel: %s") + qd.log("received job for channel: %s", job.Channel) channel, err := qd.getChannel(job.Channel) if err != nil { @@ -177,7 +177,7 @@ func (ch *channel[T]) Enqueue(item T) { ch.log("error acquiring connection: %s", err.Error()) return } - ch.log("aquired connection for") + ch.log("acquired connection for") defer conn.Release() _, err = conn.Query(ctx, fmt.Sprintf(`select pg_notify('%s', $1)`, ch.postgresQueueDriver.channelName), jj) diff --git a/server/tracedb/otlp.go b/server/tracedb/otlp.go index 3e34fa507d..e272cda206 100644 --- a/server/tracedb/otlp.go +++ b/server/tracedb/otlp.go @@ -50,5 +50,4 @@ func (tdb *OTLPTraceDB) GetTraceByID(ctx context.Context, id string) (traces.Tra } return t, err - } diff --git a/server/traces/caching.go b/server/traces/caching.go new file mode 100644 index 0000000000..e53271ea71 --- /dev/null +++ b/server/traces/caching.go @@ -0,0 +1,35 @@ +package traces + +import "sync" + +type spanCache map[string]*Span + +var cache spanCache = nil +var cacheMutex sync.Mutex + +func getCache() spanCache { + cacheMutex.Lock() + defer cacheMutex.Unlock() + + if cache == nil { + cache = spanCache{} + } + + return cache +} + +func resetCache() { + cacheMutex.Lock() + defer cacheMutex.Unlock() + + cache = nil +} + +func (c spanCache) Get(key string) (*Span, bool) { + value, ok := c[key] + return value, ok +} + +func (c spanCache) Set(key string, value *Span) { + c[key] = value +} diff --git a/server/traces/data/big-trace-json.json b/server/traces/data/big-trace-json.json new file mode 100644 index 0000000000..6c3bc9ea37 --- /dev/null +++ b/server/traces/data/big-trace-json.json @@ -0,0 +1,4079 @@ +{ + "ID": "00f2de75a481d9700a3aa45de8832b7a", + "RootSpan": { + "ID": "dc274164cab19bf7", + "Name": "Tracetest trigger", + "EndTime": "1694713628906", + "Children": [ + { + "ID": "b8d91e328fa35a94", + "Name": "POST /api/tests/{testId}/run", + "EndTime": "1694713628906", + "Children": [ + { + "ID": "a35e948f1badca04", + "Name": "query SELECT", + "EndTime": "1694713628884", + "Children": [], + "StartTime": "1694713628882", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.query": "\n\tSELECT\n\t\tt.id,\n\t\tt.version,\n\t\tt.name,\n\t\tt.description,\n\t\tt.service_under_test,\n\t\tt.specs,\n\t\tt.outputs,\n\t\tt.created_at,\n\t\t(SELECT COUNT(*) FROM test_runs tr WHERE tr.test_id = t.id) as total_runs,\n\t\tlast_test_run.created_at as last_test_run_time,\n\t\tlast_test_run.pass as last_test_run_pass,\n\t\tlast_test_run.fail as last_test_run_fail\n\tFROM tests t\n\tLEFT OUTER JOIN (\n\t\tSELECT MAX(id) as id, test_id FROM test_runs GROUP BY test_id\n\t) as ltr ON ltr.test_id = t.id\n\tLEFT OUTER JOIN\n\t\ttest_runs last_test_run\n\tON last_test_run.test_id = ltr.test_id AND last_test_run.id = ltr.id\n WHERE t.id = $1ORDER BY t.version DESC LIMIT 1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1864068", + "tracetest.span.end_time": "1694713628884367068", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628882503000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "bea617e98f6ad723", + "Name": "query SELECT", + "EndTime": "1694713628888", + "Children": [], + "StartTime": "1694713628886", + "Attributes": { + "sql.query": "\n\t\tSELECT\n\t\t\t\"name\",\n\t\t\t\"required_gates\"\n\t\tFROM test_runners", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2727218", + "tracetest.span.end_time": "1694713628888998218", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628886271000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "f6126ed9e30a7ded", + "Name": "begin ", + "EndTime": "1694713628890", + "Children": [], + "StartTime": "1694713628889", + "Attributes": { + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "begin ", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1308081", + "tracetest.span.end_time": "1694713628890433081", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628889125000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "e502230d785d6ca5", + "Name": "exec CREATE", + "EndTime": "1694713628892", + "Children": [], + "StartTime": "1694713628890", + "Attributes": { + "sql.query": "CREATE SEQUENCE IF NOT EXISTS \"runs_test_9043fe8d515bc1f5f54bdaefb71cf48c_seq\";", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec CREATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2375679", + "tracetest.span.end_time": "1694713628892850679", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628890475000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "05dd51f64398e643", + "Name": "query INSERT", + "EndTime": "1694713628895", + "Children": [], + "StartTime": "1694713628892", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "2023-09-14 17:47:08.886249 +0000 UTC", + "sql.arg.4": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.6": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.7": "CREATED", + "sql.arg.8": "478626ae3655d302420c8128c44e0569", + "sql.arg.9": "13386f0abed8c4d7", + "sql.query": "\nINSERT INTO test_runs (\n\t\"id\",\n\t\"test_id\",\n\t\"test_version\",\n\n\t-- timestamps\n\t\"created_at\",\n\t\"service_triggered_at\",\n\t\"service_trigger_completed_at\",\n\t\"obtained_trace_at\",\n\t\"completed_at\",\n\n\t-- trigger params\n\t\"state\",\n\t\"trace_id\",\n\t\"span_id\",\n\n\t-- result info\n\t\"resolved_trigger\",\n\t\"trigger_results\",\n\t\"test_results\",\n\t\"trace\",\n\t\"outputs\",\n\t\"last_error\",\n\t\"pass\",\n\t\"fail\",\n\n\t\"metadata\",\n\n\t-- variable set\n\t\"variable_set\",\n\n\t-- linter\n\t\"linter\",\n\n\t-- required gates\n\t\"required_gates_result\",\n\n\t\"tenant_id\"\n) VALUES (\n\tnextval('runs_test_9043fe8d515bc1f5f54bdaefb71cf48c_seq'), -- id\n\t$1, -- test_id\n\t$2, -- test_version\n\n\t-- timestamps\n\t$3, -- created_at\n\t$4, -- service_triggered_at\n\t$5, -- service_trigger_completed_at\n\t$6, -- obtained_trace_at\n\tto_timestamp(0), -- completed_at\n\n\t-- trigger params\n\t$7, -- state\n\t$8, -- trace_id\n\t$9, -- span_id\n\n\t-- result info\n\t$10, -- resolved_trigger\n\t$11, -- trigger_results\n\t'{}', -- test_results\n\t$12, -- trace\n\t'[]', -- outputs\n\tNULL, -- last_error\n\t0, -- pass\n\t0, -- fail\n\n\t$13, -- metadata\n\t$14, -- variable_set\n\t$15, -- linter\n\t$16, -- required_gates_result\n\t$17 -- tenant_id\n)\nRETURNING \"id\"", + "sql.arg.10": "[123 34 116 121 112 101 34 58 34 34 125]", + "sql.arg.11": "[123 34 116 121 112 101 34 58 34 34 125]", + "sql.arg.12": "[110 117 108 108]", + "sql.arg.13": "[110 117 108 108]", + "sql.arg.14": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.15": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.16": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "sql.arg.17": "", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2800908", + "tracetest.span.end_time": "1694713628895783908", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628892983000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "c7ee56128d5fe49d", + "Name": "query SELECT", + "EndTime": "1694713628899", + "Children": [], + "StartTime": "1694713628898", + "Attributes": { + "sql.arg.1": "1", + "sql.arg.2": "U9kZntiSR", + "sql.query": "\nSELECT\n\t\n\t\"id\",\n\t\"test_id\",\n\t\"test_version\",\n\n\t-- timestamps\n\t\"created_at\",\n\t\"service_triggered_at\",\n\t\"service_trigger_completed_at\",\n\t\"obtained_trace_at\",\n\t\"completed_at\",\n\n\t-- trigger params\n\t\"state\",\n\t\"trace_id\",\n\t\"span_id\",\n\n\t-- result info\n\t\"resolved_trigger\",\n\t\"trigger_results\",\n\t\"test_results\",\n\t\"trace\",\n\t\"outputs\",\n\t\"last_error\",\n\t\"metadata\",\n\t\"variable_set\",\n\n\t-- test_suite run\n\ttest_suite_run_steps.test_suite_run_id,\n\ttest_suite_run_steps.test_suite_run_test_suite_id,\n\t\"linter\",\n\t\"required_gates_result\"\n\nFROM\n\ttest_runs\nLEFT OUTER JOIN test_suite_run_steps\nON test_suite_run_steps.test_run_id = test_runs.id AND test_suite_run_steps.test_run_test_id = test_runs.test_id\n WHERE id = $1 AND test_id = $2", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1544739", + "tracetest.span.end_time": "1694713628899761739", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628898217000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "08ff457690bb1e6d", + "Name": "query SELECT", + "EndTime": "1694713628902", + "Children": [], + "StartTime": "1694713628899", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2744011", + "tracetest.span.end_time": "1694713628902660011", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628899916000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "0afef31318a5fd5d", + "Name": "query SELECT", + "EndTime": "1694713628905", + "Children": [], + "StartTime": "1694713628902", + "Attributes": { + "sql.query": "\n\t\tSELECT\n\t\t\t\"name\",\n\t\t\t\"strategy\",\n\t\t\t\"periodic\"\n\t\tFROM polling_profiles ", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3126448", + "tracetest.span.end_time": "1694713628905883448", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628902757000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "14ce9429bba3eff7", + "Name": "Resolve trigger", + "EndTime": "1694713628992", + "Children": [ + { + "ID": "72c35b897723a86f", + "Name": "exec UPDATE", + "EndTime": "1694713628945", + "Children": [], + "StartTime": "1694713628942", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "EXECUTING", + "sql.arg.6": "478626ae3655d302420c8128c44e0569", + "sql.arg.7": "13386f0abed8c4d7", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 34 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 34 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[110 117 108 108]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3007125", + "tracetest.span.end_time": "1694713628945684125", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713628942677000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "5a71f2857f67abe8", + "Name": "query INSERT", + "EndTime": "1694713628962", + "Children": [], + "StartTime": "1694713628945", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "CREATED_INFO", + "sql.arg.4": "trigger", + "sql.arg.5": "Trigger created", + "sql.arg.6": "The trigger run has been created", + "sql.arg.7": "2023-09-14 14:47:08.945749 -0300 -03 m=+223.813245077", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "16900596", + "tracetest.span.end_time": "1694713628962735596", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713628945835000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "8caba060dc0ffaf7", + "Name": "query SELECT", + "EndTime": "1694713628963", + "Children": [], + "StartTime": "1694713628962", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1044448", + "tracetest.span.end_time": "1694713628963855448", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713628962811000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "654cd8271119b533", + "Name": "exec UPDATE", + "EndTime": "1694713628966", + "Children": [], + "StartTime": "1694713628964", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "EXECUTING", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "13386f0abed8c4d7", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 34 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 34 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[110 117 108 108]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2232495", + "tracetest.span.end_time": "1694713628966461495", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713628964229000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "4ba23e7afa6e6301", + "Name": "query INSERT", + "EndTime": "1694713628970", + "Children": [], + "StartTime": "1694713628966", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "RESOLVE_START", + "sql.arg.4": "trigger", + "sql.arg.5": "Resolving trigger details started", + "sql.arg.6": "The resolution of trigger details based on variables has started", + "sql.arg.7": "2023-09-14 14:47:08.966527 -0300 -03 m=+223.834023866", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3527705", + "tracetest.span.end_time": "1694713628970126705", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713628966599000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "b2b1a7511cb3af22", + "Name": "query INSERT", + "EndTime": "1694713628972", + "Children": [], + "StartTime": "1694713628970", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "RESOLVE_SUCCESS", + "sql.arg.4": "trigger", + "sql.arg.5": "Resolving trigger details succeeded", + "sql.arg.6": "The resolution of trigger details was executed successfully", + "sql.arg.7": "2023-09-14 14:47:08.970625 -0300 -03 m=+223.838121495", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2122131", + "tracetest.span.end_time": "1694713628972819131", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713628970697000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "6bb2681e01c6a8d2", + "Name": "exec UPDATE", + "EndTime": "1694713628992", + "Children": [], + "StartTime": "1694713628973", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "EXECUTING", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "13386f0abed8c4d7", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 34 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[110 117 108 108]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "19559820", + "tracetest.span.end_time": "1694713628992648820", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713628973089000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "180da2efe132698f", + "Name": "Trigger test", + "EndTime": "1694713629151", + "Children": [], + "StartTime": "1694713629045", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Trigger test", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "106278110", + "tracetest.span.end_time": "1694713629151511110", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713629045233000", + "tracetest.run.trigger.type": "http", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.run.trigger.span_id": "f003ce536c6ef3e3", + "tracetest.run.trigger.test_id": "U9kZntiSR", + "tracetest.run.trigger.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.span.status_description": "", + "tracetest.run.trigger.http.response_code": "200" + } + }, + { + "ID": "92490c0a4be67353", + "Name": "Start processing trigger response", + "EndTime": "1694713629276", + "Children": [ + { + "ID": "4a3ce9ec6258dd52", + "Name": "query INSERT", + "EndTime": "1694713629271", + "Children": [], + "StartTime": "1694713629225", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "EXECUTION_SUCCESS", + "sql.arg.4": "trigger", + "sql.arg.5": "Trigger execution succeeded", + "sql.arg.6": "The execution of the trigger was performed successfully", + "sql.arg.7": "2023-09-14 14:47:09.225701 -0300 -03 m=+224.093199861", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "46041191", + "tracetest.span.end_time": "1694713629271818191", + "tracetest.span.parent_id": "92490c0a4be67353", + "tracetest.span.start_time": "1694713629225777000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "0a102ecdd22e75e4", + "Name": "exec UPDATE", + "EndTime": "1694713629276", + "Children": [], + "StartTime": "1694713629272", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[110 117 108 108]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4320048", + "tracetest.span.end_time": "1694713629276552048", + "tracetest.span.parent_id": "92490c0a4be67353", + "tracetest.span.start_time": "1694713629272232000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "03a988ec67bb2866", + "Name": "Start polling trace", + "EndTime": "1694713629322", + "Children": [ + { + "ID": "31d027a9be2cc5a2", + "Name": "query SELECT", + "EndTime": "1694713629302", + "Children": [], + "StartTime": "1694713629300", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1485024", + "tracetest.span.end_time": "1694713629302351024", + "tracetest.span.parent_id": "03a988ec67bb2866", + "tracetest.span.start_time": "1694713629300866000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "c822eb4d76a70acb", + "Name": "query INSERT", + "EndTime": "1694713629308", + "Children": [], + "StartTime": "1694713629302", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "FETCHING_START", + "sql.arg.4": "trace", + "sql.arg.5": "Trace fetching started", + "sql.arg.6": "The trace fetching process has started", + "sql.arg.7": "2023-09-14 14:47:09.302541 -0300 -03 m=+224.170040459", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "6168485", + "tracetest.span.end_time": "1694713629308769485", + "tracetest.span.parent_id": "03a988ec67bb2866", + "tracetest.span.start_time": "1694713629302601000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "32a1b667dd3c839e", + "Name": "query INSERT", + "EndTime": "1694713629318", + "Children": [], + "StartTime": "1694713629316", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "DATA_STORE_CONNECTION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Data store test connection executed", + "sql.arg.6": "A data store test connection has been executed with the following results", + "sql.arg.7": "2023-09-14 14:47:09.316176 -0300 -03 m=+224.183675530", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 112 97 115 115 101 100 34 44 34 77 101 115 115 97 103 101 34 58 34 89 111 117 32 97 114 101 32 117 115 105 110 103 32 97 32 99 111 109 109 111 110 108 121 32 117 115 101 100 32 112 111 114 116 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 84 114 97 99 101 116 101 115 116 32 99 111 110 110 101 99 116 101 100 32 116 111 32 92 34 108 111 99 97 108 104 111 115 116 58 49 54 54 56 53 92 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 84 114 97 99 101 116 101 115 116 32 109 97 110 97 103 101 100 32 116 111 32 97 117 116 104 101 110 116 105 99 97 116 101 32 119 105 116 104 32 74 97 101 103 101 114 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 112 97 115 115 101 100 34 44 34 77 101 115 115 97 103 101 34 58 34 84 114 97 99 101 115 32 119 101 114 101 32 111 98 116 97 105 110 101 100 32 115 117 99 99 101 115 115 102 117 108 108 121 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2419685", + "tracetest.span.end_time": "1694713629318676685", + "tracetest.span.parent_id": "03a988ec67bb2866", + "tracetest.span.start_time": "1694713629316257000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "0f2ad0c3eea46b95", + "Name": "query SELECT", + "EndTime": "1694713629319", + "Children": [], + "StartTime": "1694713629318", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1015848", + "tracetest.span.end_time": "1694713629319811848", + "tracetest.span.parent_id": "03a988ec67bb2866", + "tracetest.span.start_time": "1694713629318796000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "6da631bc1b50909c", + "Name": "query INSERT", + "EndTime": "1694713629321", + "Children": [], + "StartTime": "1694713629319", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_START", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling started", + "sql.arg.6": "The trace polling process has started using jaeger with the following endpoints: localhost:16685", + "sql.arg.7": "2023-09-14 14:47:09.319869 -0300 -03 m=+224.187368917", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 48 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2039886", + "tracetest.span.end_time": "1694713629321992886", + "tracetest.span.parent_id": "03a988ec67bb2866", + "tracetest.span.start_time": "1694713629319953000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "caa608d8b58903a4", + "Name": "Fetching trace", + "EndTime": "1694713629362", + "Children": [ + { + "ID": "6ad26d5461b354bb", + "Name": "query SELECT", + "EndTime": "1694713629354", + "Children": [], + "StartTime": "1694713629352", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2011317", + "tracetest.span.end_time": "1694713629354734317", + "tracetest.span.parent_id": "caa608d8b58903a4", + "tracetest.span.start_time": "1694713629352723000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "a193adbe652ae280", + "Name": "Evaluating trace", + "EndTime": "1694713629404", + "Children": [ + { + "ID": "a9d3e31668aac702", + "Name": "query INSERT", + "EndTime": "1694713629404", + "Children": [], + "StartTime": "1694713629401", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:09.401176 -0300 -03 m=+224.268676226", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 48 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3357351", + "tracetest.span.end_time": "1694713629404604351", + "tracetest.span.parent_id": "a193adbe652ae280", + "tracetest.span.start_time": "1694713629401247000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "59d6baae97580d8c", + "Name": "Fetching trace", + "EndTime": "1694713632447", + "Children": [ + { + "ID": "8d6c311f1de1029f", + "Name": "query SELECT", + "EndTime": "1694713632439", + "Children": [], + "StartTime": "1694713632438", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1246476", + "tracetest.span.end_time": "1694713632439313476", + "tracetest.span.parent_id": "59d6baae97580d8c", + "tracetest.span.start_time": "1694713632438067000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "619ad12a41b4cddd", + "Name": "exec UPDATE", + "EndTime": "1694713632447", + "Children": [], + "StartTime": "1694713632444", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3637343", + "tracetest.span.end_time": "1694713632447768343", + "tracetest.span.parent_id": "59d6baae97580d8c", + "tracetest.span.start_time": "1694713632444131000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "750484f235a2e939", + "Name": "Evaluating trace", + "EndTime": "1694713632476", + "Children": [ + { + "ID": "1330ee73d6f0387f", + "Name": "query INSERT", + "EndTime": "1694713632476", + "Children": [], + "StartTime": "1694713632473", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:12.472999 -0300 -03 m=+227.340528040", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3747928", + "tracetest.span.end_time": "1694713632476818928", + "tracetest.span.parent_id": "750484f235a2e939", + "tracetest.span.start_time": "1694713632473071000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "e388a21cb7a3bf17", + "Name": "Fetching trace", + "EndTime": "1694713635524", + "Children": [ + { + "ID": "04709e0451d477f9", + "Name": "query SELECT", + "EndTime": "1694713635514", + "Children": [], + "StartTime": "1694713635512", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1806929", + "tracetest.span.end_time": "1694713635514569929", + "tracetest.span.parent_id": "e388a21cb7a3bf17", + "tracetest.span.start_time": "1694713635512763000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "dacc644c98fa4bf5", + "Name": "exec UPDATE", + "EndTime": "1694713635524", + "Children": [], + "StartTime": "1694713635520", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4182124", + "tracetest.span.end_time": "1694713635524527124", + "tracetest.span.parent_id": "e388a21cb7a3bf17", + "tracetest.span.start_time": "1694713635520345000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "668ac36286bc2205", + "Name": "Evaluating trace", + "EndTime": "1694713635582", + "Children": [ + { + "ID": "4b279b4330272c41", + "Name": "query INSERT", + "EndTime": "1694713635582", + "Children": [], + "StartTime": "1694713635557", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:15.556941 -0300 -03 m=+230.424498830", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 50 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "25126047", + "tracetest.span.end_time": "1694713635582151047", + "tracetest.span.parent_id": "668ac36286bc2205", + "tracetest.span.start_time": "1694713635557025000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "9741a0fae00f9ffe", + "Name": "Fetching trace", + "EndTime": "1694713638617", + "Children": [ + { + "ID": "9467335e13b1e641", + "Name": "query SELECT", + "EndTime": "1694713638607", + "Children": [], + "StartTime": "1694713638603", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4263748", + "tracetest.span.end_time": "1694713638607771748", + "tracetest.span.parent_id": "9741a0fae00f9ffe", + "tracetest.span.start_time": "1694713638603508000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "cf6594f8c2531064", + "Name": "exec UPDATE", + "EndTime": "1694713638617", + "Children": [], + "StartTime": "1694713638613", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4217955", + "tracetest.span.end_time": "1694713638617538955", + "tracetest.span.parent_id": "9741a0fae00f9ffe", + "tracetest.span.start_time": "1694713638613321000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "c1fa2e517ba79d37", + "Name": "Evaluating trace", + "EndTime": "1694713638649", + "Children": [ + { + "ID": "0472c9120ce550d0", + "Name": "query INSERT", + "EndTime": "1694713638649", + "Children": [], + "StartTime": "1694713638646", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:18.646613 -0300 -03 m=+233.514199704", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 51 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3255930", + "tracetest.span.end_time": "1694713638649939930", + "tracetest.span.parent_id": "c1fa2e517ba79d37", + "tracetest.span.start_time": "1694713638646684000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "4586262986f3c003", + "Name": "Fetching trace", + "EndTime": "1694713641951", + "Children": [ + { + "ID": "53bcb7a556ac8acf", + "Name": "query SELECT", + "EndTime": "1694713641698", + "Children": [], + "StartTime": "1694713641697", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1319122", + "tracetest.span.end_time": "1694713641698845122", + "tracetest.span.parent_id": "4586262986f3c003", + "tracetest.span.start_time": "1694713641697526000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "0c4719b7cadcfdf9", + "Name": "exec UPDATE", + "EndTime": "1694713641951", + "Children": [], + "StartTime": "1694713641707", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "243673428", + "tracetest.span.end_time": "1694713641951027428", + "tracetest.span.parent_id": "4586262986f3c003", + "tracetest.span.start_time": "1694713641707354000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "895d3b360782e727", + "Name": "Evaluating trace", + "EndTime": "1694713642188", + "Children": [ + { + "ID": "e2acf601a012d189", + "Name": "query INSERT", + "EndTime": "1694713642188", + "Children": [], + "StartTime": "1694713641990", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:21.990775 -0300 -03 m=+236.858393200", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 52 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "197218968", + "tracetest.span.end_time": "1694713642188071968", + "tracetest.span.parent_id": "895d3b360782e727", + "tracetest.span.start_time": "1694713641990853000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "44d3e68de3216208", + "Name": "Fetching trace", + "EndTime": "1694713645223", + "Children": [ + { + "ID": "25e76459b49afd54", + "Name": "query SELECT", + "EndTime": "1694713645214", + "Children": [], + "StartTime": "1694713645212", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1994972", + "tracetest.span.end_time": "1694713645214883972", + "tracetest.span.parent_id": "44d3e68de3216208", + "tracetest.span.start_time": "1694713645212889000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "bd464a8db385efcb", + "Name": "exec UPDATE", + "EndTime": "1694713645223", + "Children": [], + "StartTime": "1694713645221", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2589814", + "tracetest.span.end_time": "1694713645223748814", + "tracetest.span.parent_id": "44d3e68de3216208", + "tracetest.span.start_time": "1694713645221159000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "80fd30690f8471a2", + "Name": "Evaluating trace", + "EndTime": "1694713645268", + "Children": [ + { + "ID": "3f1e506351afac6b", + "Name": "query INSERT", + "EndTime": "1694713645268", + "Children": [], + "StartTime": "1694713645266", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:25.265927 -0300 -03 m=+240.133576211", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 53 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2470865", + "tracetest.span.end_time": "1694713645268501865", + "tracetest.span.parent_id": "80fd30690f8471a2", + "tracetest.span.start_time": "1694713645266031000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "a7062908a501cb9e", + "Name": "Fetching trace", + "EndTime": "1694713648314", + "Children": [ + { + "ID": "bb323a2bb6a9be8d", + "Name": "query SELECT", + "EndTime": "1694713648302", + "Children": [], + "StartTime": "1694713648298", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3780640", + "tracetest.span.end_time": "1694713648302705640", + "tracetest.span.parent_id": "a7062908a501cb9e", + "tracetest.span.start_time": "1694713648298925000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "a6c7881a8ffdc6fa", + "Name": "exec UPDATE", + "EndTime": "1694713648314", + "Children": [], + "StartTime": "1694713648310", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3874943", + "tracetest.span.end_time": "1694713648314537943", + "tracetest.span.parent_id": "a7062908a501cb9e", + "tracetest.span.start_time": "1694713648310663000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "f1e9153fe9e855f9", + "Name": "Evaluating trace", + "EndTime": "1694713648379", + "Children": [ + { + "ID": "6a501c5bffa61c4a", + "Name": "query INSERT", + "EndTime": "1694713648379", + "Children": [], + "StartTime": "1694713648368", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:28.368476 -0300 -03 m=+243.236153584", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 54 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "10841159", + "tracetest.span.end_time": "1694713648379392159", + "tracetest.span.parent_id": "f1e9153fe9e855f9", + "tracetest.span.start_time": "1694713648368551000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "cf83e9acdbeffdf0", + "Name": "Fetching trace", + "EndTime": "1694713651420", + "Children": [ + { + "ID": "5afce19d45fc48a6", + "Name": "query SELECT", + "EndTime": "1694713651411", + "Children": [], + "StartTime": "1694713651410", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1315642", + "tracetest.span.end_time": "1694713651411937642", + "tracetest.span.parent_id": "cf83e9acdbeffdf0", + "tracetest.span.start_time": "1694713651410622000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "eb37dab91ee02dbb", + "Name": "exec UPDATE", + "EndTime": "1694713651420", + "Children": [], + "StartTime": "1694713651416", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3688405", + "tracetest.span.end_time": "1694713651420516405", + "tracetest.span.parent_id": "cf83e9acdbeffdf0", + "tracetest.span.start_time": "1694713651416828000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "25a9c05128c2a00d", + "Name": "Evaluating trace", + "EndTime": "1694713651540", + "Children": [ + { + "ID": "f98703a8e471584e", + "Name": "query INSERT", + "EndTime": "1694713651540", + "Children": [], + "StartTime": "1694713651533", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:31.533461 -0300 -03 m=+246.401168643", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 55 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "7058053", + "tracetest.span.end_time": "1694713651540590053", + "tracetest.span.parent_id": "25a9c05128c2a00d", + "tracetest.span.start_time": "1694713651533532000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "d9c8e4009639251a", + "Name": "Fetching trace", + "EndTime": "1694713654581", + "Children": [ + { + "ID": "3f0b030fc5d113a3", + "Name": "query SELECT", + "EndTime": "1694713654569", + "Children": [], + "StartTime": "1694713654567", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1378869", + "tracetest.span.end_time": "1694713654569045869", + "tracetest.span.parent_id": "d9c8e4009639251a", + "tracetest.span.start_time": "1694713654567667000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "9359c90f26c31464", + "Name": "exec UPDATE", + "EndTime": "1694713654581", + "Children": [], + "StartTime": "1694713654576", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "5135401", + "tracetest.span.end_time": "1694713654581856401", + "tracetest.span.parent_id": "d9c8e4009639251a", + "tracetest.span.start_time": "1694713654576721000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "53a5c8cbcb0a0b6f", + "Name": "Evaluating trace", + "EndTime": "1694713654627", + "Children": [ + { + "ID": "708f283623eee3d1", + "Name": "query INSERT", + "EndTime": "1694713654627", + "Children": [], + "StartTime": "1694713654623", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:34.623649 -0300 -03 m=+249.491385756", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 56 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4137799", + "tracetest.span.end_time": "1694713654627867799", + "tracetest.span.parent_id": "53a5c8cbcb0a0b6f", + "tracetest.span.start_time": "1694713654623730000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "2b2ff1a22f63e03b", + "Name": "Fetching trace", + "EndTime": "1694713657663", + "Children": [ + { + "ID": "aa6613544e7e6ecf", + "Name": "query SELECT", + "EndTime": "1694713657651", + "Children": [], + "StartTime": "1694713657649", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1554756", + "tracetest.span.end_time": "1694713657651202756", + "tracetest.span.parent_id": "2b2ff1a22f63e03b", + "tracetest.span.start_time": "1694713657649648000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "593afcd0407420be", + "Name": "exec UPDATE", + "EndTime": "1694713657663", + "Children": [], + "StartTime": "1694713657657", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "5867038", + "tracetest.span.end_time": "1694713657663375038", + "tracetest.span.parent_id": "2b2ff1a22f63e03b", + "tracetest.span.start_time": "1694713657657508000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "c7d0e74dc9bda4af", + "Name": "Evaluating trace", + "EndTime": "1694713657732", + "Children": [ + { + "ID": "531f7ae67038b4b1", + "Name": "query INSERT", + "EndTime": "1694713657732", + "Children": [], + "StartTime": "1694713657727", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:37.727366 -0300 -03 m=+252.595131162", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 57 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "5170251", + "tracetest.span.end_time": "1694713657732612251", + "tracetest.span.parent_id": "c7d0e74dc9bda4af", + "tracetest.span.start_time": "1694713657727442000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "56fe2130f67a551c", + "Name": "Fetching trace", + "EndTime": "1694713660794", + "Children": [ + { + "ID": "79222244fafb4e2c", + "Name": "query SELECT", + "EndTime": "1694713660767", + "Children": [], + "StartTime": "1694713660765", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2525188", + "tracetest.span.end_time": "1694713660767815188", + "tracetest.span.parent_id": "56fe2130f67a551c", + "tracetest.span.start_time": "1694713660765290000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "f1272801e48ef86c", + "Name": "exec UPDATE", + "EndTime": "1694713660794", + "Children": [], + "StartTime": "1694713660775", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "18268053", + "tracetest.span.end_time": "1694713660794157053", + "tracetest.span.parent_id": "56fe2130f67a551c", + "tracetest.span.start_time": "1694713660775889000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "1fa698d839fbabd3", + "Name": "Evaluating trace", + "EndTime": "1694713660827", + "Children": [ + { + "ID": "6200f06f42107887", + "Name": "query INSERT", + "EndTime": "1694713660827", + "Children": [], + "StartTime": "1694713660823", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:40.823184 -0300 -03 m=+255.690978049", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 48 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4553375", + "tracetest.span.end_time": "1694713660827868375", + "tracetest.span.parent_id": "1fa698d839fbabd3", + "tracetest.span.start_time": "1694713660823315000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "f571e07cd44a3ba3", + "Name": "Fetching trace", + "EndTime": "1694713663976", + "Children": [ + { + "ID": "a0bc15d334ba4e4b", + "Name": "query SELECT", + "EndTime": "1694713663964", + "Children": [], + "StartTime": "1694713663853", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "111436508", + "tracetest.span.end_time": "1694713663964541508", + "tracetest.span.parent_id": "f571e07cd44a3ba3", + "tracetest.span.start_time": "1694713663853105000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "96b371de2b2cb386", + "Name": "exec UPDATE", + "EndTime": "1694713663976", + "Children": [], + "StartTime": "1694713663969", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "6169407", + "tracetest.span.end_time": "1694713663976102407", + "tracetest.span.parent_id": "f571e07cd44a3ba3", + "tracetest.span.start_time": "1694713663969933000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "dd302dd36407e7e1", + "Name": "Evaluating trace", + "EndTime": "1694713664031", + "Children": [ + { + "ID": "bd50c8d2d783b27a", + "Name": "query INSERT", + "EndTime": "1694713664031", + "Children": [], + "StartTime": "1694713664028", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:44.028774 -0300 -03 m=+258.896598638", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 49 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2833725", + "tracetest.span.end_time": "1694713664031764725", + "tracetest.span.parent_id": "dd302dd36407e7e1", + "tracetest.span.start_time": "1694713664028931000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "4a07d637900ec5d1", + "Name": "Fetching trace", + "EndTime": "1694713667068", + "Children": [ + { + "ID": "4503cc8e33fc83f8", + "Name": "query SELECT", + "EndTime": "1694713667060", + "Children": [], + "StartTime": "1694713667059", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1009100", + "tracetest.span.end_time": "1694713667060057100", + "tracetest.span.parent_id": "4a07d637900ec5d1", + "tracetest.span.start_time": "1694713667059048000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "a6c738e586d130cd", + "Name": "exec UPDATE", + "EndTime": "1694713667068", + "Children": [], + "StartTime": "1694713667065", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2884864", + "tracetest.span.end_time": "1694713667068130864", + "tracetest.span.parent_id": "4a07d637900ec5d1", + "tracetest.span.start_time": "1694713667065246000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "cfe32bac41f3451c", + "Name": "Evaluating trace", + "EndTime": "1694713667095", + "Children": [ + { + "ID": "4107a64d8a93230f", + "Name": "query INSERT", + "EndTime": "1694713667095", + "Children": [], + "StartTime": "1694713667091", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:47.090965 -0300 -03 m=+261.958817440", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 50 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4106016", + "tracetest.span.end_time": "1694713667095354016", + "tracetest.span.parent_id": "cfe32bac41f3451c", + "tracetest.span.start_time": "1694713667091248000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "5cb9436d3c580b39", + "Name": "Fetching trace", + "EndTime": "1694713670192", + "Children": [ + { + "ID": "850b8fc36d9ea2ee", + "Name": "query SELECT", + "EndTime": "1694713670144", + "Children": [], + "StartTime": "1694713670131", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "12525452", + "tracetest.span.end_time": "1694713670144126452", + "tracetest.span.parent_id": "5cb9436d3c580b39", + "tracetest.span.start_time": "1694713670131601000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "4309562f0b95b846", + "Name": "exec UPDATE", + "EndTime": "1694713670192", + "Children": [], + "StartTime": "1694713670151", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "40622675", + "tracetest.span.end_time": "1694713670192406675", + "tracetest.span.parent_id": "5cb9436d3c580b39", + "tracetest.span.start_time": "1694713670151784000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "fa1637b3bddbefa8", + "Name": "Evaluating trace", + "EndTime": "1694713670247", + "Children": [ + { + "ID": "839cf930af1feab8", + "Name": "query INSERT", + "EndTime": "1694713670247", + "Children": [], + "StartTime": "1694713670244", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:50.24437 -0300 -03 m=+265.112252223", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 51 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2530414", + "tracetest.span.end_time": "1694713670247006414", + "tracetest.span.parent_id": "fa1637b3bddbefa8", + "tracetest.span.start_time": "1694713670244476000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "85fd74e8fd513826", + "Name": "Fetching trace", + "EndTime": "1694713673281", + "Children": [ + { + "ID": "dcc60203c43e9afd", + "Name": "query SELECT", + "EndTime": "1694713673272", + "Children": [], + "StartTime": "1694713673271", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "941320", + "tracetest.span.end_time": "1694713673272644320", + "tracetest.span.parent_id": "85fd74e8fd513826", + "tracetest.span.start_time": "1694713673271703000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "b846481a33238082", + "Name": "exec UPDATE", + "EndTime": "1694713673281", + "Children": [], + "StartTime": "1694713673278", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3430105", + "tracetest.span.end_time": "1694713673281665105", + "tracetest.span.parent_id": "85fd74e8fd513826", + "tracetest.span.start_time": "1694713673278235000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "fd8faf1f73776a7e", + "Name": "Evaluating trace", + "EndTime": "1694713673317", + "Children": [ + { + "ID": "34915092cc47d654", + "Name": "query INSERT", + "EndTime": "1694713673317", + "Children": [], + "StartTime": "1694713673313", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:53.313883 -0300 -03 m=+268.181793586", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 52 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3092940", + "tracetest.span.end_time": "1694713673317052940", + "tracetest.span.parent_id": "fd8faf1f73776a7e", + "tracetest.span.start_time": "1694713673313960000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "7f04dcef3a7448f1", + "Name": "Fetching trace", + "EndTime": "1694713676364", + "Children": [ + { + "ID": "5b1d1f682252da69", + "Name": "query SELECT", + "EndTime": "1694713676352", + "Children": [], + "StartTime": "1694713676351", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1463055", + "tracetest.span.end_time": "1694713676352793055", + "tracetest.span.parent_id": "7f04dcef3a7448f1", + "tracetest.span.start_time": "1694713676351330000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "ef95ec20055dda47", + "Name": "exec UPDATE", + "EndTime": "1694713676364", + "Children": [], + "StartTime": "1694713676360", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4043126", + "tracetest.span.end_time": "1694713676364146126", + "tracetest.span.parent_id": "7f04dcef3a7448f1", + "tracetest.span.start_time": "1694713676360103000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "a6e31a549ef7fb2f", + "Name": "Evaluating trace", + "EndTime": "1694713676418", + "Children": [ + { + "ID": "5577e5c0b3a01048", + "Name": "query INSERT", + "EndTime": "1694713676417", + "Children": [], + "StartTime": "1694713676415", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:56.41506 -0300 -03 m=+271.282999792", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 53 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2804376", + "tracetest.span.end_time": "1694713676417937376", + "tracetest.span.parent_id": "a6e31a549ef7fb2f", + "tracetest.span.start_time": "1694713676415133000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "fc3bac894af0edbc", + "Name": "Fetching trace", + "EndTime": "1694713679459", + "Children": [ + { + "ID": "d59f44359795f277", + "Name": "query SELECT", + "EndTime": "1694713679449", + "Children": [], + "StartTime": "1694713679448", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1122844", + "tracetest.span.end_time": "1694713679449181844", + "tracetest.span.parent_id": "fc3bac894af0edbc", + "tracetest.span.start_time": "1694713679448059000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "de11b2d0b7a95b36", + "Name": "exec UPDATE", + "EndTime": "1694713679459", + "Children": [], + "StartTime": "1694713679454", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4899025", + "tracetest.span.end_time": "1694713679459435025", + "tracetest.span.parent_id": "fc3bac894af0edbc", + "tracetest.span.start_time": "1694713679454536000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "86c7dda231490a68", + "Name": "Evaluating trace", + "EndTime": "1694713679519", + "Children": [ + { + "ID": "1a2df3d9df274a7c", + "Name": "query INSERT", + "EndTime": "1694713679519", + "Children": [], + "StartTime": "1694713679516", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:47:59.516381 -0300 -03 m=+274.384349580", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 54 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2745826", + "tracetest.span.end_time": "1694713679519200826", + "tracetest.span.parent_id": "86c7dda231490a68", + "tracetest.span.start_time": "1694713679516455000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "197e3a649a1b1a1e", + "Name": "Fetching trace", + "EndTime": "1694713682596", + "Children": [ + { + "ID": "e14e53c5662e86ce", + "Name": "query SELECT", + "EndTime": "1694713682588", + "Children": [], + "StartTime": "1694713682586", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1894172", + "tracetest.span.end_time": "1694713682588126172", + "tracetest.span.parent_id": "197e3a649a1b1a1e", + "tracetest.span.start_time": "1694713682586232000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "43f965657d4521ea", + "Name": "exec UPDATE", + "EndTime": "1694713682595", + "Children": [], + "StartTime": "1694713682592", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3425170", + "tracetest.span.end_time": "1694713682595987170", + "tracetest.span.parent_id": "197e3a649a1b1a1e", + "tracetest.span.start_time": "1694713682592562000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "82cb632092608afb", + "Name": "Evaluating trace", + "EndTime": "1694713682638", + "Children": [ + { + "ID": "417ee1b20c90d554", + "Name": "query INSERT", + "EndTime": "1694713682638", + "Children": [], + "StartTime": "1694713682635", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:48:02.635545 -0300 -03 m=+277.503543642", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 55 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2410261", + "tracetest.span.end_time": "1694713682638151261", + "tracetest.span.parent_id": "82cb632092608afb", + "tracetest.span.start_time": "1694713682635741000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "e9841171c139643b", + "Name": "Fetching trace", + "EndTime": "1694713685677", + "Children": [ + { + "ID": "81638f65bcc75fb3", + "Name": "query SELECT", + "EndTime": "1694713685668", + "Children": [], + "StartTime": "1694713685667", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1210031", + "tracetest.span.end_time": "1694713685668820031", + "tracetest.span.parent_id": "e9841171c139643b", + "tracetest.span.start_time": "1694713685667610000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "2dc38baf1a8d50b0", + "Name": "exec UPDATE", + "EndTime": "1694713685677", + "Children": [], + "StartTime": "1694713685674", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2892527", + "tracetest.span.end_time": "1694713685677556527", + "tracetest.span.parent_id": "e9841171c139643b", + "tracetest.span.start_time": "1694713685674664000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "b48a2c37cebfdbe4", + "Name": "Evaluating trace", + "EndTime": "1694713685704", + "Children": [ + { + "ID": "591005b0993a6a9b", + "Name": "query INSERT", + "EndTime": "1694713685704", + "Children": [], + "StartTime": "1694713685701", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:48:05.701425 -0300 -03 m=+280.569451856", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 56 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2773812", + "tracetest.span.end_time": "1694713685704276812", + "tracetest.span.parent_id": "b48a2c37cebfdbe4", + "tracetest.span.start_time": "1694713685701503000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "9fe65924c3c834b4", + "Name": "Fetching trace", + "EndTime": "1694713688801", + "Children": [ + { + "ID": "25a4d3e1256f3766", + "Name": "query SELECT", + "EndTime": "1694713688786", + "Children": [], + "StartTime": "1694713688782", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4229847", + "tracetest.span.end_time": "1694713688786903847", + "tracetest.span.parent_id": "9fe65924c3c834b4", + "tracetest.span.start_time": "1694713688782674000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "c60234194c5ff209", + "Name": "exec UPDATE", + "EndTime": "1694713688801", + "Children": [], + "StartTime": "1694713688797", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3175268", + "tracetest.span.end_time": "1694713688801085268", + "tracetest.span.parent_id": "9fe65924c3c834b4", + "tracetest.span.start_time": "1694713688797910000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "dd2a1f1644d21df6", + "Name": "Evaluating trace", + "EndTime": "1694713688866", + "Children": [ + { + "ID": "a9e923c6539287d9", + "Name": "query INSERT", + "EndTime": "1694713688866", + "Children": [], + "StartTime": "1694713688862", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: trace not found on data store", + "sql.arg.7": "2023-09-14 14:48:08.862281 -0300 -03 m=+283.730337186", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 48 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 49 57 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3634657", + "tracetest.span.end_time": "1694713688866103657", + "tracetest.span.parent_id": "dd2a1f1644d21df6", + "tracetest.span.start_time": "1694713688862469000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "bb7d62e8845a5b1e", + "Name": "Fetching trace", + "EndTime": "1694713691911", + "Children": [ + { + "ID": "7239cf124da8338e", + "Name": "query SELECT", + "EndTime": "1694713691903", + "Children": [], + "StartTime": "1694713691902", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "1487014", + "tracetest.span.end_time": "1694713691903673014", + "tracetest.span.parent_id": "bb7d62e8845a5b1e", + "tracetest.span.start_time": "1694713691902186000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "95770ca74c345ca9", + "Name": "exec UPDATE", + "EndTime": "1694713691911", + "Children": [], + "StartTime": "1694713691908", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "0001-01-01 00:00:00 +0000 UTC", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "AWAITING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2988370", + "tracetest.span.end_time": "1694713691911846370", + "tracetest.span.parent_id": "bb7d62e8845a5b1e", + "tracetest.span.start_time": "1694713691908858000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "05d5e2245317cbf8", + "Name": "Evaluating trace", + "EndTime": "1694713691958", + "Children": [ + { + "ID": "4b736f69f39082a2", + "Name": "query SELECT", + "EndTime": "1694713691941", + "Children": [], + "StartTime": "1694713691938", + "Attributes": { + "sql.arg.1": "current", + "sql.query": "\nSELECT\n\t\"id\",\n\t\"name\",\n\t\"type\",\n\t\"is_default\",\n\t\"values\",\n\t\"created_at\"\nFROM data_stores\nWHERE \"id\" = $1", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query SELECT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2365351", + "tracetest.span.end_time": "1694713691941183351", + "tracetest.span.parent_id": "05d5e2245317cbf8", + "tracetest.span.start_time": "1694713691938818000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "2de8b0faa198360d", + "Name": "query INSERT", + "EndTime": "1694713691947", + "Children": [], + "StartTime": "1694713691941", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_ITERATION_INFO", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling iteration executed", + "sql.arg.6": "A trace polling iteration has been executed. Reason: All selectors from the test matched at least one span in the current trace", + "sql.arg.7": "2023-09-14 14:48:11.941458 -0300 -03 m=+286.809543386", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 112 101 114 105 111 100 105 99 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 116 114 117 101 44 34 80 101 114 105 111 100 105 99 34 58 123 34 78 117 109 98 101 114 83 112 97 110 115 34 58 51 44 34 78 117 109 98 101 114 73 116 101 114 97 116 105 111 110 115 34 58 48 125 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "5718567", + "tracetest.span.end_time": "1694713691947243567", + "tracetest.span.parent_id": "05d5e2245317cbf8", + "tracetest.span.start_time": "1694713691941525000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "cf0e7ea1241d23b7", + "Name": "exec UPDATE", + "EndTime": "1694713691950", + "Children": [], + "StartTime": "1694713691948", + "Attributes": { + "sql.arg.1": "2023-09-14 17:47:08.942549 +0000 UTC", + "sql.arg.2": "2023-09-14 17:47:09.151519 +0000 UTC", + "sql.arg.3": "2023-09-14 14:48:11.947411 -0300 -03 m=+286.815496570", + "sql.arg.4": "1970-01-01 00:00:00 +0000 UTC", + "sql.arg.5": "ANALYZING_TRACE", + "sql.arg.6": "5f2184a9c81b97e24d1b459a64868b87", + "sql.arg.7": "f003ce536c6ef3e3", + "sql.arg.8": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 82 101 113 117 101 115 116 34 58 123 34 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 117 114 108 34 58 34 104 116 116 112 58 47 47 108 111 99 97 108 104 111 115 116 58 56 48 56 49 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 34 125 93 125 125]", + "sql.arg.9": "[123 34 116 121 112 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 34 58 123 34 83 116 97 116 117 115 34 58 34 50 48 48 32 79 75 34 44 34 83 116 97 116 117 115 67 111 100 101 34 58 50 48 48 44 34 72 101 97 100 101 114 115 34 58 91 123 34 107 101 121 34 58 34 86 97 114 121 34 44 34 118 97 108 117 101 34 58 34 79 114 105 103 105 110 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 84 121 112 101 34 44 34 118 97 108 117 101 34 58 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 34 125 44 123 34 107 101 121 34 58 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 34 44 34 118 97 108 117 101 34 58 34 50 55 34 125 44 123 34 107 101 121 34 58 34 68 97 116 101 34 44 34 118 97 108 117 101 34 58 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 34 125 44 123 34 107 101 121 34 58 34 67 111 110 110 101 99 116 105 111 110 34 44 34 118 97 108 117 101 34 58 34 107 101 101 112 45 97 108 105 118 101 34 125 44 123 34 107 101 121 34 58 34 75 101 101 112 45 65 108 105 118 101 34 44 34 118 97 108 117 101 34 58 34 116 105 109 101 111 117 116 61 53 34 125 93 44 34 66 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 125 125]", + "sql.query": "\nUPDATE test_runs SET\n\n\t-- timestamps\n\t\"service_triggered_at\" = $1,\n\t\"service_trigger_completed_at\" = $2,\n\t\"obtained_trace_at\" = $3,\n\t\"completed_at\" = $4,\n\n\t-- trigger params\n\t\"state\" = $5,\n\t\"trace_id\" = $6,\n\t\"span_id\" = $7,\n\n\t-- result info\n\t\"resolved_trigger\" = $8,\n\t\"trigger_results\" = $9,\n\t\"test_results\" = $10,\n\t\"trace\" = $11,\n\t\"outputs\" = $12,\n\t\"last_error\" = $13,\n\t\"pass\" = $14,\n\t\"fail\" = $15,\n\n\t\"metadata\" = $16,\n\t\"variable_set\" = $19,\n\n\t--- linter\n\t\"linter\" = $20,\n\n\t--- required gates\n\t\"required_gates_result\" = $21\n\nWHERE id = $17 AND test_id = $18\n", + "sql.arg.10": "[123 34 65 108 108 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 82 101 115 117 108 116 115 34 58 91 93 125]", + "sql.arg.11": "[123 34 73 68 34 58 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 34 44 34 82 111 111 116 83 112 97 110 34 58 123 34 73 68 34 58 34 52 53 49 53 51 53 98 98 102 49 55 101 57 56 101 97 34 44 34 78 97 109 101 34 58 34 84 114 97 99 101 116 101 115 116 32 116 114 105 103 103 101 114 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 56 57 52 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 53 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 116 114 97 99 101 116 101 115 116 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 116 114 97 99 101 116 101 115 116 46 114 101 115 112 111 110 115 101 46 104 101 97 100 101 114 115 34 58 34 91 123 92 34 107 101 121 92 34 58 92 34 86 97 114 121 92 34 44 92 34 118 97 108 117 101 92 34 58 92 34 79 114 105 103 105 110 92 34 125 44 123 92 34 107 101 121 92 34 58 92 34 67 111 110 116 101 110 116 45 84 121 112 101 92 34 44 92 34 118 97 108 117 101 92 34 58 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 59 32 99 104 97 114 115 101 116 61 117 116 102 45 56 92 34 125 44 123 92 34 107 101 121 92 34 58 92 34 67 111 110 116 101 110 116 45 76 101 110 103 116 104 92 34 44 92 34 118 97 108 117 101 92 34 58 92 34 50 55 92 34 125 44 123 92 34 107 101 121 92 34 58 92 34 68 97 116 101 92 34 44 92 34 118 97 108 117 101 92 34 58 92 34 84 104 117 44 32 49 52 32 83 101 112 32 50 48 50 51 32 49 55 58 52 55 58 48 57 32 71 77 84 92 34 125 44 123 92 34 107 101 121 92 34 58 92 34 67 111 110 110 101 99 116 105 111 110 92 34 44 92 34 118 97 108 117 101 92 34 58 92 34 107 101 101 112 45 97 108 105 118 101 92 34 125 44 123 92 34 107 101 121 92 34 58 92 34 75 101 101 112 45 65 108 105 118 101 92 34 44 92 34 118 97 108 117 101 92 34 58 92 34 116 105 109 101 111 117 116 61 53 92 34 125 93 34 44 34 116 114 97 99 101 116 101 115 116 46 114 101 115 112 111 110 115 101 46 115 116 97 116 117 115 34 58 34 50 48 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 50 48 56 57 55 48 48 48 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 53 49 53 49 57 48 48 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 84 114 97 99 101 116 101 115 116 32 116 114 105 103 103 101 114 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 56 57 52 50 53 52 57 48 48 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 103 101 110 101 114 97 108 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 78 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 104 116 116 112 46 99 108 105 101 110 116 95 105 112 34 58 34 58 58 102 102 102 102 58 49 55 50 46 49 56 46 48 46 49 34 44 34 104 116 116 112 46 104 111 115 116 34 58 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 34 44 34 104 116 116 112 46 109 101 116 104 111 100 34 58 34 71 69 84 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 97 99 99 101 112 116 95 101 110 99 111 100 105 110 103 34 58 34 91 92 34 103 122 105 112 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 98 95 51 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 99 111 110 116 101 110 116 95 116 121 112 101 34 58 34 91 92 34 97 112 112 108 105 99 97 116 105 111 110 47 106 115 111 110 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 104 111 115 116 34 58 34 91 92 34 108 111 99 97 108 104 111 115 116 58 56 48 56 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 97 109 112 108 101 100 34 58 34 91 92 34 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 115 112 97 110 105 100 34 58 34 91 92 34 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 111 116 95 116 114 97 99 101 114 95 116 114 97 99 101 105 100 34 58 34 91 92 34 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 112 97 114 101 110 116 34 58 34 91 92 34 48 48 45 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 45 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 45 48 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 116 114 97 99 101 115 116 97 116 101 34 58 34 91 92 34 116 114 97 99 101 116 101 115 116 61 116 114 117 101 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 98 101 114 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 53 102 50 49 56 52 97 57 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 58 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 58 48 58 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 117 115 101 114 95 97 103 101 110 116 34 58 34 91 92 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 92 34 93 34 44 34 104 116 116 112 46 114 101 113 117 101 115 116 46 104 101 97 100 101 114 46 120 95 97 109 122 110 95 116 114 97 99 101 95 105 100 34 58 34 91 92 34 82 111 111 116 61 49 45 53 102 50 49 56 52 97 57 45 99 56 49 98 57 55 101 50 52 100 49 98 52 53 57 97 54 52 56 54 56 98 56 55 59 80 97 114 101 110 116 61 102 48 48 51 99 101 53 51 54 99 54 101 102 51 101 51 59 83 97 109 112 108 101 100 61 49 92 34 93 34 44 34 104 116 116 112 46 114 101 115 112 111 110 115 101 46 98 111 100 121 34 58 34 123 92 34 116 111 116 97 108 67 111 117 110 116 92 34 58 48 44 92 34 105 116 101 109 115 92 34 58 91 93 125 34 44 34 104 116 116 112 46 114 111 117 116 101 34 58 34 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 104 116 116 112 46 115 99 104 101 109 101 34 58 34 104 116 116 112 34 44 34 104 116 116 112 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 50 48 48 34 44 34 104 116 116 112 46 117 115 101 114 95 97 103 101 110 116 34 58 34 71 111 45 104 116 116 112 45 99 108 105 101 110 116 47 49 46 49 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 55 56 55 48 56 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 56 55 48 57 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 71 69 84 32 47 112 111 107 101 109 111 110 63 116 97 107 101 61 50 48 92 117 48 48 50 54 115 107 105 112 61 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 52 53 49 53 51 53 98 98 102 49 55 101 57 56 101 97 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 49 48 48 48 48 54 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 104 116 116 112 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 123 34 73 68 34 58 34 98 55 48 100 51 102 54 52 53 56 52 52 49 57 53 99 34 44 34 78 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 99 111 117 110 116 34 44 34 100 98 46 112 97 121 108 111 97 100 34 58 34 123 125 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 48 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 56 56 56 56 54 55 56 52 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 49 56 56 54 55 50 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 99 111 117 110 116 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 44 123 34 73 68 34 58 34 54 53 55 98 55 97 49 100 54 53 97 101 48 57 49 51 34 44 34 78 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 83 116 97 114 116 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 34 44 34 69 110 100 84 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 34 44 34 65 116 116 114 105 98 117 116 101 115 34 58 123 34 100 98 46 99 111 110 110 101 99 116 105 111 110 95 115 116 114 105 110 103 34 58 34 112 111 115 116 103 114 101 115 113 108 58 47 47 112 111 115 116 103 114 101 115 58 112 111 115 116 103 114 101 115 64 112 111 115 116 103 114 101 115 58 53 52 51 50 47 112 111 115 116 103 114 101 115 63 115 99 104 101 109 97 61 112 117 98 108 105 99 34 44 34 100 98 46 110 97 109 101 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 111 112 101 114 97 116 105 111 110 34 58 34 102 105 110 100 77 97 110 121 34 44 34 100 98 46 114 101 115 117 108 116 34 58 34 91 93 34 44 34 100 98 46 115 113 108 46 116 97 98 108 101 34 58 34 112 111 107 101 109 111 110 34 44 34 100 98 46 115 121 115 116 101 109 34 58 34 112 111 115 116 103 114 101 115 34 44 34 100 98 46 117 115 101 114 34 58 34 112 111 115 116 103 114 101 115 34 44 34 105 110 116 101 114 110 97 108 46 115 112 97 110 46 102 111 114 109 97 116 34 58 34 112 114 111 116 111 34 44 34 115 112 97 110 46 101 118 101 110 116 115 34 58 34 91 93 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 100 117 114 97 116 105 111 110 34 58 34 57 53 57 51 54 53 49 50 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 101 110 100 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 49 52 56 57 51 54 52 52 56 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 110 97 109 101 34 58 34 102 105 110 100 77 97 110 121 32 112 111 115 116 103 114 101 115 46 112 111 107 101 109 111 110 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 112 97 114 101 110 116 95 105 100 34 58 34 101 50 97 48 97 53 54 49 56 57 50 99 48 97 102 48 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 114 116 95 116 105 109 101 34 58 34 49 54 57 52 55 49 51 54 50 57 48 53 50 57 57 57 57 51 54 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 99 111 100 101 34 58 34 83 84 65 84 85 83 95 67 79 68 69 95 85 78 83 69 84 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 115 116 97 116 117 115 95 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 116 114 97 99 101 116 101 115 116 46 115 112 97 110 46 116 121 112 101 34 58 34 100 97 116 97 98 97 115 101 34 125 44 34 67 104 105 108 100 114 101 110 34 58 91 93 125 93 125 93 125 125]", + "sql.arg.12": "[91 93]", + "sql.arg.13": "", + "sql.arg.14": "0", + "sql.arg.15": "0", + "sql.arg.16": "[110 117 108 108]", + "sql.arg.17": "1", + "sql.arg.18": "U9kZntiSR", + "sql.arg.19": "[123 34 105 100 34 58 34 34 44 34 110 97 109 101 34 58 34 34 44 34 100 101 115 99 114 105 112 116 105 111 110 34 58 34 34 44 34 99 114 101 97 116 101 100 65 116 34 58 34 34 44 34 118 97 108 117 101 115 34 58 91 93 125]", + "sql.arg.20": "[123 34 112 108 117 103 105 110 115 34 58 110 117 108 108 44 34 115 99 111 114 101 34 58 48 44 34 109 105 110 105 109 117 109 83 99 111 114 101 34 58 48 44 34 112 97 115 115 101 100 34 58 102 97 108 115 101 125]", + "sql.arg.21": "[123 34 114 101 113 117 105 114 101 100 34 58 91 34 97 110 97 108 121 122 101 114 45 115 99 111 114 101 34 44 34 116 101 115 116 45 115 112 101 99 115 34 93 44 34 102 97 105 108 101 100 34 58 110 117 108 108 44 34 112 97 115 115 101 100 34 58 116 114 117 101 125]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "exec UPDATE", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2721408", + "tracetest.span.end_time": "1694713691950775408", + "tracetest.span.parent_id": "05d5e2245317cbf8", + "tracetest.span.start_time": "1694713691948054000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "ef63074cdcf36d1c", + "Name": "query INSERT", + "EndTime": "1694713691955", + "Children": [], + "StartTime": "1694713691950", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "POLLING_SUCCESS", + "sql.arg.4": "trace", + "sql.arg.5": "Trace polling strategy succeeded", + "sql.arg.6": "The polling strategy has succeeded in fetching the trace from the data store. Reason: Hit MaxRetry of 20", + "sql.arg.7": "2023-09-14 14:48:11.950821 -0300 -03 m=+286.818906309", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4679262", + "tracetest.span.end_time": "1694713691955576262", + "tracetest.span.parent_id": "05d5e2245317cbf8", + "tracetest.span.start_time": "1694713691950897000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "cd57dd79dd0449f2", + "Name": "query INSERT", + "EndTime": "1694713691957", + "Children": [], + "StartTime": "1694713691955", + "Attributes": { + "sql.arg.1": "U9kZntiSR", + "sql.arg.2": "1", + "sql.arg.3": "FETCHING_SUCCESS", + "sql.arg.4": "trace", + "sql.arg.5": "Trace fetching succeeded", + "sql.arg.6": "The trace fetching process was performed successfully", + "sql.arg.7": "2023-09-14 14:48:11.955637 -0300 -03 m=+286.823722178", + "sql.arg.8": "[123 34 80 111 114 116 67 104 101 99 107 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 67 111 110 110 101 99 116 105 118 105 116 121 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 65 117 116 104 101 110 116 105 99 97 116 105 111 110 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 44 34 70 101 116 99 104 84 114 97 99 101 115 34 58 123 34 80 97 115 115 101 100 34 58 102 97 108 115 101 44 34 83 116 97 116 117 115 34 58 34 34 44 34 77 101 115 115 97 103 101 34 58 34 34 44 34 69 114 114 111 114 34 58 110 117 108 108 125 125]", + "sql.arg.9": "[123 34 84 121 112 101 34 58 34 34 44 34 73 115 67 111 109 112 108 101 116 101 34 58 102 97 108 115 101 44 34 80 101 114 105 111 100 105 99 34 58 110 117 108 108 125]", + "sql.query": "\n\tINSERT INTO test_run_events (\n\t\t\"test_id\",\n\t\t\"run_id\",\n\t\t\"type\",\n\t\t\"stage\",\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"created_at\",\n\t\t\"data_store_connection\",\n\t\t\"polling\",\n\t\t\"outputs\"\n\t) VALUES (\n\t\t$1, -- test_id\n\t\t$2, -- run_id\n\t\t$3, -- type\n\t\t$4, -- stage\n\t\t$5, -- title\n\t\t$6, -- description\n\t\t$7, -- created_at\n\t\t$8, -- data_store_connection\n\t\t$9, -- polling\n\t\t$10 -- outputs\n\t)\n\tRETURNING \"id\"\n", + "sql.arg.10": "[91 93]", + "span.events": "[]", + "service.name": "tracetest", + "sql.database": "", + "sql.instance": "", + "tracetest.span.name": "query INSERT", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2234260", + "tracetest.span.end_time": "1694713691957998260", + "tracetest.span.parent_id": "05d5e2245317cbf8", + "tracetest.span.start_time": "1694713691955764000", + "tracetest.span.status_code": "STATUS_CODE_OK", + "tracetest.span.status_description": "" + } + }, + { + "ID": "11a01895e1d817d5", + "Name": "Process outputs", + "EndTime": "1694713692072", + "Children": [], + "StartTime": "1694713692072", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Process outputs", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "264283", + "tracetest.span.end_time": "1694713692072493283", + "tracetest.span.parent_id": "05d5e2245317cbf8", + "tracetest.span.start_time": "1694713692072229000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.output_processor.outputs": "{\"TRIGGER_COUNT\":{\"Name\":\"TRIGGER_COUNT\",\"Value\":\"1\",\"SpanID\":\"451535bbf17e98ea\",\"Resolved\":true,\"Error\":null}}" + } + }, + { + "ID": "1f5206026f3adc65", + "Name": "Execute assertions", + "EndTime": "1694713692072", + "Children": [], + "StartTime": "1694713692072", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Execute assertions", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "141079", + "tracetest.span.end_time": "1694713692072661079", + "tracetest.span.parent_id": "05d5e2245317cbf8", + "tracetest.span.start_time": "1694713692072520000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.assertion_runner.all_assertions_passed": "true" + } + } + ], + "StartTime": "1694713691938", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "19284690", + "tracetest.span.end_time": "1694713691958076690", + "tracetest.span.parent_id": "bb7d62e8845a5b1e", + "tracetest.span.start_time": "1694713691938792000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.succesful": "true", + "tracetest.run.trace_poller.finish_reason": "Hit MaxRetry of 20", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713691902", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "9752899", + "tracetest.span.end_time": "1694713691911905899", + "tracetest.span.parent_id": "dd2a1f1644d21df6", + "tracetest.span.start_time": "1694713691902153000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713688862", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3901803", + "tracetest.span.end_time": "1694713688866162803", + "tracetest.span.parent_id": "9fe65924c3c834b4", + "tracetest.span.start_time": "1694713688862261000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713688782", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "18548608", + "tracetest.span.end_time": "1694713688801135608", + "tracetest.span.parent_id": "b48a2c37cebfdbe4", + "tracetest.span.start_time": "1694713688782587000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713685701", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2925635", + "tracetest.span.end_time": "1694713685704337635", + "tracetest.span.parent_id": "e9841171c139643b", + "tracetest.span.start_time": "1694713685701412000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713685667", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "10050770", + "tracetest.span.end_time": "1694713685677611770", + "tracetest.span.parent_id": "82cb632092608afb", + "tracetest.span.start_time": "1694713685667561000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713682635", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2760247", + "tracetest.span.end_time": "1694713682638216247", + "tracetest.span.parent_id": "197e3a649a1b1a1e", + "tracetest.span.start_time": "1694713682635456000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713682586", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "9842554", + "tracetest.span.end_time": "1694713682596038554", + "tracetest.span.parent_id": "86c7dda231490a68", + "tracetest.span.start_time": "1694713682586196000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713679516", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2900042", + "tracetest.span.end_time": "1694713679519263042", + "tracetest.span.parent_id": "fc3bac894af0edbc", + "tracetest.span.start_time": "1694713679516363000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713679448", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "11518829", + "tracetest.span.end_time": "1694713679459545829", + "tracetest.span.parent_id": "a6e31a549ef7fb2f", + "tracetest.span.start_time": "1694713679448027000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713676415", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2955246", + "tracetest.span.end_time": "1694713676418000246", + "tracetest.span.parent_id": "7f04dcef3a7448f1", + "tracetest.span.start_time": "1694713676415045000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713676351", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "12898280", + "tracetest.span.end_time": "1694713676364201280", + "tracetest.span.parent_id": "fd8faf1f73776a7e", + "tracetest.span.start_time": "1694713676351303000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713673313", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3253563", + "tracetest.span.end_time": "1694713673317121563", + "tracetest.span.parent_id": "85fd74e8fd513826", + "tracetest.span.start_time": "1694713673313868000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713673271", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "10064602", + "tracetest.span.end_time": "1694713673281741602", + "tracetest.span.parent_id": "fa1637b3bddbefa8", + "tracetest.span.start_time": "1694713673271677000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713670244", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2723311", + "tracetest.span.end_time": "1694713670247067311", + "tracetest.span.parent_id": "5cb9436d3c580b39", + "tracetest.span.start_time": "1694713670244344000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713670131", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "60900852", + "tracetest.span.end_time": "1694713670192471852", + "tracetest.span.parent_id": "cfe32bac41f3451c", + "tracetest.span.start_time": "1694713670131571000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713667090", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4539220", + "tracetest.span.end_time": "1694713667095410220", + "tracetest.span.parent_id": "4a07d637900ec5d1", + "tracetest.span.start_time": "1694713667090871000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713667059", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "9166860", + "tracetest.span.end_time": "1694713667068181860", + "tracetest.span.parent_id": "dd302dd36407e7e1", + "tracetest.span.start_time": "1694713667059015000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713664028", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3082981", + "tracetest.span.end_time": "1694713664031825981", + "tracetest.span.parent_id": "f571e07cd44a3ba3", + "tracetest.span.start_time": "1694713664028743000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713663853", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "123109534", + "tracetest.span.end_time": "1694713663976163534", + "tracetest.span.parent_id": "1fa698d839fbabd3", + "tracetest.span.start_time": "1694713663853054000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713660823", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4794522", + "tracetest.span.end_time": "1694713660827948522", + "tracetest.span.parent_id": "56fe2130f67a551c", + "tracetest.span.start_time": "1694713660823154000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713660765", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "28971007", + "tracetest.span.end_time": "1694713660794234007", + "tracetest.span.parent_id": "c7d0e74dc9bda4af", + "tracetest.span.start_time": "1694713660765263000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713657727", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "5323421", + "tracetest.span.end_time": "1694713657732673421", + "tracetest.span.parent_id": "2b2ff1a22f63e03b", + "tracetest.span.start_time": "1694713657727350000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713657649", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "13829038", + "tracetest.span.end_time": "1694713657663432038", + "tracetest.span.parent_id": "53a5c8cbcb0a0b6f", + "tracetest.span.start_time": "1694713657649603000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713654623", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "4292521", + "tracetest.span.end_time": "1694713654627923521", + "tracetest.span.parent_id": "d9c8e4009639251a", + "tracetest.span.start_time": "1694713654623631000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713654567", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "14274349", + "tracetest.span.end_time": "1694713654581912349", + "tracetest.span.parent_id": "25a9c05128c2a00d", + "tracetest.span.start_time": "1694713654567638000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713651533", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "7199680", + "tracetest.span.end_time": "1694713651540643680", + "tracetest.span.parent_id": "cf83e9acdbeffdf0", + "tracetest.span.start_time": "1694713651533444000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713651410", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "10049696", + "tracetest.span.end_time": "1694713651420630696", + "tracetest.span.parent_id": "f1e9153fe9e855f9", + "tracetest.span.start_time": "1694713651410581000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713648368", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "11016370", + "tracetest.span.end_time": "1694713648379454370", + "tracetest.span.parent_id": "a7062908a501cb9e", + "tracetest.span.start_time": "1694713648368438000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713648298", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "15699071", + "tracetest.span.end_time": "1694713648314593071", + "tracetest.span.parent_id": "80fd30690f8471a2", + "tracetest.span.start_time": "1694713648298894000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713645265", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "2639956", + "tracetest.span.end_time": "1694713645268553956", + "tracetest.span.parent_id": "44d3e68de3216208", + "tracetest.span.start_time": "1694713645265914000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713645212", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "10952190", + "tracetest.span.end_time": "1694713645223801190", + "tracetest.span.parent_id": "895d3b360782e727", + "tracetest.span.start_time": "1694713645212849000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713641990", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "197378880", + "tracetest.span.end_time": "1694713642188137880", + "tracetest.span.parent_id": "4586262986f3c003", + "tracetest.span.start_time": "1694713641990759000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713641697", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "253589149", + "tracetest.span.end_time": "1694713641951086149", + "tracetest.span.parent_id": "c1fa2e517ba79d37", + "tracetest.span.start_time": "1694713641697497000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713638646", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3401976", + "tracetest.span.end_time": "1694713638649994976", + "tracetest.span.parent_id": "9741a0fae00f9ffe", + "tracetest.span.start_time": "1694713638646593000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713638603", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "14112808", + "tracetest.span.end_time": "1694713638617589808", + "tracetest.span.parent_id": "668ac36286bc2205", + "tracetest.span.start_time": "1694713638603477000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713635556", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "25285652", + "tracetest.span.end_time": "1694713635582212652", + "tracetest.span.parent_id": "e388a21cb7a3bf17", + "tracetest.span.start_time": "1694713635556927000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713635512", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "11853918", + "tracetest.span.end_time": "1694713635524582918", + "tracetest.span.parent_id": "750484f235a2e939", + "tracetest.span.start_time": "1694713635512729000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713632472", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3920010", + "tracetest.span.end_time": "1694713632476906010", + "tracetest.span.parent_id": "59d6baae97580d8c", + "tracetest.span.start_time": "1694713632472986000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "3" + } + } + ], + "StartTime": "1694713632438", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "9817385", + "tracetest.span.end_time": "1694713632447855385", + "tracetest.span.parent_id": "a193adbe652ae280", + "tracetest.span.start_time": "1694713632438038000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "0" + } + } + ], + "StartTime": "1694713629401", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Evaluating trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "3533357", + "tracetest.span.end_time": "1694713629404698357", + "tracetest.span.parent_id": "caa608d8b58903a4", + "tracetest.span.start_time": "1694713629401165000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "0" + } + } + ], + "StartTime": "1694713629352", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Fetching trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "9577773", + "tracetest.span.end_time": "1694713629362275773", + "tracetest.span.parent_id": "03a988ec67bb2866", + "tracetest.span.start_time": "1694713629352698000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "0" + } + } + ], + "StartTime": "1694713629300", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Start polling trace", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "21255152", + "tracetest.span.end_time": "1694713629322086152", + "tracetest.span.parent_id": "92490c0a4be67353", + "tracetest.span.start_time": "1694713629300831000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "", + "tracetest.run.trace_poller.span_id": "f003ce536c6ef3e3", + "tracetest.run.trace_poller.test_id": "U9kZntiSR", + "tracetest.run.trace_poller.trace_id": "5f2184a9c81b97e24d1b459a64868b87", + "tracetest.run.trace_poller.amount_retrieved_spans": "0" + } + } + ], + "StartTime": "1694713629225", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Start processing trigger response", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "50912557", + "tracetest.span.end_time": "1694713629276606557", + "tracetest.span.parent_id": "14ce9429bba3eff7", + "tracetest.span.start_time": "1694713629225694000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "" + } + } + ], + "StartTime": "1694713628942", + "Attributes": { + "span.events": "[]", + "tracetest.span.name": "Resolve trigger", + "tracetest.span.type": "general", + "internal.span.format": "proto", + "tracetest.span.duration": "50152885", + "tracetest.span.end_time": "1694713628992695885", + "tracetest.span.parent_id": "b8d91e328fa35a94", + "tracetest.span.start_time": "1694713628942543000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "" + } + } + ], + "StartTime": "1694713628882", + "Attributes": { + "http.route": "/api/tests/{testId}/run", + "http.method": "POST", + "http.target": "/api/tests/U9kZntiSR/run", + "span.events": "[]", + "http.request.query": "{}", + "http.request.params": "{\"testId\":\"U9kZntiSR\"}", + "tracetest.span.name": "POST /api/tests/{testId}/run", + "tracetest.span.type": "http", + "http.request.headers": "{\"B3\":[\"00f2de75a481d9700a3aa45de8832b7a-5482d51cac46e9ac-1\"],\"Content-Length\":[\"2\"],\"Content-Type\":[\"application/json\"],\"Ot-Tracer-Sampled\":[\"true\"],\"Ot-Tracer-Spanid\":[\"5482d51cac46e9ac\"],\"Ot-Tracer-Traceid\":[\"0a3aa45de8832b7a\"],\"Traceparent\":[\"00-00f2de75a481d9700a3aa45de8832b7a-5482d51cac46e9ac-01\"],\"Tracestate\":[\"tracetest=true\"],\"Uber-Trace-Id\":[\"00f2de75a481d9700a3aa45de8832b7a:5482d51cac46e9ac:0:1\"],\"User-Agent\":[\"Go-http-client/1.1\"],\"X-Amzn-Trace-Id\":[\"Root=1-00f2de75-a481d9700a3aa45de8832b7a;Parent=5482d51cac46e9ac;Sampled=1\"]}", + "internal.span.format": "proto", + "tracetest.span.duration": "23839682", + "tracetest.span.end_time": "1694713628906210682", + "tracetest.span.parent_id": "dc274164cab19bf7", + "tracetest.span.start_time": "1694713628882371000", + "tracetest.span.status_code": "STATUS_CODE_UNSET", + "tracetest.span.status_description": "" + } + } + ], + "StartTime": "1694713628788", + "Attributes": { + "tracetest.span.name": "Tracetest trigger", + "tracetest.span.type": "general", + "tracetest.response.body": "{\"id\":1,\"traceId\":\"478626ae3655d302420c8128c44e0569\",\"spanId\":\"13386f0abed8c4d7\",\"testVersion\":1,\"state\":\"CREATED\",\"executionTime\":1,\"triggerTime\":2077252342,\"createdAt\":\"2023-09-14T17:47:08.886249Z\",\"serviceTriggeredAt\":\"0001-01-01T00:00:00Z\",\"serviceTriggerCompletedAt\":\"0001-01-01T00:00:00Z\",\"obtainedTraceAt\":\"0001-01-01T00:00:00Z\",\"completedAt\":\"1970-01-01T00:00:00Z\",\"variableSet\":{},\"resolvedTrigger\":{\"httpRequest\":{\"auth\":{\"apiKey\":{},\"basic\":{},\"bearer\":{}}},\"grpc\":{\"auth\":{\"apiKey\":{},\"basic\":{},\"bearer\":{}}},\"traceid\":{},\"kafka\":{\"authentication\":{\"plain\":{}}}},\"triggerResult\":{\"triggerResult\":{\"http\":{},\"grpc\":{},\"traceid\":{},\"kafka\":{}}},\"trace\":{\"tree\":{}},\"result\":{},\"linter\":{},\"requiredGatesResult\":{\"required\":[\"analyzer-score\",\"test-specs\"],\"failed\":[],\"passed\":true}}\n", + "tracetest.span.duration": "118557000", + "tracetest.span.end_time": "1694713628906797000", + "tracetest.response.status": "200", + "tracetest.span.start_time": "1694713628788240000", + "tracetest.response.headers": "[{\"key\":\"Content-Type\",\"value\":\"application/json; charset=UTF-8\"},{\"key\":\"Vary\",\"value\":\"Accept-Encoding\"},{\"key\":\"Date\",\"value\":\"Thu, 14 Sep 2023 17:47:08 GMT\"}]" + } + } +} \ No newline at end of file diff --git a/server/traces/span_entitiess.go b/server/traces/span_entitiess.go index 57515d0ef6..b630ce387d 100644 --- a/server/traces/span_entitiess.go +++ b/server/traces/span_entitiess.go @@ -154,7 +154,7 @@ func (s *Span) decodeSpan(aux encodedSpan) error { return fmt.Errorf("unmarshal span: %w", err) } - children, err := decodeChildren(s, aux.Children) + children, err := decodeChildren(s, aux.Children, getCache()) if err != nil { return fmt.Errorf("unmarshal span: %w", err) } @@ -194,12 +194,17 @@ func getTimeFromString(value string) (time.Time, error) { return time.UnixMilli(int64(milliseconds)), nil } -func decodeChildren(parent *Span, children []encodedSpan) ([]*Span, error) { +func decodeChildren(parent *Span, children []encodedSpan, cache spanCache) ([]*Span, error) { if len(children) == 0 { return nil, nil } res := make([]*Span, len(children)) for i, c := range children { + if span, ok := cache.Get(c.ID); ok { + res[i] = span + continue + } + span := &Span{ Parent: parent, } @@ -207,18 +212,24 @@ func decodeChildren(parent *Span, children []encodedSpan) ([]*Span, error) { return nil, fmt.Errorf("unmarshal children: %w", err) } - children, err := decodeChildren(span, c.Children) + children, err := decodeChildren(span, c.Children, cache) if err != nil { return nil, fmt.Errorf("unmarshal children: %w", err) } span.Children = children res[i] = span + + cache.Set(span.ID.String(), span) } return res, nil } func (span Span) setMetadataAttributes() Span { + if span.Attributes == nil { + span.Attributes = Attributes{} + } + span.Attributes[TracetestMetadataFieldName] = span.Name span.Attributes[TracetestMetadataFieldType] = spanType(span.Attributes) span.Attributes[TracetestMetadataFieldDuration] = spanDuration(span) diff --git a/server/traces/trace_entities.go b/server/traces/trace_entities.go index 33e5727cb8..8f8650c294 100644 --- a/server/traces/trace_entities.go +++ b/server/traces/trace_entities.go @@ -18,6 +18,24 @@ type Trace struct { Flat map[trace.SpanID]*Span `json:"-"` } +func MergeTraces(traces ...*Trace) Trace { + if len(traces) == 0 { + return NewTrace(id.NewRandGenerator().TraceID().String(), []Span{}) + } + + traceID := traces[0].ID + spans := make([]Span, 0) + for _, trace := range traces { + if trace == nil { + continue + } + + spans = append(spans, trace.Spans()...) + } + + return NewTrace(traceID.String(), spans) +} + func NewTrace(traceID string, spans []Span) Trace { spanMap := make(map[string]*Span, 0) for _, span := range spans { @@ -201,6 +219,7 @@ func sortSpanChildren(span Span) Span { } func (t *Trace) UnmarshalJSON(data []byte) error { + resetCache() type Alias Trace aux := &struct { ID string diff --git a/server/traces/traces_test.go b/server/traces/traces_test.go index 69ca73ef12..5d55a0dddb 100644 --- a/server/traces/traces_test.go +++ b/server/traces/traces_test.go @@ -3,6 +3,7 @@ package traces_test import ( "encoding/json" "fmt" + "os" "testing" "time" @@ -203,6 +204,25 @@ func TestEventsAreInjectedIntoAttributes(t *testing.T) { assert.Equal(t, "value", events[1].Attributes["attribute2"]) } +func TestMergingZeroTraces(t *testing.T) { + trace := traces.MergeTraces() + assert.NotEmpty(t, trace.ID) +} + +func TestMergingFragmentsFromSameTrace(t *testing.T) { + traceID := id.NewRandGenerator().TraceID().String() + rootSpan := newSpan("Root") + childSpan1 := newSpan("child 1", withParent(&rootSpan)) + childSpan2 := newSpan("child 2", withParent(&rootSpan)) + + firstFragment := traces.NewTrace(traceID, []traces.Span{childSpan2}) + secondFragment := traces.NewTrace(traceID, []traces.Span{rootSpan, childSpan1}) + + trace := traces.MergeTraces(&firstFragment, &secondFragment) + assert.NotEmpty(t, trace.ID) + assert.Len(t, trace.Flat, 3) +} + type option func(*traces.Span) func withParent(parent *traces.Span) option { @@ -472,3 +492,15 @@ func TestSort(t *testing.T) { assert.Equal(t, expectedTrace.RootSpan, sortedTrace.RootSpan) } + +func TestUnmarshalLargeTrace(t *testing.T) { + bytes, err := os.ReadFile("./data/big-trace-json.json") + require.NoError(t, err) + + trace := traces.Trace{} + + err = json.Unmarshal(bytes, &trace) + require.NoError(t, err) + + assert.Greater(t, len(trace.Flat), 0) +} diff --git a/testing/server-tracetesting/features/grpc_test/03_run_grpc_test.yml b/testing/server-tracetesting/features/grpc_test/03_run_grpc_test.yml index 5ec94b81db..87a892ad97 100644 --- a/testing/server-tracetesting/features/grpc_test/03_run_grpc_test.yml +++ b/testing/server-tracetesting/features/grpc_test/03_run_grpc_test.yml @@ -27,11 +27,11 @@ spec: - attr:tracetest.run.trigger.type = "grpc" - attr:tracetest.run.trigger.grpc.response_status_code = 0 - attr:tracetest.run.trigger.grpc.response_status = "OK" - - selector: span[name = "Fetch trace"] + - selector: span[name = "Fetching trace"] assertions: - attr:tracetest.selected_spans.count > 0 - attr:tracetest.run.trace_poller.test_id = "${var:GRPC_TEST_ID}" - - selector: span[name = "Fetch trace"]:last + - selector: span[name = "Evaluating trace"]:last assertions: - attr:tracetest.run.trace_poller.succesful = "true" - selector: span[name = "Execute assertions"] diff --git a/testing/server-tracetesting/features/grpc_test/06_run_grpc_test_with_invalid_metadata.yml b/testing/server-tracetesting/features/grpc_test/06_run_grpc_test_with_invalid_metadata.yml index a460ee3344..ce64b74676 100644 --- a/testing/server-tracetesting/features/grpc_test/06_run_grpc_test_with_invalid_metadata.yml +++ b/testing/server-tracetesting/features/grpc_test/06_run_grpc_test_with_invalid_metadata.yml @@ -27,11 +27,11 @@ spec: - attr:tracetest.run.trigger.type = "grpc" - attr:tracetest.run.trigger.grpc.response_status_code = 0 - attr:tracetest.run.trigger.grpc.response_status = "OK" - - selector: span[name = "Fetch trace"] + - selector: span[name = "Fetching trace"] assertions: - attr:tracetest.selected_spans.count > 0 - attr:tracetest.run.trace_poller.test_id = "${var:GRPC_TEST_INVALID_METADATA_ID}" - - selector: span[name = "Fetch trace"]:last + - selector: span[name = "Evaluating trace"]:last assertions: - attr:tracetest.run.trace_poller.succesful = "true" - selector: span[name = "Execute assertions"] diff --git a/testing/server-tracetesting/features/http_test/07_run_http_test.yml b/testing/server-tracetesting/features/http_test/07_run_http_test.yml index 4ecc98d175..46b9e0b300 100644 --- a/testing/server-tracetesting/features/http_test/07_run_http_test.yml +++ b/testing/server-tracetesting/features/http_test/07_run_http_test.yml @@ -29,11 +29,11 @@ spec: - attr:tracetest.run.trigger.test_id = "${var:HTTP_TEST_ID}" - attr:tracetest.run.trigger.type = "http" - attr:tracetest.run.trigger.http.response_code = 200 - - selector: span[name = "Fetch trace"] + - selector: span[name = "Fetching trace"] assertions: - attr:tracetest.selected_spans.count > 0 - attr:tracetest.run.trace_poller.test_id = "${var:HTTP_TEST_ID}" - - selector: span[name = "Fetch trace"]:last + - selector: span[name = "Evaluating trace"]:last assertions: - attr:tracetest.run.trace_poller.succesful = "true" - selector: span[name = "Execute assertions"] diff --git a/testing/server-tracetesting/features/kafka_test/03_run_kafka_test.yml b/testing/server-tracetesting/features/kafka_test/03_run_kafka_test.yml index cc8718efe8..668115ff0f 100644 --- a/testing/server-tracetesting/features/kafka_test/03_run_kafka_test.yml +++ b/testing/server-tracetesting/features/kafka_test/03_run_kafka_test.yml @@ -29,12 +29,12 @@ spec: - attr:tracetest.run.trigger.test_id = "${var:KAFKA_TEST_ID}" - attr:tracetest.run.trigger.type = "kafka" - name: The trace poller was started - selector: span[name = "Fetch trace"] + selector: span[name = "Fetching trace"] assertions: - attr:tracetest.selected_spans.count > 0 - attr:tracetest.run.trace_poller.test_id = "${var:KAFKA_TEST_ID}" - name: The trace poller finished with success - selector: span[name = "Fetch trace"]:last + selector: span[name = "Evaluating trace"]:last assertions: - attr:tracetest.run.trace_poller.succesful = "true" - name: All assertions were validated and passed