[Jenkins] Scripted Pipeline lesson 14: Options _ NewContainerPerStage.
Mục đích của bài biết này cho chũng ta thấy là: ở mối stage thì chúng ta có run container khác nhau.
Trình bày các công nghệ CLOUD một cách dễ hiểu.
Mục đích của bài biết này cho chũng ta thấy là: ở mối stage thì chúng ta có run container khác nhau.
overrideIndexTriggers. Bài này thì chúng ta tìm hiểu về Trigger giữa jenkins và gitCHúng ta có thể disable trigger của 1 branch nào đó. https://github.com/mrnim94/scripted-overrideIndexTriggers.gitMình cung cấp link github trên các bạn cần tạo job Multibranch Pipeline như ảnh bên dưới: sau khi save thì jenkins thực hiện scan git Ở đây overrideIndexTriggers(true). step 2:…
Read More “[Jenkins] Scripted Pipeline lesson 10: Options _ OverrideIndexTriggers” »
Thường với 1 job thì chúng chỉ cho 1 build được chạy và khi nào build đó chạy xong thì chạy build tiếp theo.Nhất là khi mà jenkins trigger build từ git, mà dev push code ầm ầm. Thì đây là 1 tính năng hữu ích.
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…
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
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…
Khi bạn cài đặt istio ở những version gần đây thì operator của istio ko con tích hợp luôn: grafana, kiali, prometheus,… Mà họ đã tách riêng thành các manifest riêng. https://github.com/istio/istio/tree/master/samples/addons Với istio thì họ có 2 option:Option 1: Quick startOption 2: Customizable install Dưới đây là các metric mà scrape: To gather metrics…
Read More “[Grafana/Prometheus/Istio] How does prometheus get istio metrics?” »