GoFrame framework: add Prometheus monitoring Middleware
introduce
Through a complete example, Prometheus monitoring middleware is added to the micro service based on GoFrame framework.
What is Prometheus monitoring interceptor / Middleware?
The monitoring interceptor will record Prometheus Metrics for each API request.
We will use rk-boot To start the micro service of GoFrame framework. ...
Posted by bungychicago on Thu, 30 Dec 2021 17:10:43 +0100
Upload local jar to maven central warehouse
Upload local jar to maven central warehouse
A few days ago, the boss of the company asked me to study how to upload local jar s to the central warehouse for use by third-party companies. I was confused. Then I misunderstood. I went to study how to build my own private server, open Internet mapping, and then study the maven private server of Al ...
Posted by mikeq on Thu, 23 Dec 2021 14:18:04 +0100
Construction of esp8266 Linux subsystem (WSL)-VSCode compilation environment
Construction of esp8266 Linux subsystem (WSL)-VSCode compilation environment
Install and configure wsl (I use Debian)
Install wsl View system version
cat /etc/os-release
Switch software installation source (Tsinghua image is used here) https://mirrors.tuna.tsinghua.edu.cn/help/debian/ Edit source list
sudo nano /etc/apt/source ...
Posted by Nymphetamine on Tue, 21 Dec 2021 06:27:14 +0100
Github picture acceleration experience
Github drawing bed
It is estimated that many people are using this, that is, using Github raw as a drawing bed, which is specifically realized by Picgo. Of course, you can also upload it manually.
Convert picture format to Webp
WebP was originally released in 2010. Its goal is to reduce the file size, but achieve the same image quality as ...
Posted by tex1820 on Mon, 20 Dec 2021 13:58:07 +0100
โค๏ธ Git Development Essentials โค๏ธ. gitignore details! [suggested collection]
๐ Author: Linux ape
๐ Introduction: CSDN blog expert ๐๏ผ C/C + +, interview, question brushing and algorithm. Please consult me, pay attention to me and chat privately if you have any questions!
๐ Attention column: Linux (high quality articles are constantly updated...) ๐
catalogue
1, Why gitignore ๏ผ
2, Use rules
2.1 notes
2.2 ...
Posted by hypertech on Mon, 20 Dec 2021 09:57:06 +0100
github builds personal dynamic blog at zero cost
Reading guide
This paper aims to record the whole construction process, problems and solutions, hoping to bring you some help.
The main technologies involved in this paper are as follows:
Vue3.0 - Composition API GraphQL ESLint Semantic Versioning,Commitzion,etc```
ISSUE is used to record articles. Markdown is naturally supported. The inter ...
Posted by NightFalcon90909 on Thu, 16 Dec 2021 11:13:05 +0100
Introduction to Svelte -- implementing cross framework component reuse with Web Components
Use * * Svelte to develop custom cell components supported by VUE and React * *
In the previous section, we learned how to use Svelte to encapsulate web components to enable the use of spreadsheet components between different pages.
The benefits of cross framework reuse of Svelte encapsulated components are also obvious:
1. Using framework d ...
Posted by swasheck on Wed, 15 Dec 2021 09:19:33 +0100
Implementing distributed locks with Go + Redis
Why do I need distributed locks
User orders
Lock uid to prevent repeated orders.
Inventory deduction
Lock inventory to prevent oversold.
Balance deduction
Lock the account to prevent concurrent operations. When sharing the same resource in a distributed system, distributed locks are often needed to ensure the consistency of ...
Posted by herrin on Tue, 14 Dec 2021 03:26:53 +0100
Crawler series: using MySQL to store data
In the last article, we explained How do crawlers store CSV files In this article, we explain how to save the collected data to MySQL database.MySQL is the most popular open source relational database management system. It is surprising that an open source project is so competitive. Its popularity is constantly approaching two closed source com ...
Posted by Terminator on Thu, 09 Dec 2021 18:04:49 +0100
[toss] Python + GitHub Actions update Z-Blog exploration
preface
The reason is to see this project:
Zhaoole / WordPress xmlrpctools: manage WordPress in Hexo mode
https://github.com/zhaoolee/WordPressXMLRPCTools
I want to get a for Z-Blog, but ZB's XML-RPC interface is incomplete, and the upcoming version 1.7 will come with its own API. Let's go to the API. However, the question is when will 1.7 be ...
Posted by Tim L on Wed, 10 Nov 2021 14:20:32 +0100