5

使用prometheus监控gitea

 3 years ago
source link: https://www.bboy.app/2021/08/10/%E4%BD%BF%E7%94%A8prometheus%E7%9B%91%E6%8E%A7gitea/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

使用prometheus监控gitea

发表于

2021-08-10 更新于 2021-08-14 分类于 prometheus

202108100913200.png

这个其实很简单

vim app.ini

[metrics]
ENABLED=true

之后就可以访问

http://ip/metrics

添加到prometheus中

- job_name: 'gitea'
static_configs:
- targets: ['10.10.100.61']

如果没问题等一下就有数据了

欢迎关注我的博客www.bboy.app

Have Fun


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK