1
0
mirror of https://github.com/prometheus-community/bind_exporter.git synced 2025-04-18 13:04:01 +03:00

Add unreleased header to changelog.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2020-01-05 10:44:02 +01:00
parent d5b648d987
commit f6d727aa31
No known key found for this signature in database
GPG Key ID: C646B23C9E3245F1
3 changed files with 11 additions and 41 deletions

View File

@ -2,7 +2,7 @@
version: 2.1
orbs:
prometheus: prometheus/prometheus@0.1.0
prometheus: prometheus/prometheus@0.4.0
executors:
# Whenever the Go version is updated here, .promu.yml should
@ -30,44 +30,6 @@ jobs:
- run: sudo pip install codespell
- run: codespell --skip=".git,./vendor,ttar,go.mod,go.sum,*pem" -L uint,packages\',uptodate
build:
machine:
image: ubuntu-1604:201903-01
environment:
DOCKER_TEST_IMAGE_NAME: quay.io/prometheus/golang-builder:1.13-base
REPO_PATH: github.com/prometheus-community/bind_exporter
steps:
- checkout
- run: docker run --privileged linuxkit/binfmt:v0.6
- run: make promu
- run: promu crossbuild
- run: promu --config .promu-cgo.yml crossbuild
- persist_to_workspace:
root: .
paths:
- .build
- store_artifacts:
path: .build
destination: /build
- run:
command: |
if [ -n "$CIRCLE_TAG" ]; then
make docker DOCKER_IMAGE_TAG=$CIRCLE_TAG
else
make docker
fi
- run: docker images
- run: docker run --rm -t -v "$(pwd):/app" "${DOCKER_TEST_IMAGE_NAME}" -i "${REPO_PATH}" -T
- run:
command: |
if [ -n "$CIRCLE_TAG" ]; then
make test-docker DOCKER_IMAGE_TAG=$CIRCLE_TAG
else
make test-docker
fi
workflows:
version: 2
bind_exporter:
@ -76,7 +38,8 @@ workflows:
filters:
tags:
only: /.*/
- build:
- prometheus/build:
name: build
filters:
tags:
only: /.*/

View File

@ -1,3 +1,9 @@
## master / unreleased
### **Breaking changes**
### Changes
# v0.2.0 / unreleased
- [CHANGE] Rename label in `bind_incoming_requests_total` from `name` to `opcode`
@ -7,4 +13,4 @@
- [FEATURE] Automatically detect BIND statistics version and use correct client
- [FEATURE] Provide option to control exported statistics with `-bind.stats-groups`
- [FEATURE] Export number of queries causing recursion as `bind_query_recursions_total`
- [FEATURE] Export `bind_boot_time_seconds` (v2+v3) and `bind_config_time_seconds` (v3 only)
- [FEATURE] Export `bind_boot_time_seconds` (v2+v3) and `bind_config_time_seconds` (v3 only)

View File

@ -13,6 +13,7 @@
# Needs to be defined before including Makefile.common to auto-generate targets
DOCKER_ARCHS ?= amd64 armv7 arm64
DOCKER_REPO ?= prometheuscommunity
include Makefile.common