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

Trying to insert spans with end_time < start_time #1092

@jgpruitt

Description

@jgpruitt

I'm seeing this error in the promscale logs in the opentelemetry-demo. I'm not sure if the opentelemetry collector is sending spans this way, or if we're doing something to accidentally put the start_time after the end_time. We should probably do something with these violations in the Go code rather than rely on the database to catch them.

opentelemetry-demo-promscale-1  | level=error ts=2022-01-28T16:50:35.941Z caller=runner.go:50 msg="error in GRPC call" err="error sending trace batches: ERROR: new row for relation \"_hyper_1_5_chunk\" violates check constraint \"span_check\" (SQLSTATE 23514)"

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions