当前位置:网站首页>如何使用 DataAnt 监控 Apache APISIX
如何使用 DataAnt 监控 Apache APISIX
2022-06-28 09:57:00 【InfoQ】
背景信息
原理简介

config.yaml配置指南
- 首先请访问DataAnt Cloud,注册账户并登录平台。
- 通过以下网盘链接获取 DataAnt 的 Agent,下载完成后上传到 APISIX 所在的机器上并添加执行权限。
- 提取链接: https://pan.baidu.com/s/1fabvSiDLDh8ZRTjpzINHLg
- 提取码: 87d4
- 在当前目录下创建 DataAnt Agent 所需的配置文件
./config.yaml。详细配置如下:
tenantId: 11 # 该 ID 是您的 DataAnt 平台的用户 ID。
hostIp: 127.0.0.1 # 主机的标识 IP
hostName: apisix
configs:
- uri: http://127.0.0.1:9091 # APISIX 监控指标所暴露的端口。
type: apisix # 监控类型选择 APISIX
asName: apisix_test # 别名
user: admin # 用户名可省略
- 使用以下命令启动 Agent。
./agent
2022/06/21 20:50:10 {"code":200,"msg":"请求成功","data":null}
2022/06/21 20:50:30 {"code":200,"msg":"请求成功","data":null}
2022-06-21 20:51:00:000 INFO apisix/apisix.go:25 获取对应监控数据,数据长度1675
2022-06-21 20:51:00:000 INFO prometheus/prometheusCollector.go:43 获取对应监控数据开始解析1675
2022-06-21 20:51:00:000 INFO prometheus/prometheusCollector.go:43 获取对应监控数据完成解析 解析指标数量21
2022-06-21 20:51:00:000 INFO collector/collector.go:82 apisix采集到数据数量21
2022-06-21 20:51:00:000 INFO runtime/asm_amd64.s:1581 apisix_test9091:指标数:21
- 在 DataAnt 平台首页单击安装集成插件>监控插件,选择 APISIX,并单击
配置下的点击配置。
- 在 DataAnt 平台首页单击左侧导航栏的仪表盘并新建仪表盘。

注意事项
总结
边栏推荐
- Chapter 3 stack and queue
- Why does istio use spirit for identity authentication?
- Explain final, finally, and finalize
- R language plot visualization: plot to visualize overlapping histograms, and use geom at the bottom edge of the histogram_ The rugfunction adds marginal rugplots
- Please consult me. I run the MYSQL to MySQL full synchronization of flykcdc in my local ide. This is in my local ide
- Install using snap in opencloudos NET 6
- An error is reported when uninstalling Oracle
- Read PDF image and identify content
- dotnet 使用 Crossgen2 对 DLL 进行 ReadyToRun 提升启动性能
- Dear leaders, ask me if MySQL does not support early_ Offset mode? Unsupported star
猜你喜欢

Decorator

Matplotlib属性及注解

Missed the golden three silver four, found a job for 4 months, interviewed 15 companies, and finally got 3 offers, ranking P7+

As shown in the figure, the SQL row is used to convert the original table of Figure 1. Figure 2 wants to convert it

PMP Exam key summary VI - chart arrangement

缓存之王Caffeine Cache,性能比Guava更强

TCP实战案例之即时通信、BS架构模拟

解决表单action属性传参时值为null的问题

I'm almost addicted to it. I can't sleep! Let a bug fuck me twice!

Unity AssetBundle asset packaging and asset loading
随机推荐
flink cep 跳过策略 AfterMatchSkipStrategy.skipPastLastEvent() 匹配过的不再匹配 碧坑指南
The boss asked me to write an app automation -- yaml file reading -- with the whole framework source code attached
I'm almost addicted to it. I can't sleep! Let a bug fuck me twice!
卸载oracle报错
fastposter v2.8.4 发布 电商海报生成器
Unity AssetBundle资源打包与资源加载
sqlcmd 连接数据库报错
各位大佬,问下Mysql不支持EARLIEST_OFFSET模式吗?Unsupported star
大纲笔记软件 Workflowy 综合评测:优点、缺点和评价
Sword finger offer | linked list transpose
MySQL基础知识点总结
生成token
Dolphin scheduler uses system time
Dotnet uses crossgen2 to readytorun DLL to improve startup performance
Huawei OSPF single region
Why does istio use spirit for identity authentication?
【OpenCV 例程200篇】213. 绘制圆形
Resolution: overview of decentralized hosting solution
Unity 从服务器加载AssetBundle资源写入本地内存,并将下载保存的AB资源从本地内存加载至场景
[Unity][ECS]学习笔记(二)