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
      • Pod
    • Helm Chart
    • OAuth2 Proxy
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Argo Events
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • DevSecOps
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
      • Azure Cloud
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log, Monitor & Tracing
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

Category: Prometheus

[Prometheus – Grafana – Monitoring] Look into rate and irate, min, max, average and latest over a specific time.

Posted on August 14, 2024December 3, 2024 By nim No Comments on [Prometheus – Grafana – Monitoring] Look into rate and irate, min, max, average and latest over a specific time.
[Prometheus – Grafana – Monitoring] Look into rate and irate, min, max, average and latest over a specific time.

Hiện tại mình gặp 1 tình huống: Mặc dù deploymnet đó mình đã tắt rồi nhưng chart vẫn hiện thị kết quả. Vậy tại sao chart kia vẫn hiển thị số? và theo 1 kết luận thì chart đang lấy latest value and not according to follow the time range. Mình chợt nghĩ ra sử…

Read More “[Prometheus – Grafana – Monitoring] Look into rate and irate, min, max, average and latest over a specific time.” »

Prometheus

[Grafana] Draw table visualization in Grafana

Posted on April 9, 2024November 15, 2024 By nim No Comments on [Grafana] Draw table visualization in Grafana
[Grafana] Draw table visualization in Grafana

Bạn sẽ tạo visualization: CHọn table Chúng ta có 4 metrics sau: Bạn cần điền thêm metrics và chọn Format: Table, Type: Instantvà add các metrics khác tương tự, Bạn chuyển qua tab Transform. Chúng ta cần combine metrics lại như sau:Metrics 1: thì lấy label node, self1, value will be Value #AMetrics 2: thì…

Read More “[Grafana] Draw table visualization in Grafana” »

Prometheus

[Grafana] Design Uptime based on Status History – Visualizations on Grafana

Posted on January 7, 2024January 14, 2025 By nim No Comments on [Grafana] Design Uptime based on Status History – Visualizations on Grafana
[Grafana] Design Uptime based on Status History – Visualizations on Grafana

Bạn có một metrics up{label=”xxx”} = 1 thì sẽ là Up https://grafana.com/docs/grafana/latest/panels-visualizations/configure-value-mappings/ https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/status-history/ Ngoài ra bạn cũng có thể vẽ được chart percent dửa trên metrics uptime 0/1 Với metrics uptime của Uptime Kuma thì mình gặp lỗi bên dưới: Too many points to visualize properly.Update the query to return fewer points.(1441 points received) Nếu bạn…

Read More “[Grafana] Design Uptime based on Status History – Visualizations on Grafana” »

Grafana, Prometheus

[Prometheus] filter or allowlist metrics before sending to the remote storage via remote_write in Prometheus

Posted on September 14, 2023January 11, 2024 By nim No Comments on [Prometheus] filter or allowlist metrics before sending to the remote storage via remote_write in Prometheus
[Prometheus] filter or allowlist metrics before sending to the remote storage via remote_write in Prometheus

There are a few options to filter or allowlist metrics before they are sent to the remote storage via remote_write in Prometheus: 1. Use metric relabeling You can configure relabelling rules on the remote_write config to filter or transform metrics before they are sent. For example: with metrics: my_metric_http{status_code=200, cluster=nim] 100my_metric_http{status_code=500, cluster=nim] 100k8s_metric_memory{container=web, cluster=nim] 100…

Read More “[Prometheus] filter or allowlist metrics before sending to the remote storage via remote_write in Prometheus” »

Prometheus

How to join labels of 2 different metrics on PromQL

Posted on September 8, 2023 By nim No Comments on How to join labels of 2 different metrics on PromQL
How to join labels of 2 different metrics on PromQL

Look into the situation Đầu tiên chúng ta có 2 metric labels như sau: Metrics and Labels: Look into kube_pod_container_info metrics. With kube_pod_container_info Look into windows_container_cpu_usage_seconds_kernelmode windows_container_cpu_usage_seconds_kernelmode thì có container_id, nhưng lại không có namespace, pod, container==> Bằng mắt: thì chúng ta không thể nào nhận biết được CPU usage này của container nào. Từ…

Read More “How to join labels of 2 different metrics on PromQL” »

Prometheus

[Kubernetes] Monitor Persistent Volume usage in Kubernetes using Prometheus

Posted on August 7, 2023August 9, 2023 By nim No Comments on [Kubernetes] Monitor Persistent Volume usage in Kubernetes using Prometheus
[Kubernetes] Monitor Persistent Volume usage in Kubernetes using Prometheus

Hôm nay thì mình muốn monitor usage của pv https://github.com/antonputra/tutorials/tree/main/lessons/134 What is the kubelet Yes, I know about the kubelet in Kubernetes (k8s). The kubelet is the primary “node agent” that runs on each node in a Kubernetes cluster. It can register the node with the apiserver using one of several methods: the hostname, a…

Read More “[Kubernetes] Monitor Persistent Volume usage in Kubernetes using Prometheus” »

Prometheus

[Monitoring] How to monitor EBS on AWS via Prometheus

Posted on July 11, 2023July 18, 2023 By nim No Comments on [Monitoring] How to monitor EBS on AWS via Prometheus
[Monitoring] How to monitor EBS on AWS via Prometheus

Như các bạn cũng đã biết thì Prometheus không thể collect trực tiếp metrics của Cloudwatch. Mình sẽ cài 1 thằng là cloudwatch-exporter để collect metrics.Bạn có thể sử dụng bài viết bên dưới Look into the helpful metrics. Bài này mình sẽ tập trung nhiều vào việc là tìm ra các metrics có ích…

Read More “[Monitoring] How to monitor EBS on AWS via Prometheus” »

AWS - Amazon Web Service, Prometheus

[DataDog] How does DataDog collect metrics from the Prometheus exporter endpoint

Posted on April 5, 2023July 10, 2023 By nim No Comments on [DataDog] How does DataDog collect metrics from the Prometheus exporter endpoint
[DataDog] How does DataDog collect metrics from the Prometheus exporter endpoint

1) Introduce the design architecture Mô hình bạn có thể thấy như hình bên dưới. Thì mình dùng datadog agent trên k8s để collect metrics của cloudwatchNhưng mà datadog agent không để đọc trực tiếp vào Cloudwatch nên mình sẽ sử dụng 1 opensource của prometheus là prometheus cloudwatch exporter để get metrics từ cloud…

Read More “[DataDog] How does DataDog collect metrics from the Prometheus exporter endpoint” »

DataDog, Prometheus

[Promethues] Install Prometheus Operator on Kubernetes.

Posted on April 2, 2023August 29, 2023 By nim No Comments on [Promethues] Install Prometheus Operator on Kubernetes.
[Promethues] Install Prometheus Operator on Kubernetes.

1) the preparing before install Prometheus Operator Đầu tiên thì bạn cần cài đặt trước các CustomResourceDefinition REPO URL: https://prometheus-community.github.io/helm-chartsCHART: prometheus-operator-crds:2.0.0 We need to press the sync button I am sure that you also have a problem with prometheuses.monitoring.coreos.comThis message: “CustomResourceDefinition.apiextensions.k8s.io “prometheuses.monitoring.coreos.com” is invalid: metadata.annotations: Too long: must have at most 262144 bytes“ Don’t be…

Read More “[Promethues] Install Prometheus Operator on Kubernetes.” »

Prometheus

[windows-exporter] Monitor the windows Kubernetes.

Posted on April 2, 2023 By nim No Comments on [windows-exporter] Monitor the windows Kubernetes.
[windows-exporter] Monitor the windows Kubernetes.

Hiện tại thì mỉnh sử dụng windows-exporter để monitor windows k8s.https://github.com/prometheus-community/windows_exporter Để integrate với windows_exporter thì bạn nên cài trước prometheus_operator. Mình đang test trên eks 1.24 1) Install the component of windows exporter. https://github.com/prometheus-community/windows_exporter/blob/master/kubernetes/windows-exporter-daemonset.yaml Lúc này thì trên prometheus-operator đang nhận được metrics của windows-exporter. https://grafana.com/grafana/dashboards/17264-windows-exporter-for-prometheus-dashboard-en-v20221026/ Hiện tại mình chỉ thấy là nó monitor…

Read More “[windows-exporter] Monitor the windows Kubernetes.” »

Prometheus

Posts pagination

1 2 3 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

  • [Laravel] Laravel Helpful June 26, 2025
  • [VScode] Hướng dẫn điều chỉnh font cho terminal June 20, 2025
  • [WordPress] Hướng dấn gửi mail trên WordPress thông qua gmail. June 15, 2025
  • [Bitbucket] Git Clone/Pull/Push with Bitbucket through API Token. June 12, 2025
  • [Teamcity] How to transfer the value from pipeline A to pipeline B June 9, 2025

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • 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
    • Argo Events
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • DevSecOps
    • Golang
    • Jquery & JavaScript
    • Laravel
    • NextJS 14 & ReactJS & Type Script
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • Azure Cloud
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
      • Pod
    • Longhorn – Storage
    • MetalLB
    • OAuth2 Proxy
    • Vault
    • VictoriaMetrics
  • Log, Monitor & Tracing
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Fluent
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2025 NimTechnology.