Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Ingress
    • Helm Chart
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log & Monitor
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

Category: Prometheus

[Prometheus/Grafana] Install Prometheus and Grafana on ubuntu.

Posted on March 27, 2023 By nim No Comments on [Prometheus/Grafana] Install Prometheus and Grafana on ubuntu.
[Prometheus/Grafana] Install Prometheus and Grafana on ubuntu.

Sau đó bạn download chương trình Prometheus về để chạy. Việc download khá đơn giản, bạn chỉ cần truy cập link sau : https://prometheus.io/download/ Giải nén file package Prometheus vừa download. Tạo user để chạy dịch vụ Prometheus. Tạo thư mục cấu hình và data cho Prometheus. Sau đó phân quyền owner tương ứng. Copy…

Read More “[Prometheus/Grafana] Install Prometheus and Grafana on ubuntu.” »

BareMetal, Grafana, Prometheus

[OpenVPN] How do you monitor Your OpenVPN-Server via Prometheus and Grafana

Posted on March 29, 2022March 30, 2022 By nim No Comments on [OpenVPN] How do you monitor Your OpenVPN-Server via Prometheus and Grafana
[OpenVPN] How do you monitor Your OpenVPN-Server via Prometheus and Grafana

Sau bao ngày chạy Openvpn thì cuồi cùng đã monitor được https://kifarunix.com/monitor-openvpn-connections-with-prometheus-and-grafana/ 1) Install Golang 1.1) Raspberry (chipset armvX) 1.2) Ubuntu (not chipset armvX) 2) Download openvpn_exporter and config Bạn nhớ kiểm tra file log status của bạn ở đâu nhé GIờ tiến hành build file. The suggestion of @Burak Serdar to re-install Go fixed…

Read More “[OpenVPN] How do you monitor Your OpenVPN-Server via Prometheus and Grafana” »

Grafana, Log & Monitor, Prometheus

[Node exporter] Install node_exporter on Linux by a script file!

Posted on January 27, 2022January 27, 2022 By nim No Comments on [Node exporter] Install node_exporter on Linux by a script file!
[Node exporter] Install node_exporter on Linux by a script file!

https://github.com/prometheus/node_exporter/releasesBạn vào link trên để theo dõi các bạn release mới nhất: File bên có thể bỏ vào file .sh và chạy thực hiện check port:netstat -ntlp xong vào file prometheus.yaml sửa file config thứ hiện reload prometheusMình cài prometheus nên mình reload theo kiểu các bạn cũng chưa thấy.

BareMetal, Prometheus

[VictoriaMetrics/Grafana/Prometheus/Kiali] VictoriaMetrics is a fast, cost-effective and scalable time series database

Posted on December 21, 2021December 26, 2021 By nim 2 Comments on [VictoriaMetrics/Grafana/Prometheus/Kiali] VictoriaMetrics is a fast, cost-effective and scalable time series database
[VictoriaMetrics/Grafana/Prometheus/Kiali] VictoriaMetrics is a fast, cost-effective and scalable time series database

1) Introduction VictoriaMetrics is a fast, cost-effective and scalable time series database. It can be used as a long-term remote storage for Prometheus. It is recommended using single-node version instead of cluster version for ingestion rates lower than a million of data points per second. Mình sẽ hợp với VictoriaMetrics với mô hình mutil Prometheus hoặc…

Read More “[VictoriaMetrics/Grafana/Prometheus/Kiali] VictoriaMetrics is a fast, cost-effective and scalable time series database” »

Grafana, Isito-EnvoyFilter, Prometheus, VictoriaMetrics

[Prometheus] Relabelling – Custom “__name__” to your mind

Posted on December 15, 2021 By nim No Comments on [Prometheus] Relabelling – Custom “__name__” to your mind
[Prometheus] Relabelling – Custom “__name__” to your mind

Case chúng ta là ntn. Tôi nhận metrics từ 1 Recording Rules và source_labels:[__name__] như ảnh. Tôi muốn chuyển nó từ federate:istio_request_duration_milliseconds_bucket:rate1mthành như sau: istio_request_duration_milliseconds_bucket Câu hỏi làm sao bạn để ý dòng regex: ‘federate:(.*):rate1m’ trong đoạn code bên dưới. Nếu bạn ko metric_relabel_configs thì bạn phải query như sau:federate:istio_request_duration_milliseconds_bucket:rate1m

Prometheus, Uncategorized

[Prometheus/Istio] Research about Recording Rules in Prometheus and reduce metrics of istio cluster.

Posted on December 15, 2021December 24, 2021 By nim No Comments on [Prometheus/Istio] Research about Recording Rules in Prometheus and reduce metrics of istio cluster.
[Prometheus/Istio] Research about  Recording Rules in Prometheus and reduce metrics of istio cluster.

Note lần này sẽ giúp chúng ta tìm hiểu về:– Recording Rules trong prometheus.– Giảm metrics của istio. Từ đó giảm ram của prometheus. Liệu việc giảm ram của prometheus bằng các giảm metrics thì có thực sự hiệu quả? https://karlstoney.com/2020/02/25/federated-prometheus-to-reduce-metric-cardinality/ Giờ chúng ta sẽ đi tìm hiều Recording Rules trong 1 ví dụ thực…

Read More “[Prometheus/Istio] Research about Recording Rules in Prometheus and reduce metrics of istio cluster.” »

Isito-EnvoyFilter, Prometheus

[Grafana/Prometheus] Design chart for bucket metrics to Grafana

Posted on November 8, 2021November 11, 2021 By nim No Comments on [Grafana/Prometheus] Design chart for bucket metrics to Grafana
[Grafana/Prometheus] Design chart for bucket metrics to Grafana

Một ngày dẹp trời thì bạn được sếp quang cho 1 metrics và kêu vẽ chart trên grafana.OK => pilot_xds_push_time_bucketbạn để ý là nó có đuôi là bucket và data của metric có trường le. 1) research Histogram: Thực chất là một biểu đồ tích lũy, Histogram tạo bộ đếm cho số lượng sự kiện, bộ…

Read More “[Grafana/Prometheus] Design chart for bucket metrics to Grafana” »

Grafana, Prometheus

[Prometheus] Prometheus to use monitoring k8s

Posted on November 7, 2021July 20, 2022 By nim No Comments on [Prometheus] Prometheus to use monitoring k8s
[Prometheus] Prometheus to use monitoring k8s

Bạn có thể tham khảo helm chart sau:https://prometheus-community.github.io/helm-charts Phần dưới này đã bị outdate get password admin grafana: Nếu bạn đã cài được prometheus thì việc tiếp theo là config như thế nào để monitor được application.Minh đang có 1 workload là spin-clouddriver bằng 1 số câu lệnh hal config … thì mình đã enable…

Read More “[Prometheus] Prometheus to use monitoring k8s” »

Prometheus

[Prometheus] TIP – Custom Prometheus

Posted on October 26, 2021October 26, 2021 By nim No Comments on [Prometheus] TIP – Custom Prometheus
[Prometheus] TIP – Custom Prometheus

how long prometheus save data? https://stackoverflow.com/questions/59298811/increasing-prometheus-storage-retention Theo như sách báo nói thì promethues sẽ lưu mặc định là 15 ngày storage.tsdb.retention.time=15d prometheus install theo kiểu package thì tìm trong prometheus trong k8s thì bạn tự mò thử text trên nhé

Log & Monitor, Prometheus

[Prometheus] Relabelling – Đưa thông tin từ Discovered Label sang target label

Posted on October 16, 2021December 15, 2021 By nim 2 Comments on [Prometheus] Relabelling – Đưa thông tin từ Discovered Label sang target label
[Prometheus] Relabelling – Đưa thông tin từ Discovered Label sang target label

Vào việc luôn ha. Một ngày đẹp trời thực hiện 1 câu query trên prometheus và bạn cảm thấy thiếu thiều j đó.Bạn đi lục lọi khắc nơi trong prometheus. Tiếp theo bạn cần di sang Discovery vào file config prometheus.yaml source_labels: [__scheme__] lâý key bên discovery regex: ‘(.*)’ cái này để lọc value nào…

Read More “[Prometheus] Relabelling – Đưa thông tin từ Discovered Label sang target label” »

Log & Monitor, Prometheus

Posts navigation

1 2 Next
Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • [Prometheus/Grafana] Install Prometheus and Grafana on ubuntu. March 27, 2023
  • [Kong Gateway] WebSocket connection failed March 26, 2023
  • [Nextcloud] Can’t download files to have a size bigger than 2Gi on NextCloud – RaspBerry March 24, 2023
  • [Datadog] Using DataDog to monitor all services on kubernetes March 19, 2023
  • [Metrics Server] Failed to make webhook authorizer request: the server could not find the requested resource March 17, 2023

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • BareMetal
    • NextCloud
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
    • Longhorn – Storage
    • MetalLB
    • Vault
    • VictoriaMetrics
  • Log & Monitor
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2023 NimTechnology.