diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f4fbbd41..512efed4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project are documented in this file. +## 0.1.2 (2020-10-13) + +This prerelease comes with Prometheus instrumentation for the controller's resources. + +For each kind, the controller exposes a gauge metric to track the `Ready` condition status, +and a histogram with the reconciliation duration in seconds: + +* `gotk_reconcile_condition{kind, name, namespace, status, type="Ready"}` +* `gotk_reconcile_duration{kind, name, namespace}` + ## 0.1.1 (2020-10-02) This prerelease fixes a regression bug introduced in `v0.1.0` diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 964fb8fd1..7419c7e1b 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ resources: images: - name: fluxcd/helm-controller newName: fluxcd/helm-controller - newTag: v0.1.1 + newTag: v0.1.2 diff --git a/go.mod b/go.mod index f0ed8abf4..eaad5040f 100644 --- a/go.mod +++ b/go.mod @@ -5,10 +5,10 @@ go 1.15 replace github.com/fluxcd/helm-controller/api => ./api require ( - github.com/fluxcd/helm-controller/api v0.1.0 + github.com/fluxcd/helm-controller/api v0.1.2 github.com/fluxcd/pkg/apis/meta v0.0.2 github.com/fluxcd/pkg/runtime v0.1.0 - github.com/fluxcd/source-controller/api v0.1.0 + github.com/fluxcd/source-controller/api v0.1.1 github.com/go-logr/logr v0.1.0 github.com/onsi/ginkgo v1.12.1 github.com/onsi/gomega v1.10.1 diff --git a/go.sum b/go.sum index 5003f3388..e40a08b50 100644 --- a/go.sum +++ b/go.sum @@ -194,12 +194,10 @@ github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fluxcd/pkg/apis/meta v0.0.2 h1:kyA4Y0IzNjf1joBOnFqpWG7aNDHvtLExZcaHQM7qhRI= github.com/fluxcd/pkg/apis/meta v0.0.2/go.mod h1:nCNps5JJOcEQr3MNDmZqI4o0chjePSUYL6Q2ktDtotU= -github.com/fluxcd/pkg/runtime v0.0.6 h1:m7qwr2wRePs1vzVlM0Y88vitXSsv1lb3QCJflRpa3qQ= -github.com/fluxcd/pkg/runtime v0.0.6/go.mod h1:iLjncjktQVpqpb1NsY2fW+UYDFOtVyt+yJrxqrrK8A0= github.com/fluxcd/pkg/runtime v0.1.0 h1:mCLj5GlQZqWtK3tvtZTmfgFOLsTUY1iqg3CmEyS1nRs= github.com/fluxcd/pkg/runtime v0.1.0/go.mod h1:OXkrYtDLw3GhclbzvnzfSktUyxRmC3FFhXj0tVVaIX8= -github.com/fluxcd/source-controller/api v0.1.0 h1:ky3gMs3mnkDl6ClX+7uT2BNxU+sLzW/6a8B/M1KfySw= -github.com/fluxcd/source-controller/api v0.1.0/go.mod h1:1ac/vj49YVPKF+xBHTo/9pfFj64TcLc1RLaxi4MwVEM= +github.com/fluxcd/source-controller/api v0.1.1 h1:BYxl9qc8pCx3/Bn1885TlkJPwvXqz+rAL9mzpnCrj9A= +github.com/fluxcd/source-controller/api v0.1.1/go.mod h1:1ac/vj49YVPKF+xBHTo/9pfFj64TcLc1RLaxi4MwVEM= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=