Practices of Go Microservices on Post-Kubernetes-Wei ZhengSLS/ELK MQ Mongo Service Discovery Routing LB Traffic Management Authentication ... APM Jaeger Tracing Interceptor Service Register/ Discovery Component Runtime Governor Server Conf Loader Builtin Interceptors Builtin Interceptors • Authentication Interceptor • Logging Interceptor • Tracing Interceptor • Metrics Interceptor • Debug Interceptor • Errors Interceptor • ... Framework Components Debugging • Dump Request/Response during debugging Components Tracing • Add context to all APIs for logging tracing span during all operations Components Logging • Append standard logging0 码力 | 59 页 | 5.66 MB | 1 年前3
The Way To Go - 2012of parameters ................................................................135 6.4 Defer and tracing ................................................................................................ trace (a list of all the called functions up until that moment) 4) use the defer keyword in tracing code execution (see § 6.4). 3.4 Building and running go-programs with command- and Makefiles Messages … case string: … case bool: … default: … } } } 6.4 Defer and tracing The defer keyword allows us to postpone the execution of a statement or a function until the end0 码力 | 629 页 | 4.85 MB | 1 年前3
01. Erda 基于云原生的微服务可观测性 - 刘浩杨当前微服务系统面临的挑战 目 录 微服务系统监控的挑战 01 可观测性技术理论 02 Erda 服务观测平台技术内核分析 03 Erda 服务观测平台功能概览 04 可观测性三大支柱 (一)Tracing 模型 (二)Metrics 时序模型 Writes are vertical,reads are horizontal (三)数据关联 目 录 微服务系统监控的挑战 01 可观测性技术理论0 码力 | 25 页 | 6.96 MB | 1 年前3
TarsGo微服务开发实践-利开园跨服务withFields • 基于透传元数据 • 按大小/时间滚动 • 远程日志 vs 本地日志 的取舍 监控:主动发现问题 • RPC接口默认监控 • 自定义业务监控 • 基于Prometheus Tracing:在复杂系统中定位问题 • 依赖框架Context透传 • 基于OpenTracing+Jaeger • 第三库不支持如何解决? 错误码:给主调方更好的提示 • 错误码区分内部错误与请求 •0 码力 | 15 页 | 4.23 MB | 1 年前3
Go Compile Time Instrumentation(measuring) - TracesTrace A trace represents the execution path of a request across multiple services.Tracing concepts - Trace represents an execution path - Span represents step in an execution path -0 码力 | 27 页 | 1.74 MB | 6 月前3
1.5 Improving Go Backend Developer Experience in Grabcan we do to help? When things are broken…. You want to know what happened? Logging Metrics Tracing Structured Logging 04. Improve observability with custom logging library with our ELK stack.0 码力 | 47 页 | 8.58 MB | 1 年前3
可视化学习 Go 并发编程[main.go] (if you pass .go file to gotrace, it will modify code on the fly, adding tracing, run it and collect the trace automagically) 直接运行 go 代码的效果并不好,推荐生成 trace,需在执行的代码上前后加上: trace.Start(os0 码力 | 29 页 | 1.48 MB | 1 年前3
go web 框架 严清⾮非常简洁,却集成了了 Web 框架核⼼心能⼒力力三要素 Router, Logging, CORS, Favicon, Secure, Static, JWT-Auth, Ratelimiter, Tracing… Gin中间件,error 处理理? type HandlerFunc func(*Context) Echo 中间件,MiddlewareFunc? type HandlerFunc0 码力 | 23 页 | 333.12 KB | 1 年前3
Go on GPU
render task can be customized using shaders. In GPU, except rasterizer unit, it also includes ray tracing unit. Changkun Ou. 2023. Go on GPU. GopherChina 2023. Session "Foundational Toolchains" Collaboration0 码力 | 57 页 | 4.62 MB | 1 年前3
Go 入门指南(The way to Go)Println("entering:", s) } func untrace(s string) { fmt.Println("leaving:", s) } 以下代码展示了何时调用两个函数: 示例 6.10 defer_tracing.go: package main import "fmt" func trace(s string) { fmt.Println("entering:", s) } func untrace(s 看云 构建 entering: b in b entering: a win a leaving: a leaving: b 上面的代码还可以修改为更加简便的版本(示例 6.11 defer_tracing2.go): package main import "fmt" func trace(s string) string { fmt.Println("entering:", s)0 码力 | 380 页 | 2.97 MB | 1 年前3
共 15 条
- 1
- 2













