当前位置:网站首页>Clickhouse learning (x) monitoring operation indicators
Clickhouse learning (x) monitoring operation indicators
2022-07-29 05:34:00 【Crying dogs in the sun】
Catalog
monitor
Monitoring is to check the usage of various operation indicators
Download two brothers (Prometheus + Grafana)
Prometheus Download address 
Grafana Download address 
Upload to the virtual machine for installation 
install
install Prometheus
[[email protected] clickhouse]# tar -xzvf prometheus-2.26.0.linux-amd64.tar.gz -C /usr/
Change of name
[[email protected] usr]# mv prometheus-2.26.0.linux-amd64 prometheus
Modify the configuration file prometheus.yml
!!! Pay attention to indentation
# add to ClickHouse Monitoring configuration
- job_name: clickhouse-1
static_configs:
- targets: ['spark01:9363']

start-up Prometheus
nohup ./prometheus --config.file=prometheus.yml > ./prometheus.log 2>&1 &
visit webUI, The default port is 9090
install Grafana
You can use it after decompression
nohup ./bin/grafana-server web > ./grafana.log 2>&1 &
visit webUI, The default port is 3000, The default password is admin
Password can be changed after login 
ClickHouse To configure
take clickhouse Monitored Prometheus Turn on
vi /etc/clickhouse-server/config.xml

restart clickhouse
[[email protected] clickhouse-server]# clickhouse restart
Grafana Integrate Prometheus
Add data sources 




Add monitoring
Download your favorite view page
https://grafana.com/dashboards
A herd mentality 
Click to download json file 

Then you can operate like a fool
边栏推荐
- 指针
- Day 3
- [event preview] cloud development, efficient and intelligent - the second Alibaba cloud ECS cloudbuild developer competition is about to start
- Database operation day 6
- Summary of the first week
- 力扣994:腐烂的橘子(BFS)
- 【C语言系列】— 字符串+部分转义字符详解+注释小技巧
- Longest string without duplicate characters
- 【C语言系列】—文件操作详解(上)
- 167. Sum of two numbers II - enter an ordered array
猜你喜欢

【C语言系列】— 一道递归小题目

365 day challenge leetcode 1000 questions - day 042 array sequence number conversion + relative ranking discretization processing

数据库操作 Day 6

Come on! See how Clickhouse, which has risen 16 places a year, can be implemented in jd.com

C语言 一级指针

R & D efficiency | analysis of kubernetes' core technology and Devops' landing experience

Occt learning 001 - Introduction

PyQt5:第一章第1节:使用Qt组件创建一个用户界面-介绍

阿里云架构师细说游戏行业九大趋势

Helm chart for Kubernetes
随机推荐
[event preview] cloud development, efficient and intelligent - the second Alibaba cloud ECS cloudbuild developer competition is about to start
ClickHouse学习(七)表查询优化
【剑指offer】— 详解库函数atoi以及模拟实现atoi函数
C语言文件操作
C语言 N皇后问题
Live broadcast Preview: integration of JD cloud Devops and jfrog product library
冒泡排序 C语言
With frequent data leakage and deletion events, how should enterprises build a security defense line?
365 day challenge leetcode 1000 questions - day 039 full binary tree inserter + find peak II + snapshot array
ANSI C类型限定符
题解:在一个排序数组中查找元素第一个和最后一个的位置 (个人笔记)
Day 1
ClickHouse学习(九)clickhouse整合mysql
Alibaba cloud architect details nine trends in the game industry
JD cloud golden autumn cloud special offer is in progress! Code scanning participation activities
【C语言系列】—文件操作详解(上)
GPIO的输入输出详解
Alibaba cloud and Dingjie software released the cloud digital factory solution to realize the localized deployment of cloud MES system
Allocate memory: malloc() and free()
Cryengine3 debugging shader method