Pg: Tracing support

Created on 5 Dec 2019  路  6Comments  路  Source: go-pg/pg

Is there any way to shoehorn tracing with ocsql?

If not, do you consider implementing it?

Most helpful comment

My understanding is that opentemetry = opencensus + opentracing. There should be some better explanation at opentelemetry site.

All 6 comments

No, using ocsql is not viable. I plan to support https://opentelemetry.io/ once API is a little bit more stable and I have time.

@vmihailenco what is the difference or advantage of opentelementry over something like https://opentracing.io/ ?

My understanding is that opentemetry = opencensus + opentracing. There should be some better explanation at opentelemetry site.

I'd love to see some form of OTEL support in V10.

It could probably be done fairly easily (at least by not modifying library code) by expanding the use of the query hook system to provide users access to important events like Pre/Post query generation, Pre/Post scan, etc

This should be ready for testing in v10. See https://pg.uptrace.dev/guide/tracing.html

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dizzyfool picture dizzyfool  路  3Comments

rhymes picture rhymes  路  5Comments

RepentantGopher picture RepentantGopher  路  5Comments

AbooJan picture AbooJan  路  5Comments

l0gicgate picture l0gicgate  路  5Comments