# README
Postgres tracer
Implementation of klogga Tracer that writes spans to Postgres database with TimescaleDB extension. Schema is created automatically, at least most of the time. Re
Implementation features
- batches spans
- creates missing tables (be careful with tracer names)
- modifies table columns, although not all cases are supported
- reports errors when data type for the already created column does not match that data in the span
# Packages
No description provided by the author
# Functions
GetPgTypeVal converts go type to a compatible PG type structs are automatically converted to jsonb.
New to be used with batcher cfg - config connFactory - connection to PG trs - a tracer to write pg_exporter logs, like DB changes, pass nil to setup default golog tracer.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Conf parameters on how klogga works with DB not the connection string etc.
ErrDescriptor describes a problematic span column, it's description will be written to error_metrics.
Exporter writes Spans to postgres can create tables and add columns to table.
No description provided by the author
TableSchema key is the table name.
# Interfaces
No description provided by the author
Connector provides PG connections in an abstract way.