21.5. Kubernetes 環境でのトレーシング
Red Hat build of Keycloak Operator を使用しているときにトレーシングを有効にすると、デプロイメントに関する特定の情報が基盤となるコンテナーに伝播されます。
注記
Red Hat build of Keycloak CR では、トレーシング設定はまだサポートされていないため、additionalOptions
を tracing-enabled
プロパティーやその他のトレーシングオプションに使用できます。
タグに基づいて、トレーシングバックエンドで必要なトレースをフィルター処理できます。
-
service.name
- Red Hat build of Keycloak デプロイメント名 -
k8s.namespace.name
- namespace -
host.name
- Pod 名
Red Hat build of Keycloak Operator は、管理する Pod に含まれる Red Hat build of Keycloak コンテナーごとに、KC_TRACING_SERVICE_NAME
および KC_TRACING_RESOURCE_ATTRIBUTES
環境変数を自動的に設定します。