Skip to content

OpenTelemetry + Debezium #3718

Discussion options

You must be logged in to vote

Hey !

Thx a lot @wolfgangwalther
I come to you to solved this discussion :

First I use a flyway script to add those sql on every tables listed on my debezium configuration

CREATE OR REPLACE FUNCTION otel_exporter()
                    RETURNS TRIGGER AS $$
                    DECLARE
                        headers JSON;
                        tracing_context JSON;
                        baggage TEXT;
                        traceparent TEXT;
                    BEGIN
                        tracing_context := NULL;
                        -- retrieve values of traceparent and baggage from request headers
                        headers := current_setting('request.headers', true)::json;…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3714 on September 10, 2024 18:07.