2.2.1通过Golang+eBPF实现无侵入应用可观测通过Golang + eBPF实现无侵入应用可观测 张海彬 阿里云 应用可观测技术专家 目 录 eBPF简介 01 eBPF在云原生场景下的应用 02 微服务可观测的挑战 03 Golang + eBPF实现数据采集 04 构建完整的应用可观测系统 05 eBPF简介 第一部分 eBPF简介 01. eBPF简介 eBPF = extended Berkeley Packet 内存管理,文件管理, 夯机宕机,资源异 常… 应用组件异常:线程池满,数据库连接无法获取, OOM,文件读取错误… 无法自顶向下端到端 串联导致棘手问题频 发。 Kubernetes下的可观测 Golang + eBPF实现数据采 集 第四部分 eBPF在可观测领域的优势 无侵入 多语言/多协议/多框架 全栈覆盖 无侵入性 • 无需修改代码 • 无需重启应用 • Verifier保证运行安全 程序跟其他的用户空间的程序没有太大区别 编译成二进制文件,可以适应不同运行环境 libbpf 扮演bpf程序装载机角色 开发人员只需要关注bpf程序的正确性和性能,不 需要关注其他依赖关系 通过Golang加载eBPF程序 01. 副标题 func loadSync() error { // Allow the current process to lock memory for eBPF0 码力 | 29 页 | 3.83 MB | 1 年前3
Cilium v1.7 DocumentationDevelopment Setup Requirements Vagrant Setup Local Development in Vagrant Box Making Changes Add/update a golang dependency Debugging Building Container Images Developer images Official release images Update posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Reference Command Cheatsheet Command utilities: pod-to-a-59b5fcb7f6-gq4hd 1/1 Running 0 4m50s pod-to-a-allowed-cnp-55f885bf8b-5lxzz 1/1 Running 0 4m50s pod-to-a-external-1111-7ff666fd8-v5kqb0 码力 | 885 页 | 12.41 MB | 1 年前3
Cilium v1.5 Documentation--all-namespaces NAMESPACE NAME AGE default app1-55d7944bdd-l7c8j 1h default app1-55d7944bdd-sn9xj 1h default app2 1h default app3 (OS-specific) glibc-devel (32-bit) latest N/A (OS-specific) go [h�ps://golang.org/dl/] 1.12.17 N/A (OS-specific) dep [h�ps://github.com/golang/dep/] >= v0.4.1 curl https://raw.g go-bindata [h�ps://github.com/cilium/go- space viola�ons Run make to build your changes. This will also run go fmt and error out on any golang forma�ng errors. See Unit Tes�ng on how to run unit tests. See End-To-End Tes�ng Framework for0 码力 | 740 页 | 12.52 MB | 1 年前3
Cilium v1.6 Documentation--all-namespaces NAMESPACE NAME AGE default app1-55d7944bdd-l7c8j 1h default app1-55d7944bdd-sn9xj 1h default app2 1h default app3 READY UP-TO-DATE AVAILABLE AGE cilium-pre-flight-check 1/1 1 1 55m $ kubectl logs -n kube-system deployment/cilium-pre-flight-check -c cnp-validator level=info msg="Setting (OS-specific) go 1.12.17 N/A (OS-specific) dep >= v0.4.1 curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh go-bindata a0ff2567cfb go get -u github.com/cilium/go-bindata/... ginkgo0 码力 | 734 页 | 11.45 MB | 1 年前3
Cilium v1.10 DocumentationDevelopment Setup Requirements Vagrant Setup Local Development in Vagrant Box Making Changes Add/update a golang dependency Add/update a new Kubernetes version Optional: Docker and IPv6 Debugging Building Container posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Internals Hubble internals Hubble Architecture --all-namespaces NAMESPACE NAME AGE default app1-55d7944bdd-l7c8j 1h default app1-55d7944bdd-sn9xj 1h default app2 1h default app30 码力 | 1307 页 | 19.26 MB | 1 年前3
Cilium v1.8 DocumentationDevelopment Setup Requirements Vagrant Setup Local Development in Vagrant Box Making Changes Add/update a golang dependency Optional: Docker and IPv6 Debugging Building Container Images Developer images Official posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Hubble internals Hubble Architecture Hubble server 10000-20000 Hubble: Disabled Cluster health: 1/1 reachable (2020-04-17T10:55:03Z) The status indicates that all components are operational with the Kubernetes integration currently0 码力 | 1124 页 | 21.33 MB | 1 年前3
Cilium v1.11 DocumentationDevelopment Setup Requirements Vagrant Setup Local Development in Vagrant Box Making Changes Add/update a golang dependency Add/update a new Kubernetes version Optional: Docker and IPv6 Debugging Building Container posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Internals Hubble internals Hubble Architecture --all-namespaces NAMESPACE NAME AGE default app1-55d7944bdd-l7c8j 1h default app1-55d7944bdd-sn9xj 1h default app2 1h default app30 码力 | 1373 页 | 19.37 MB | 1 年前3
Cilium v1.9 DocumentationDevelopment Setup Requirements Vagrant Setup Local Development in Vagrant Box Making Changes Add/update a golang dependency Add/update a new Kubernetes version Optional: Docker and IPv6 Debugging Building Container posts Books Talks Further Documents API Reference Introduction How to access the API CLI Client Golang Package Compatibility Guarantees API Reference Hubble internals Hubble Architecture Hubble server --all-namespaces NAMESPACE NAME AGE default app1-55d7944bdd-l7c8j 1h default app1-55d7944bdd-sn9xj 1h default app2 1h default app30 码力 | 1263 页 | 18.62 MB | 1 年前3
ubuntu server guide451M 0:00:16 ETA focal-live-server-pp 52% |**************** | 482M 0:00:15 ETA focal-live-server-pp 55% |***************** | 514M 0:00:14 ETA focal-live-server-pp 59% |****************** | 546M 0:00:13 No ] │ │ │ └────────────────────────────────────────────────────────────────────────┘ [ Done ] 55 [ Back ] ==================================================================== Featured Server Snaps media or Server Progress - P00B8F67:S1LPB Turn on context sensitive help. Function duration time: 00:55:00 Elapsed time: 00:00:04 Select Object Name Status *s1lp11 Please wait while the image 0 码力 | 486 页 | 3.33 MB | 1 年前3
Zabbix 6.2 Manualoffline. The source tarball now includes the src/go/vendor directory, which should make sure that golang is not forced to download dependency modules automatically. It is still possible to update to the while in Configuration → Templates, you can import them manually into Zabbix. Golang library for Windows updated Golang library used by Zabbix agent 2 in conjunction with MongoDB or PostgreSQL plug- is github.com/Microsoft/go-winio, version 0.6.0 (previously github.com/natefinch/npipe). See also Golang libraries, MongoDB plugin dependencies, and PostgreSQL plugin dependencies. Open file descriptor0 码力 | 1689 页 | 22.82 MB | 1 年前3
共 126 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13













