最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Micrometer property to propagate and log field in Spring boot 3.2.x - Stack Overflow

programmeradmin5浏览0评论

With Spring boot 2.2.x, we use the below sleuth property tp propagate keys to other microservices as http headers and log the details,

spring: sleuth: sampler: probability: 1.0 keys: http: headers: &id-headers - x-federated-id - x-company-bfo-id - x-admin-sesa - x-app-code log: slf4j: whitelisted-mdc-keys: *id-headers propagation-keys: *id-headers http: legacy: enabled: true

As part of spring boot 3.2.x migration, we are using io.micrometer dependency to replace sleuth.

Can anyone please tell me the equivalent micrometer property for the above sleuth property,

I have checked this url but not able to find the equivalent one - .1-Migration-Guide

Thank you in advance!

发布评论

评论列表(0)

  1. 暂无评论