From 1ce6d9dab16e092f103e73bab393d3a514727ee0 Mon Sep 17 00:00:00 2001 From: iverly Date: Mon, 27 Nov 2023 14:32:59 +0100 Subject: [PATCH] feat: enable tracing for ory stack Signed-off-by: iverly --- config/keto/keto.yaml | 9 +++++++++ config/kratos/kratos.yml | 9 +++++++++ config/oathkeeper/oathkeeper.yaml | 9 +++++++++ 3 files changed, 27 insertions(+) diff --git a/config/keto/keto.yaml b/config/keto/keto.yaml index feb087a..57d6e6f 100644 --- a/config/keto/keto.yaml +++ b/config/keto/keto.yaml @@ -3,6 +3,15 @@ version: v0.11.1 log: level: trace +tracing: + provider: jaeger + service_name: ory:keto + providers: + jaeger: + local_agent_address: jaeger:6831 + sampling: + server_url: http://jaeger:5778/sampling + namespaces: file:///etc/config/keto/namespaces serve: diff --git a/config/kratos/kratos.yml b/config/kratos/kratos.yml index f40516e..fb4038e 100644 --- a/config/kratos/kratos.yml +++ b/config/kratos/kratos.yml @@ -72,6 +72,15 @@ log: format: text leak_sensitive_values: true +tracing: + provider: jaeger + service_name: ory:kratos + providers: + jaeger: + local_agent_address: jaeger:6831 + sampling: + server_url: http://jaeger:5778/sampling + secrets: cookie: - PLEASE-CHANGE-ME-I-AM-VERY-INSECURE diff --git a/config/oathkeeper/oathkeeper.yaml b/config/oathkeeper/oathkeeper.yaml index d40eec2..7e44dc7 100644 --- a/config/oathkeeper/oathkeeper.yaml +++ b/config/oathkeeper/oathkeeper.yaml @@ -4,6 +4,15 @@ log: level: debug format: json +tracing: + provider: jaeger + service_name: ory:oathkeeper + providers: + jaeger: + local_agent_address: jaeger:6831 + sampling: + server_url: http://jaeger:5778/sampling + serve: proxy: cors: