当前位置:网站首页>The official redis visualization tool is coming. The needle doesn't poke
The official redis visualization tool is coming. The needle doesn't poke
2022-07-23 15:07:00 【Trouvailless】
I've been shopping recently Redis Official website , Find out Redis Not only introduced many new features , And also released a visualization tool RedisInsight. I tried it and felt very good , The most important thing is to support RedisJSON New features like , This is unmatched by third-party tools . Today, let's take you to experience RedisInsight, It's really easy to use !
RedisInsight brief introduction
RedisInsight yes Redis An official visual management tool , Available for design 、 Development 、 Optimize your Redis application . Support dark and light themes , The interface is very cool ! Can support String、Hash、Set、List、JSON And other data types , At the same time, it supports remote use CLI function , Very powerful !
Here is RedisInsight A use effect drawing of , Good looks !

RedisMod brief introduction
Redis After years of development , It has long been more than just an in memory database . With RedisMod Support for ,Redis Will become very powerful .RedisMod The following enhancement modules are included in the :
- RediSearch: A fully functional search engine ;
- RedisJSON: Yes JSON Native support for types ;
- RedisTimeSeries: Time series database support ;
- RedisGraph: Figure database support ;
- RedisBloom: Native support for probabilistic data ;
- RedisGears: Programmable data processing ;
- RedisAI: Real time model management and deployment of machine learning .
install
First we will use Docker To install Redis, Pay attention to download Redis The full version of RedisMod, It is an enhanced version with all modules built in Redis!
- Use the following command to download RedisMod Mirror image ;
docker pull redislabs/redismod:preview
Copy code - Run in a container RedisMod service .
docker run -p 6379:6379 --name redismod \
-v /mydata/redismod/data:/data \
-d redislabs/redismod:preview
Copy code Use
Redis Service installation completed , Next we'll use RedisInsight Try to manage it !
Basic use
- First download RedisInsight Installation package , Download address :redis.com/redis-enter…

- After downloading, install it directly , After installation, select... In the main interface
add to Redis database;

- choice
Add database manually, Input Redis Service connection information ;

- After opening the connection, you can manage Redis, The installed... Will be displayed in the upper right corner Redis Enhancement modules ;

- Next we can go through RedisInsight stay Redis Add key value pair data in , For example, add
StringType key value pair ;

- add to Hash type , When editing, you can edit a single attribute , It's quite convenient ;

- add to List type , When editing, you can directly Push The elements go in ;

- add to JSON type , install RedisJSON Module can support ;

- Primordial JSON type , Not only support highlight preview , It can also support new 、 Edit and delete individual attributes , It's convenient !

- in addition RedisInsight It also supports dark and light theme switching , You can change... In settings .

CLI
- If RedisInsight The graphical interface function of can't meet your needs , You can also try its
CLIfunction , Click on the bottom left corner CLI Label to open ;

- Intimate Redis Officials are afraid you won't remember the order , And added
Command HelperThe function of this search command document , For example, we can search forhgetThe use of this command .

Profiler
adopt Profiler function , We can see Redis Log of command execution , For example, we use RedisInsight Add a name testKey The key/value pair ,Profiler The following log will be displayed .

Visual monitoring
RedisInsight Of Redis The monitoring function is relatively simple , I prefer to use it Grafana To monitor Redis,Grafana You can refer to Grafana Use the tutorial .
install Grafana
- First download Grafana Of Docker Mirror image ;
docker pull grafana/grafana
Copy code - Download and run Grafana;
docker run -p 3000:3000 --name grafana \
-d grafana/grafana
Copy code - Next download Prometheus Of Docker Mirror image ;
docker pull prom/prometheus
Copy code - stay
/mydata/prometheus/Create under directory Prometheus Configuration file forprometheus.yml:
global:
scrape_interval: 5s
Copy code - function Prometheus, Put the configuration file in the host
prometheus.ymlMount in container ;
docker run -p 9090:9090 --name prometheus \
-v /mydata/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \
-d prom/prometheus
Copy code - Get into grafana Container and install
redis-datasourceplug-in unit , It needs to be restarted after installation grafana service .
docker exec -it grafana /bin/bash
grafana-cli plugins install redis-datasource
Copy code Use
- Connect to redismod Need to use its container IP Address , Use the following command to view redismod Container of IP Address ;

- stay Grafana In the configuration Redis data source , Use
admin:adminThe account login , Access address ;http://192.168.3.105:3000/

- To configure Redis Address information , Pay attention to redismod The container of IP Address ;

- open Dashboard choice Redis;

- Then you can see a very perfect Redis The monitoring dashboard , Can basically satisfy Redis The monitoring needs of .

summary
RedisInsight It is truly an official visualization tool , It feels like it's the best experience to use at present Redis The tool ! Especially for Redis Support for new features , Other tools are unmatched ! But for Redis The monitoring function of is really a little simple , You still have to use professional monitoring tools Grafana To monitor Redis!
Reference material
Feeling Redis The official documents of are specially made , I strongly suggest you take a look at !

Isn't this the autumn move coming ? There are some partners who need an interview or job hopping. The following document can be numbered below if necessary 【 No hair loss, aspiring youth 】
边栏推荐
- js判断元素是否到滚动到顶部
- Transferred from Yuxi information disclosure: products such as mRNA covid-19 vaccine and Jiuzhou horse tetanus immunoglobulin are expected to be on the market within this year.
- Simulation of voltage source PWM rectifier with double closed loop vector control based on Simulink
- Common SQL of Oracle Report
- 152. Product maximum subarray
- Simulation of BOC modulation signal acquisition based on MATLAB
- 广州举办镇街农产品质量安全监管员大比武
- Getting started with Prometheus (III)
- 【无标题】测试【无标题】测试
- OpenCV计算外包矩形
猜你喜欢
![[test platform development] XVII. The interface editing page realizes the drop-down cascade selection, and binds the module to which the interface belongs](/img/19/de8f4de5adbfcfb62291b8664187fd.png)
[test platform development] XVII. The interface editing page realizes the drop-down cascade selection, and binds the module to which the interface belongs

Subsequence --- edit distance

leetcode: 17. 电话号码的字母组合

C thread lock and single multithreading are simple to use

581. Shortest unordered continuous subarray

智头条:智装论坛将于8月4日举行,2022全屋智能销售将破100亿

338. Bit count

百度工程师眼中的云原生可观测性追踪技术

广州举办镇街农产品质量安全监管员大比武

cmake笔记
随机推荐
Russia hopes to effectively implement the "package" agreement on the export of agricultural products
Zhongwang CAD professional 2022 software installation package download and installation tutorial
直播课堂系统03-model类及实体
NVIDIA vid2vid论文复现
俄方希望有效落实农产品外运“一揽子”协议
如何实现多个传感器与西门子PLC之间485无线通讯?
MySQL unique index has no duplicate value, and the error is repeated
postgresql没有nvl的解决办法,postgresql查询所有的表
day18
Monotonous stack!!!
452. 用最少数量的箭引爆气球
linux定时备份数据库脚本
Building personal network disk based on nextcloud
Common JS modular specification from a code question
Blazor quickly realizes Minesweeper
MySQL的大心脏 — 索引
581. Shortest unordered continuous subarray
上小学之前要学会的本领指引
mysql 之general_log日志
易基因|靶基因DNA甲基化测序(Target-BS)