meituan-dianping / lyrebird-tracking Goto Github PK
View Code? Open in Web Editor NEWTracking 是基于Lyrebird的插件,提供服务请求的数据分析及验证的功能
Tracking 是基于Lyrebird的插件,提供服务请求的数据分析及验证的功能
目前这个插件lock在lyrebird v1.8.7, 请问是否有适配到v2.0.0的实现或计划?
请问这是什么问题?
/lyrebird_tracking/tracking.py 29行
#获取配置文件的目标host列表,取自于config中的target if hostname in app_context.config.get('target'): # 判断是否为gzip类型,若是进行解压缩处理 if 'Content-Encoding' in handler_context.request.headers and handler_context.request.headers.get( 'Content-Encoding') == 'gzip': reqs_data = json.loads(gzip.decompress(handler_context.request.data).decode()) else: reqs_data = []
没有特别明白非gzip的data数据为什么赋值为[ ]
我这边调试过程中将[ ]修改为reqs_data = json.loads(handler_context.request.data.decode())
才能够正常拦截数据并验证
想知道我们设为空的初衷是要处理什么问题?
After clicking on Save Report, ask the user where to save the report.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.