Laixintao | SG

Prometheus HTTP SD Framework

Original link: https://www.kawabangga.com/posts/4761 Prometheus is a relatively popular monitoring system now. Its working mode is the pull mode: the target to be monitored is responsible for exposing the metris data. The format is ordinary text format and the protocol is HTTP, just like opening an ordinary HTTP service. The same, then Prometheus periodically collects metrics

Prometheus HTTP SD Framework Read More »

Unable to Patch

Original link: https://www.kawabangga.com/posts/4706 Recently, I am trying to implement the feature of completely disabling color in pdir2 , making it the same as other cli: when stdout is TTY , the output with color is enabled by default, and when stdout is not TTY, no color is output, that is, there is no color-related escape

Unable to Patch Read More »

Design configuration items like UI

Original link: https://www.kawabangga.com/posts/4545 When I was working at Ant Financial, I saw and used a lot of poorly designed systems, including the worst thing called an AntX, and I still shudder when I think about it now. The specific implementation has not been remembered clearly, because I have never really mastered it. Just remember that

Design configuration items like UI Read More »

My Deletion Experience

Original link: https://www.kawabangga.com/posts/4693 After reading an article about my own experience in deleting databases , I felt the same: But, as far as I know, no one ever asked why a junior developer had access to a production database. I probably did need read access, but why write access? And if I did need write

My Deletion Experience Read More »

System overload (Overload) and processing ideas

Original link: https://www.kawabangga.com/posts/4689 The overload mentioned in this article is easy to be confused with avalanche. Avalanche refers to that in a distributed system, a certain dependency cannot provide services normally, but the system cannot block this dependency, and eventually the entire system cannot provide services. Overload is when a service receives more requests than

System overload (Overload) and processing ideas Read More »