skywalking最佳实践

简介

一个APM(应用程序性能监控器)系统,专门为微服务,云原生和基于容器(Docker,Kubernetes,Mesos)的体系结构而设计。

SkyWalking是一个开源APM系统,包括对Cloud Native体系结构中的分布式系统的监视,跟踪,诊断功能。核心功能如下。

  • 服务,服务实例,端点指标分析
  • 根本原因分析。在运行时分析代码。
  • 服务拓扑图分析
  • 服务,服务实例和端点依赖关系分析
  • 检测到慢速服务和端点
  • 性能优化
  • 分布式跟踪和上下文传播
  • 数据库访问指标。检测慢速数据库访问语句(包括SQL语句)。
  • 报警

SkyWalking支持从多种来源和多种格式收集遥测(跟踪和度量)数据,包括

  1. Java, .NET Core, NodeJS and PHP auto-instrument agents in SkyWalking format
  2. Go agent.
  3. LUA agent, especially for Nginx, OpenResty.
  4. Envoy gRPC Access Log Service (ALS) format in Istio controlled service mesh.
  5. Istio telemetry format.
  6. Envoy Metrics Service format.
  7. Zipkin v1/v2 format.
  8. Jaeger gRPC format.
支持代理列表

支持的代理列表

SkyWalking Java代理支持的列表

服务配置

SkyWalking后端分发程序包包括以下部分:

  1. bin/cmd scripts, in /bin folder. Includes startup linux shell and Windows cmd scripts for Backend server and UI startup.
  2. Backend config, in /config folder. Includes settings files of the backend, which are:
    • application.yml
    • log4j.xml
    • alarm-settings.yml
  3. Libraries of backend, in /oap-libs folder. All the dependencies of the backend are in it.
  4. Webapp env, in webapp folder. UI frontend jar file is here, with its webapp.yml setting file.
环境要求和默认配置

Requirement: JDK8 to JDK12 are tested, other versions are not tested and may or may not work.

You can use bin/startup.sh (or cmd) to startup the backend and UI with their default settings, which are:

  • Backend storage uses H2 by default (for an easier start)
  • Backend listens 0.0.0.0/11800 for gRPC APIs and 0.0.0.0/12800 for http rest APIs.

In Java, .NetCore, Node.js, Istio agents/probe, you should set the gRPC service address to ip/host:11800, with ip/host where your backend is.

  • UI listens on 8080 port and request 127.0.0.1/12800 to do GraphQL query.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-LExPbuTZ-1587390286017)(/Users/helei/Library/Appl

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值