https://github.com/ronething/prometheus-notes
学一下 prometheus
https://github.com/ronething/prometheus-notes
Last synced: 8 months ago
JSON representation
学一下 prometheus
- Host: GitHub
- URL: https://github.com/ronething/prometheus-notes
- Owner: ronething
- Created: 2019-07-28T14:59:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-28T16:15:42.000Z (almost 7 years ago)
- Last Synced: 2024-12-27T16:44:07.197Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prometheus-notes
## qa
- 容器访问宿主机网络
prometheus 使用 docker 部署 node_exporter 部署在宿主机 (localhost:9100)
prometheus.yml 中 target 不可以写 localhost:9100 除非容器部署使用 host 网络模式
```sh
ifconfig docker0
```
使用 docker0 的 ip 地址
如 `172.17.0.1:9100`
- 核心组件
https://yunlzheng.gitbook.io/prometheus-book/parti-prometheus-ji-chu/quickstart/prometheus-arch
## 0x0F
https://prometheus.io/download/
https://yunlzheng.gitbook.io/prometheus-book
https://jingsam.github.io/2018/10/16/host-in-docker.html