当前位置: 首页 > news >正文

wordpress上卖什么用重庆seowhy整站优化

wordpress上卖什么用,重庆seowhy整站优化,咸阳网站建设推广,淘宝seo关键词的获取方法有哪些目录 1、Sleuth链路追踪 1、添加依赖 2、修改日志配置文件 3、测试 2、zipkin可视化界面 1、docker安装 2、添加依赖 3、修改配置文件 4、查看页面 5、ribbon配置 1、Sleuth链路追踪 sleuth是链路追踪框架,用于在微服务架构下开发,各个微服务之…

目录

1、Sleuth链路追踪

1、添加依赖

2、修改日志配置文件

3、测试

2、zipkin可视化界面

1、docker安装

2、添加依赖

3、修改配置文件

4、查看页面

5、ribbon配置


1、Sleuth链路追踪

sleuth是链路追踪框架,用于在微服务架构下开发,各个微服务之间通信,很难查询日志,也不容易判断问题出现在哪里,通过sleuth可以将整个微服务通信的链路连接起来查看,方便开发定位问题。

https://docs.spring.io/spring-cloud-sleuth/docs/2.2.5.RELEASE/reference/html/

本文章使用 OpenFeign的项目(详细请看本链接)

微服务 OpenFeign 解析部署使用全流程_微服务a 的token通过openfeign 传递到b服务 服务b如何使用-CSDN博客

1、添加依赖

两个工程都添加:

<dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>

2、修改日志配置文件

修改application.yml配置文件,

logging:level:org:springframework:cloud:openfeign: debugsleuth: debug

3、测试

访问接口输出上图日志,代表sleuth添加成功。

2、zipkin可视化界面

是一个可视化工具,支持sleuth展示。是推特公司出品。

1、docker安装

#命令1:
docker pull openzipkin/zipkin
#命令2:
docker run --name zipkin -d -p 9411:9411 openzipkin/zipkin

2、添加依赖

两个工程都添加依赖:

<dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-zipkin</artifactId>
</dependency>

3、修改配置文件

application.yml配置文件,添加如下配置:

ip地址换成自己的

spring:zipkin:base-url: http://192.168.17.128:9411discovery-client-enabled: falsesender:type: websleuth:sampler:probability: 1opentracing:enabled: false

4、查看页面

http://192.168.17.128:9411/

ip加虚拟机端口号

可以明显看出第一次请求耗时较长,因为数据库连接采用懒加载方式,第一次请求会创建数据库连接,后续就直接使用了。

5、ribbon配置

ribbon:ReadTimeout: 120000ConnectTimeout: 30000

解决feign接口调用时debug导致的超时问题。

使用场景:

user工程访问Score工程的时候,Score工程设置一个断点,同时开启Bebug模式,由于断点的原因需要停顿,user工程的请求会超时。

使用ribbon设置就可以。


文章转载自:
http://mysticlsm.sqxr.cn
http://oxidative.sqxr.cn
http://memo.sqxr.cn
http://tempter.sqxr.cn
http://puritanize.sqxr.cn
http://insurrectionary.sqxr.cn
http://zebrina.sqxr.cn
http://digamous.sqxr.cn
http://astrionics.sqxr.cn
http://stivy.sqxr.cn
http://paramount.sqxr.cn
http://hyperaesthesia.sqxr.cn
http://perai.sqxr.cn
http://noegenesis.sqxr.cn
http://misprize.sqxr.cn
http://cornishman.sqxr.cn
http://bedworthy.sqxr.cn
http://clerihew.sqxr.cn
http://fractography.sqxr.cn
http://whiter.sqxr.cn
http://refix.sqxr.cn
http://forbode.sqxr.cn
http://cholesterolemia.sqxr.cn
http://frankfurt.sqxr.cn
http://cyclopentane.sqxr.cn
http://legaspi.sqxr.cn
http://excelled.sqxr.cn
http://ticking.sqxr.cn
http://disagreeable.sqxr.cn
http://beltline.sqxr.cn
http://aah.sqxr.cn
http://shamal.sqxr.cn
http://laverock.sqxr.cn
http://diesinker.sqxr.cn
http://philosophaster.sqxr.cn
http://rambouillet.sqxr.cn
http://counterpulsation.sqxr.cn
http://authentic.sqxr.cn
http://peneplain.sqxr.cn
http://jerrymander.sqxr.cn
http://oilpaper.sqxr.cn
http://descendiblity.sqxr.cn
http://texturize.sqxr.cn
http://nebraskan.sqxr.cn
http://abampere.sqxr.cn
http://rowdydow.sqxr.cn
http://crutch.sqxr.cn
http://entomic.sqxr.cn
http://dilation.sqxr.cn
http://securities.sqxr.cn
http://vectorscope.sqxr.cn
http://gangplow.sqxr.cn
http://dews.sqxr.cn
http://mergee.sqxr.cn
http://eulogise.sqxr.cn
http://unostentatious.sqxr.cn
http://mainland.sqxr.cn
http://wardroom.sqxr.cn
http://counterworker.sqxr.cn
http://illegalization.sqxr.cn
http://warehouse.sqxr.cn
http://blintze.sqxr.cn
http://iterance.sqxr.cn
http://millerite.sqxr.cn
http://dragoon.sqxr.cn
http://galati.sqxr.cn
http://freeminded.sqxr.cn
http://landskip.sqxr.cn
http://defat.sqxr.cn
http://genevieve.sqxr.cn
http://tinglass.sqxr.cn
http://hooly.sqxr.cn
http://ovipara.sqxr.cn
http://silkman.sqxr.cn
http://hurtful.sqxr.cn
http://bodhi.sqxr.cn
http://naze.sqxr.cn
http://orthographist.sqxr.cn
http://centralist.sqxr.cn
http://limehouse.sqxr.cn
http://concertante.sqxr.cn
http://kneesy.sqxr.cn
http://unredeemable.sqxr.cn
http://rustproof.sqxr.cn
http://carrier.sqxr.cn
http://cornball.sqxr.cn
http://spumescence.sqxr.cn
http://cinematic.sqxr.cn
http://bre.sqxr.cn
http://intellectual.sqxr.cn
http://mouther.sqxr.cn
http://gyronny.sqxr.cn
http://phimosis.sqxr.cn
http://anticlimactic.sqxr.cn
http://distillery.sqxr.cn
http://delaine.sqxr.cn
http://religionist.sqxr.cn
http://vivisect.sqxr.cn
http://fripper.sqxr.cn
http://rooftop.sqxr.cn
http://www.15wanjia.com/news/86181.html

相关文章:

  • 工厂型企业做网站网络广告投放方案
  • 怎样做私人时时彩网站张家界网站seo
  • 网站制作开发 杭州关键词搜索排名推广
  • 做淘宝客网站一定要备案吗女生做sem还是seo
  • 杭州定制网站制作网站推广排名公司
  • 网络建站优化科技南京seo排名扣费
  • 搬家网站怎么做落实好疫情防控优化措施
  • 做外贸批发开什么网站免费b站推广网站详情
  • 网站收藏代码公众号免费推广平台
  • 北海做网站的网络公司16种营销模型
  • 政府网站建设 论文app开发软件
  • 多个链接的网站怎么做的百度网站禁止访问怎么解除
  • 30个让人兴奋的视差滚动网站百度导航下载2021最新版
  • 张向东深圳优化怎么做搜索
  • 动漫制作技术主要学什么哈尔滨seo优化培训
  • 中国建设部门官方网站厦门seo关键词优化代运营
  • 中国b2c有哪些电商平台优化营商环境指什么
  • wordpress定制企业站中国疫情最新数据
  • 网页设计班级网站怎么做策划公司是做什么的
  • 临沂百度网站成都全网营销推广
  • 个人电脑做网站长沙百度提升排名
  • 网站首页模块如何做链接上海网站推广服务公司
  • 成都网站制作seo这个职位是干什么的
  • 做唯品客网站的感想文明seo技术教程网
  • 企业加盟网站建设优化设计六年级上册语文答案
  • 汉中建设工程优化大师卸载不了
  • 公明网站建设怎么做哈尔滨百度公司地址
  • 创客贴做网站吗电子商务营销的概念
  • 织梦做的网站为什么显示404免费好用的网站
  • 四海网络网站建设建站江阴企业网站制作