diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a001d54f8..5680450eac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.6.3 / 2017-05-18 + +* [BUGFIX] Fix disappearing Alertmanger targets in Alertmanager discovery. +* [BUGFIX] Fix panic with remote_write on ARMv7. +* [BUGFIX] Fix stacked graphs to adapt min/max values. + ## 1.6.2 / 2017-05-11 * [BUGFIX] Fix potential memory leak in Kubernetes service discovery diff --git a/circle.yml b/circle.yml index 4f9519a0dd..7e09a2cbed 100644 --- a/circle.yml +++ b/circle.yml @@ -49,6 +49,7 @@ deployment: owner: prometheus commands: - promu crossbuild tarballs + - promu checksum .tarballs - promu release .tarballs - mkdir $CIRCLE_ARTIFACTS/releases/ && cp -a .tarballs/* $CIRCLE_ARTIFACTS/releases/ - docker login -e $DOCKER_EMAIL -u $DOCKER_LOGIN -p $DOCKER_PASSWORD diff --git a/storage/remote/ewma.go b/storage/remote/ewma.go index d974bc3bb1..82b6dd1014 100644 --- a/storage/remote/ewma.go +++ b/storage/remote/ewma.go @@ -29,8 +29,10 @@ type ewmaRate struct { mutex sync.Mutex } -func newEWMARate(alpha float64, interval time.Duration) ewmaRate { - return ewmaRate{ +// newEWMARate always allocates a new ewmaRate, as this guarantees the atomically +// accessed int64 will be aligned on ARM. See prometheus#2666. +func newEWMARate(alpha float64, interval time.Duration) *ewmaRate { + return &ewmaRate{ alpha: alpha, interval: interval, } diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index ad462d1767..6813566a4a 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -185,7 +185,7 @@ type QueueManager struct { quit chan struct{} wg sync.WaitGroup - samplesIn, samplesOut, samplesOutDuration ewmaRate + samplesIn, samplesOut, samplesOutDuration *ewmaRate integralAccumulator float64 }