阿里云云服务集成 Grafana
吃香真的恶心,
阿里云默认提供的集成,
https://help.aliyun.com/zh/cms/cloudmonitor-1-0/use-grafana-to-view-monitoring-data
已经不再维护
企业云监控又需要花钱
可以使用这个开源方案,集成现在已经有的一些监控指标
https://github.com/roodkcab/aliyun-grafana-datasource?tab=readme-ov-file
grpc 使用 nginx 代理配置
参考:https://www.nginx.com/blog/nginx-1-13-10-grpc/
http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent"';
server {
listen 80 http2;
access_log logs/access.log main;
location / {
# Replace localhost:50051 with the address and port of your gRPC server
# The 'grpc://' prefix is optional; unencrypted gRPC is the default
grpc_pass grpc://localhost:50051;
}
}
}
Javaers java 对象跟踪库
LDAP 轻量级目录访问协议
LDAP概念和原理介绍 - WilburXu - 博客园
Light Directory Access Protocol
LDAP(Light Directory Access Portocol),它是基于X.500标准的轻量级目录访问协议。
目录是一个为查询、浏览和搜索而优化的数据库,它成树状结构组织数据,类似文件目录一样。
目录数据库和关系数据库不同,它有优异的读性能,但写性能差,并且没有事务处理、回滚等复杂功能,不适于存储修改频繁的数据。所以目录天生是用来查询的,就好象它的名字一样。
LDAP目录服务是由目录数据库和一套访问协议组成的系统。
JS 依赖分析工具
js-analyzer/README_zh.md at main · chennlang/js-analyzer · GitHub
GitHub - pahen/madge: Create graphs from your CommonJS, AMD or ES6 module dependencies
帮助分析以下场景
代码调用代码,代码依赖模块,模块依赖模块
如果是打包, webpack 也可以进行分析
不过要 注意 , 如果是隐形依赖,比如驱动上依赖 mysql 啊之类的。