promscale icon indicating copy to clipboard operation
promscale copied to clipboard

Better trace_id and span_id API

Open Yamakaky opened this issue 3 years ago • 2 comments

Currently the trace_id and span_id fields for span are a bit awkward to use. I frequently uses Grafana data links to Jaeger, which means I have to use replace(trace_id::text, '-', '') and to_hex(span_id) a lot. I guess a way around this would be to expose these fields as custom types that apply this conversion when converting from/to text.

Yamakaky avatar Sep 06 '22 13:09 Yamakaky

Thanks for the feedback @Yamakaky . This is something we had identified as a future improvement.

By the way, I would love to understand more about your use case and how we could make our product better. If you're open to discuss drop me an email at ramon at timescale.com

ramonguiu avatar Sep 07 '22 12:09 ramonguiu

Sure

Yamakaky avatar Sep 07 '22 13:09 Yamakaky