当前位置:网站首页>Clickhouse notes 03-- grafana accesses Clickhouse
Clickhouse notes 03-- grafana accesses Clickhouse
2022-07-25 12:40:00 【Xin Guang XG】
clickhouse note 03-- Grafana Access ClickHouse
1 Introduce
Grafana Have strong chart panel display ability , Use Grafana After that, users can create 、 Explore and share all data . If you need to pass Grafana Search Warrior ClickHouse data , You need to install a plug-in to connect ClickHouse, And then you can use it ClickHouse data .
This article mainly introduces how to do it in ClickHouse Install plug-ins in and connect ClickHouse data , And pass grafana To show the data in the table .
2 Install the test
precondition :
You can refer to clickhouse note 01– Rapid deployment clickhouse To install a set ClickHouse
You can refer to k8s note 12–grafana Configuration and common use of To quickly deploy a set grafana
- find & install ClickHouse
Server Admin->Plugins -> Search for ClickHouse , then install that will do

- Data source add clickhouse
Fill in as needed url port and The account number and password are ok

- Generate charts based on data
newly build Pannel,Data source choice CK-local,Query Type choice SQL Editor, Enter the following sql The following chart can be seen from the query statementSELECT county, count(county) as count FROM uk_price_paid2 group by county order by count desc LIMIT 10;
3 Monitoring clusters
Recently, I read the articles of netizens Grafana Realization clickhouse monitor (linux+mac+windows Detailed explanation of three platforms ) Discover that you can quickly monitor ClickHouse colony , Then I tested , The effect is really good , Then post the core steps in this section , So that we can learn later
- download dashboard grafana-clickhouse-datasource/versions/1.1.2/download?os=linux&arch=amd64 or grafana-clickhouse-datasource/versions/1.1.2/download?os=linux&arch=arm64
- Unpack and import to grafana, Then you can see the corresponding monitoring panel , As shown in the figure below :
cluster-analysis.json
data-analysis.json
query-analysis.json



4 matters needing attention
- Grafana Required in sql Inquire about , Need familiarity sql Basic usage , Not suitable for non developers .
5 explain
Software environment :
ClickHouse 22.2.2.1
Grafana v8.5.2
Reference documents :
Connecting Grafana to ClickHouse
clickhouse note 01– Rapid deployment clickhouse
k8s note 12–grafana Configuration and common use of
Grafana Realization clickhouse monitor (linux+mac+windows Detailed explanation of three platforms )
边栏推荐
- SSTI template injection vulnerability summary [bjdctf2020]cookie is so stable
- The first scratch crawler
- Jenkins configuration pipeline
- 想要白嫖正则大全是吧?这一次给你个够!
- 【八】取色器的巧用
- 【8】 Clever use of color finder
- Detailed explanation of flex box
- R language ggplot2 visualization: visualize the scatter diagram, add text labels to some data points in the scatter diagram, and use geom of ggrep package_ text_ The repl function avoids overlapping l
- 软件测试流程包括哪些内容?测试方法有哪些?
- Ansible
猜你喜欢

Azure Devops (XIV) use azure's private nuget warehouse

搭建Vision Transformer系列实践,终于见面了,Timm库!

什么是CI/CD?

2022.07.24(LC_6124_第一个出现两次的字母)
What does the software testing process include? What are the test methods?

LeetCode 1184. 公交站间的距离

Kyligence 入选 Gartner 2022 数据管理技术成熟度曲线报告
![[shutter -- layout] stacked layout (stack and positioned)](/img/01/c588f75313580063cf32cc01677600.jpg)
[shutter -- layout] stacked layout (stack and positioned)
Software testing interview question: Please list the testing methods of several items?

A method to prevent SYN flooding attacks -- syn cookies
随机推荐
Plus SBOM: assembly line BOM pbom
SSTI 模板注入漏洞总结之[BJDCTF2020]Cookie is so stable
Cmake learning notes (II) generation and use of Library
吕蒙正《破窑赋》
[high concurrency] deeply analyze the execution process of worker threads in the thread pool through the source code
2022河南萌新联赛第(三)场:河南大学 I - 旅行
[ROS advanced chapter] Lecture 9 programming optimization of URDF and use of xacro
Interviewer: "classmate, have you ever done a real landing project?"
力扣 83双周赛T4 6131.不可能得到的最短骰子序列、303 周赛T4 6127.优质数对的数目
【高并发】通过源码深度分析线程池中Worker线程的执行流程
LeetCode 0133. 克隆图
Alibaba cloud technology expert Qin long: reliability assurance is a must - how to carry out chaos engineering on the cloud?
Can flinkcdc import multiple tables in mongodb database together?
【2】 Grid data display stretch ribbon (take DEM data as an example)
Perf performance debugging
如何从远程访问 DMS数据库?IP地址是啥?用户名是啥?
logstash
状态(State)模式
I register the absolutely deleted data in the source sqlserver, send it to maxcomputer, and write the absolute data when cleaning the data
shell基础知识(退出控制、输入输出等)