helm3-monitor

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 2 Imported by: 0

README

Helm3 Monitor Plugin

Monitor a Helm3 release, rollback to a previous version depending on the result of a PromQL (Prometheus) query result

Install

> helm plugin install https://github.com/yq314/helm3-monitor

Usage

A rollback happen only if the number of result from the query is greater than 0.

You can find a step-by-step example in the ./examples directory.

> helm monitor prometheus --prometheus=http://prometheus:9090 \
    <release_name> \
    'rate(http_requests_total{statusClass!="2XX"}[5m]) / rate(http_requests_total[5m]) > 0.01'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL