[Prometheus] Prometheus monitoring case
1. Host monitoring
(1). Deploy node_exporter
root@docker-3 src]# tar xf node_exporter-0.18.1.linux-amd64.tar.gz
[root@docker-3 src]# mv node_exporter-0.18.1.linux-amd64 /usr/local/node_exporter-0.18.1
[root@docker-3 src]# ln -s /usr/local/node_exporter-0.18.1/ /usr/local/node_exporter
//Modify node_exporter profile
[root@jumpserver ~]# cat / ...
Added by wkoneal on Wed, 23 Feb 2022 02:57:21 +0200
[RabbitMQ series that can be understood by laymen] - RabbitMQ quick introduction (including rich examples)
preface
Congratulations to all the friends who read this article for successfully unlocking the quick start content of RabbitMQ series 🎁 Through this article, you will quickly learn what middleware is? What is rabbit MQ? How does RabbitMQ work? Finally, Xiaoming will take you through an example to deepen your impression of RabbitMQ ...
Added by s_dhumal on Wed, 23 Feb 2022 02:51:16 +0200
Python notes 16 - object oriented Basics
Python notes
Object oriented Foundation
I object-oriented
Object oriented Encyclopedia
II Classes and objects
1. Classes and objects
Encyclopedia of classes and objects
class
Encyclopedia like
Class is a general term for a series of things with the same characteristics and behavior. It is an abstract con ...
Added by genie on Wed, 23 Feb 2022 02:37:25 +0200
Spring MVC notes - super detailed
1, Introduction to spring MVC
**Learn the pre knowledge of spring MVC: * * basic knowledge of Java Web, java,Srping, HTML,CSS,JavaScript and database
1. What is MVC
MVC is an idea of software architecture, which divides software according to model, view and controller
M: Model, the model layer, refers to the JavaBean in the project, whi ...
Added by a-scripts.com on Wed, 23 Feb 2022 02:26:51 +0200
Analyze the cause of BindingException: Invalid bound statement (not found) by tracing the source code
background
The new project, the framework springboot + mybatis + mybatis plus, wants to add a CommonMapper and the corresponding mapper xml file to store general sql or sql across multiple tables. As a result, an error is reported when starting the test, as shown below:
org.apache.ibatis.binding.BindingException: Invalid bound statement (not ...
Added by daftdog on Wed, 23 Feb 2022 02:21:18 +0200
Python file operations
1, python open file: built in function open
File operation: open (parameter 1, parameter 2, parameter 3) -- other parameters are generally not used. See the notes for details Parameter 1: specify file Parameter 2: open model r: Read a: Append write. If it does not exist, it will be automatically created w: Overwrite write. If it does not exist ...
Added by aarchaic on Wed, 23 Feb 2022 02:08:23 +0200
Grain mall_ 10_ Asynchronous orchestration
Asynchronous orchestration
Introduction to completable future
Future is a class added in Java 5 to describe the results of an asynchronous calculation. You can use the isDone method to check whether the calculation is completed, or use get to block the calling thread until the calculation is completed and the result is returned. You can a ...
Added by Funk001 on Wed, 23 Feb 2022 02:06:17 +0200
Have you really done push ups? Dare you test it with Python
preface:
At the Winter Olympics, Gu ailing "soared to the sky", Su Yiming "A blockbuster", the dream team of short track speed skating "forge ahead"... The athletes' spirit of challenging the limit and climbing the peak has aroused the enthusiasm of countless audiences!
These athletes who ignite the Winter Olympi ...
Added by BuckeyeTheDog on Wed, 23 Feb 2022 02:04:02 +0200
JavaScript knowledge points sorting - DOM - operation elements
catalogue
1, Change element content
1.1 difference between innerText and innerHTML
2, Attribute operation of common elements
2.1 case exercise - modifying element attributes src
2.2 case exercises show different pictures and greetings at different times
3, Attribute operation of form element
...
Added by fhil85 on Wed, 23 Feb 2022 01:34:02 +0200
Notes on Chapter 5 of Tango With Jango2 -- Model & DB
Django uses object relational mapper (ORM) ¹ To access the data stored in the database
In essence, the data stored in the database table is encapsulated by the Django model. A model is a python object that describes database table data. Django provides some methods that allow you to manipulate data through corresponding Python model objec ...
Added by shashiku on Tue, 22 Feb 2022 22:31:24 +0200