/android-chrome-192x192.png

Implementing Prometheus Exporter for Fluentbit

Background Fluent-bit is a great tool for logging and monitoring, many teams are using it to collect metrics and logs. Prometheus is also a popular tool for metrics analysis, but if you want to output Fluent-bit data to Prometheus, the only way is to use the node-exporter input plugin, which has fixed metrics and data format. In our case, we want to export specific input data into Prometheus, therefore we

《分手的决心》细节分析

把那部手机丢进海里,让它陷入深处,没人能寻到。 看完《分手的决心》,我决心水一篇。今天跟大家一起分析分析电影里的细节。 影片开头的支线情节 电影的

3 Ways To Access Host System In Docker Container

When we are using Docker, we always access the host system by mounting the host folders as a volume. But sometimes we can not do that due to deployment reasons or security limits. There are three workaround ways to access the host system. 1. Mount docker.socks into container docker.socks is a Unix socket that Docker Engine API listens on. You can mount /var/run/docker.socks file to your container and call Docker Engine API through this socket.

品味和效率

早起又随性写点东西。 最近朋友圈被转载很多的一篇文章,来自 GQ 实验室对重轻老师的采访。里面有一段关于品味的叙述: ……审美的底层逻辑是能感受到那些