Monitoring Software - prometheus+exporter component+grafana

Environmental Science linux: centos7.6 The most common server system in the company prometheus: 2.13.1.linux-amd64 Container monitoring solution for numerical data based on time series: with its own data storage and monitoring, it is the official monitoring scheme designated by k8s. node_exporter: 0.18.1.linux-amd64 Used to collect opera ...

Posted by thegreatone2176 on Sun, 10 May 2020 18:44:50 -0700

Do you really know java class name?

In the object-oriented world, Class is the foundation of Java. java.lang.Class is actually inherited from java.lang.Object. Class has a method called getName, which returns the class name of (class, interface, array class, primitive type, or void). If you often debug the JVM, you will see the following strange things: jcmd 1234 GC.class_histogr ...

Posted by Benaravo on Sun, 10 May 2020 07:22:24 -0700

manjaro Configuration Overview

1 Source Arrange the speed of Chinese mirrors, select one. sudo pacman-mirrors -i -c China -m rank /etc/pacman.conf plus: [archlinuxcn] SigLevel=Optional TrustedOnly Server=https://mirrors.ustc.edu.cn/archlinuxcn/$arch To update: sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring 2 Input Method sudo pacman -S fcitx-im fcitx-confi ...

Posted by geroido on Sat, 09 May 2020 19:53:15 -0700

How to export Excel gracefully in Java

Yunqi information:[ Click to see more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! Preface There is a need for company project recently: report export. In the whole system, at least more than 100 reports need to be exported. At this time, how to implement rep ...

Posted by devofash on Fri, 08 May 2020 22:50:31 -0700

Teach you how to configure WinDbg on windows, lldb on linux, this is enough to go inside clr

One: Background 1. Storytelling After reading a few articles in the Public Number the other day, one of my brothers was ready to try it out with windbg. As a result, the match took several days. (_) I think a lot of friends who are eager to try will definitely encounter problems like this and that when configuring it, so I think it's necessary ...

Posted by Morbius on Fri, 08 May 2020 09:28:11 -0700

ES[7.6.x] learning notes IK Chinese word breaker

In the last section, we introduced the ES analyzer. I believe you have been impressed by the full-text search of ES. The analyzer consists of three parts: character filter, word breaker and word breaker. In the example in the previous section, we found that they are all examples of English, right? Because es is written by foreigners. If China w ...

Posted by sangoku on Thu, 07 May 2020 01:46:36 -0700

Building a high black box monitoring platform

Summary In the monitoring system, we usually divide the monitoring into white box monitoring and black box monitoring Black box monitoring: the main concern is generally what is happening. For example, when an alarm occurs and the service interface is abnormal, this monitoring is the monitoring that can be seen from the user's point of view, ...

Posted by ShaolinF on Wed, 06 May 2020 02:55:43 -0700

Using JavaScript to convert XML to JSON

Recently, there is a requirement in developing projects. The strings of XML messages queried from the database need to be parsed with parameters, which supports modification on the page. Therefore, the function of parsing XML text using JavaScript is born. The specific idea is to get the DOM object of XML, and then through traversal and recur ...

Posted by matts12290 on Tue, 05 May 2020 15:32:19 -0700

Safer rm commands to protect important data

Almost all the secure RMS streaming on the Internet provide a rm "garbage" recycle bin, which is a bad recipe for server environment. I think it might be better to provide a secure rm to protect some important files or directories from deletion and avoid the tragedy of deleting important data by mistake. I wrote a script: https://gith ...

Posted by blade_922 on Tue, 05 May 2020 14:44:33 -0700

Learning and summary of RecycleView

Since I contacted Android studio, I have a new understanding and desire to learn and master the new Android UI design concept and V7 package. Therefore, I have a special look at the use of the new control RecycleView, which is summarized as follows. Its usage is similar to that of listview. It consists of three parts: adapter, arrangement and ...

Posted by andre_c on Tue, 05 May 2020 09:21:06 -0700