Re: POC: Extension for adding distributed tracing - pg_tracing - Mailing list pgsql-hackers

From Nikita Malakhov
Subject Re: POC: Extension for adding distributed tracing - pg_tracing
Date
Msg-id CAN-LCVNkDja4r1YTf6zPxeBLtdLUmfKz4x04SpsLh1MicD5-nQ@mail.gmail.com
Whole thread Raw
In response to Re: POC: Extension for adding distributed tracing - pg_tracing  (Nikita Malakhov <hukutoc@gmail.com>)
Responses Re: POC: Extension for adding distributed tracing - pg_tracing
List pgsql-hackers
Hi!

Please check some suggested improvements -
1) query_id added so span to be able to join it with pg_stat_activity and pg_stat_statements;
2) table for storing spans added, to flush spans buffer, for maintenance reasons - to keep track of spans,
with SQL function that flushes buffer into table instead of recordset;
3) added setter function for sampling_rate GUC to tweak it on-the-fly without restart.

--
Regards,
Nikita Malakhov
Postgres Professional
The Russian Postgres Company
Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Using defines for protocol characters
Next
From: Tom Lane
Date:
Subject: Re: Extract numeric filed in JSONB more effectively