diff --git a/.circleci/config.yml b/.circleci/config.yml index 35c3d086..21d69694 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ executors: # should also be updated. golang: docker: - - image: quay.io/prometheus/golang-builder:1.18-base + - image: cimg/go:1.19 parameters: working_dir: type: string @@ -22,8 +22,8 @@ jobs: steps: - prometheus/setup_environment - - run: apt-get update - - run: apt-get -y install build-essential libsnmp-dev + - run: sudo apt-get update + - run: sudo apt-get -y install build-essential libsnmp-dev - run: make - run: git diff --exit-code - prometheus/store_artifact: @@ -39,8 +39,8 @@ jobs: steps: - checkout: path: ~/project - - run: apt-get update - - run: apt-get -y install build-essential diffutils libsnmp-dev p7zip-full + - run: sudo apt-get update + - run: sudo apt-get -y install build-essential diffutils libsnmp-dev p7zip-full - run: make mibs - run: make generator - run: make parse_errors diff --git a/.promu.yml b/.promu.yml index f80339cc..5d5760ce 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,7 +1,7 @@ go: # Whenever the Go version is updated here, # .circle/config.yml should also be updated. - version: 1.18 + version: 1.19 repository: path: github.com/prometheus/snmp_exporter build: diff --git a/CHANGELOG.md b/CHANGELOG.md index adae8c83..f54994f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 0.21.0 / 2022-11-22 + +* [CHANGE] Update to exporter-toolkit v0.8.1 (#810) +* [FEATURE] Support chained lookups in the generator (#757) +* [ENHANCEMENT] Add per-SNMP packet statistics. (#656) +* [ENHANCEMENT] Add support for aes192c and aes256c privacy protocol (#657) +* [ENHANCEMENT] Support responding from different source address (#702) +* [BUGFIX] Fixes dropped context passing (#634) +* [BUGFIX] Add version flag (#717) +* [BUGFIX] Fix retries in generator (#786) + ## 0.20.0 / 2021-02-12 NOTE: This is a safe harbor release. Future releases will have breaking changes to the configuration format. diff --git a/VERSION b/VERSION index 5a03fb73..88541566 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.20.0 +0.21.0 diff --git a/go.mod b/go.mod index bcab22a3..0e1ff862 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.17 require ( github.com/go-kit/log v0.2.1 github.com/gosnmp/gosnmp v1.35.0 - github.com/prometheus/client_golang v1.13.0 + github.com/prometheus/client_golang v1.14.0 github.com/prometheus/client_model v0.3.0 github.com/prometheus/common v0.37.0 github.com/prometheus/exporter-toolkit v0.8.1 diff --git a/go.sum b/go.sum index b17a3f1b..c2d0b874 100644 --- a/go.sum +++ b/go.sum @@ -247,8 +247,9 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= -github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU= github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ= +github.com/prometheus/client_golang v1.14.0 h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw= +github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=