惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

运维监控系列 on 打工人日志

Logstash 自动重载配置文件 windows-exporter 监控 skywalking APM 监控 logstash 多管道部署 nginx exporter 安装配置 prometheus grafana alertmanager 安装配置 prometheus 配置
skywalking python agent 安装和配置
2023-05-31 · via 运维监控系列 on 打工人日志

背景

skywalking 是一个APM监控,在java和微服务领域非常流行。但是在python领域,skywalking的使用率并不高。本文将介绍如何安装和配置skywalking python agent。
SkyWalking Python 代理实现了一个命令行界面,可用于在部署期间将代理附加到出色的应用程序,而无需更改任何应用程序代码,就像 SkyWalking Java 代理一样。

安装skywalking python agent

1pip install apache-skywalking

运行 sw-python 以查看它是否可用,您需要按环境变量传递配置。

配置skywalking python agent

1export SW_AGENT_NAME=服务名称
2# 服务器地址
3export SW_AGENT_COLLECTOR_BACKEND_SERVICES=127.0.0.1:11800

执行python程序

1sw-python run -p python app.py

启用 CLI 调试模式,以便在启动应用程序时查看代理日志:

1sw-python -d run python app.py