配置Prometheusmetrics_path 配置模式 交换机的配置模式有许多,主要包括用户配置模式、特权模式、全局配置模式、端口配置模式和VLAN配置模式等。熟练进行各种配置模式的进入与切换,了解各种模式下的配置命令,将为以后的学习打下良好的基础。 学习情境 学习之前需要先熟悉交换机的配置模式及基本配置命令。 情境分析 在工作区...
vim /etc/profile export PATH=$PATH:/usr/local/go/bin source /etc/profile 返回值 go version go1.16 linux/amd64 1. 2. 3. 4. 5. 6. 2、Prometheus 安装 1.1在linux服务器上下载prometheus wget https://github.com/prometheus/prometheus/releases/download/v2.27.1/prometheus-2.27.1.linux-amd64.t...
prometheus:image:prom/prometheus:v2.24.1net:hostrestart:alwaysenvironment:- TZ=Asia/Shanghaivolumes:-/etc/localtime:/etc/localtime:ro- ./prometheus/:/etc/prometheus/-/home/data/prometheus_data/:/prometheus_data/:rwcommand:-'--config.file=/etc/prometheus/prometheus.yml'-'--storage.tsdb.path=/...
prometheus:image:prom/prometheus:v2.24.1net:hostrestart:alwaysenvironment:- TZ=Asia/Shanghaivolumes:-/etc/localtime:/etc/localtime:ro- ./prometheus/:/etc/prometheus/-/home/data/prometheus_data/:/prometheus_data/:rwcommand:-'--config.file=/etc/prometheus/prometheus.yml'-'--storage.tsdb.path=/...