diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b75118c8..26562fe75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project are documented in this file. +## 0.1.1 (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.0 (2020-09-30) This is the first MINOR prerelease, it promotes the diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index ef0cb3cdc..d579d8fc7 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -6,4 +6,4 @@ resources: images: - name: fluxcd/notification-controller newName: fluxcd/notification-controller - newTag: v0.1.0 + newTag: v0.1.1 diff --git a/go.mod b/go.mod index c255def72..69958f066 100644 --- a/go.mod +++ b/go.mod @@ -5,11 +5,11 @@ go 1.15 replace github.com/fluxcd/notification-controller/api => ./api require ( - github.com/fluxcd/notification-controller/api v0.1.0 + github.com/fluxcd/notification-controller/api v0.1.1 github.com/fluxcd/pkg/apis/meta v0.0.2 github.com/fluxcd/pkg/recorder v0.0.6 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/google/go-github/v32 v32.0.0 github.com/hashicorp/go-retryablehttp v0.6.7 diff --git a/go.sum b/go.sum index 491e12dc0..6090db6ca 100644 --- a/go.sum +++ b/go.sum @@ -72,8 +72,8 @@ github.com/fluxcd/pkg/recorder v0.0.6 h1:me/n8syeeGXz50OXoPX3jgIj9AtinvhHdKT9Dy+ github.com/fluxcd/pkg/recorder v0.0.6/go.mod h1:IfQxfVRSNsWs3B0Yp5B6ObEWwKHILlAx8N7XkoDdhFg= 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/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=