二丫讲梵(每周更新自己喜欢的项目)

Best Practices for CLS Usage and Cost Control of Tencent Cloud Log Product

Original link: https://wiki.eryajf.net/pages/d4534a/ Log cost control mainly has the following dimensions: – Reduction: remove meaningless and invalid logs, and only print critical logs. – Decrease period: reduce the log storage period as much as possible. – Convert to low frequency: Compared with standard storage, low frequency can reduce the cost by 60%–70%. – Be careful

Best Practices for CLS Usage and Cost Control of Tencent Cloud Log Product Read More »

Use docker-compose to deploy the latest version of loki+promtail+grafana to collect Nginx log process records

Original link: https://wiki.eryajf.net/pages/e8500e/ In some lightweight scenarios, it would be cumbersome to use the ELK solution to solve the log problem. I have heard that Loki is more popular. I have been tossing a lot today, so I would like to record the whole process. This article does not involve the in-depth use and research

Use docker-compose to deploy the latest version of loki+promtail+grafana to collect Nginx log process records Read More »

Configure docker command auto-completion in zsh environment on Mac computer

Original link: https://wiki.eryajf.net/pages/7220b1/ There is a special plug-in in zsh to solve the problem of docker command completion, and the installation and configuration are relatively simple. The following are the operation steps. This article is transferred from: https://wiki.eryajf.net/pages/7220b1/ This site is only for collection, and the copyright belongs to the original author.

Configure docker command auto-completion in zsh environment on Mac computer Read More »