241 Commits

Author SHA1 Message Date
kralewitz
356c13e20e
Add metric representing bird socket query result (#82)
A new gauge metric named `bird_socket_query_success` holds the result of
querying the bird socket for protocol status. If set to 1, the socket
was queried successfully. If the query fails for any of the configured
sockets (IPv4 / IPv6), the value of this metric will be 0.

Co-authored-by: Jan Kral <jan.kral@4net.tv>
2023-05-09 14:33:19 +02:00
Vladimir Shipilov
ca13cd9b96
Fix collecting for bfd sessions stucked in Init state (#86) 2023-05-09 14:32:05 +02:00
Fredrik Liv
446837936c
Added helm chart (#83) 2023-05-09 14:31:18 +02:00
dependabot[bot]
60e7d4f4bc
Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.1 (#87) 2023-05-08 17:25:13 +02:00
Daniel Czerwonk
ca20239b5f
Update release.yml 2023-03-10 11:44:31 +01:00
Daniel Czerwonk
9ff27089a7
Update test.yml 2023-03-10 11:41:08 +01:00
Daniel Czerwonk
f01a153115
Update test.yml 2023-03-02 21:29:19 +01:00
Daniel Czerwonk
e87aef75a8
Create CODEOWNERS 2023-03-02 21:25:27 +01:00
dependabot[bot]
d3d9cdfbe6
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#84)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 09:56:22 +01:00
Daniel Czerwonk
dd80f4ea21 Merge remote-tracking branch 'origin/master'
Signed-off-by: Daniel Czerwonk <daniel@dan-nrw.de>
2023-02-08 06:41:53 +01:00
Daniel Czerwonk
945b4e8c96 upgrade to go 1.20
Signed-off-by: Daniel Czerwonk <daniel@dan-nrw.de>
2023-02-08 06:35:21 +01:00
Daniel Czerwonk
02ddbc03ad bump version
Signed-off-by: Daniel Czerwonk <daniel@dan-nrw.de>
2023-02-08 06:34:07 +01:00
Daniel Czerwonk
3539ace96e add TLS
Signed-off-by: Daniel Czerwonk <daniel@dan-nrw.de>
2023-02-08 06:30:52 +01:00
Birger J. Nordølum
301f514d98
docs(readme): grammer & whitespace (#78)
Just some minor cleaning.
2022-11-22 16:57:39 +01:00
dependabot[bot]
8232f48a3f
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#77)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 16:57:07 +01:00
dependabot[bot]
e3da677d2e
Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0 (#80)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 16:56:54 +01:00
Daniel Czerwonk
3d95ac568f use go 1.19 2022-09-07 17:09:46 +02:00
Daniel Czerwonk
750c03a0fb use golang 1.19 2022-09-07 17:08:34 +02:00
dependabot[bot]
d740f50b48
Bump github.com/stretchr/testify from 1.7.1 to 1.8.0 (#70)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 17:07:41 +02:00
dependabot[bot]
92eb38ce4a
Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (#71)
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 17:06:46 +02:00
dependabot[bot]
57ca5c5165
Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 (#72)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 17:04:06 +02:00
dependabot[bot]
0b648a695a
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#65)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 13:08:04 +02:00
dependabot[bot]
a0b65528df
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 (#66)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 13:05:24 +02:00
Daniel Czerwonk
1a8e03f272 add test for default_label_strategy.go 2022-02-11 07:59:43 +01:00
Daniel Czerwonk
f7bc5148a4 reuse regex, ensure custom label names are trimmed 2022-02-11 07:19:04 +01:00
Daniel Czerwonk
f23e0d3b3e bump version 2022-02-11 07:06:14 +01:00
dependabot[bot]
6ac083926c
Bump github.com/stretchr/testify from 1.4.0 to 1.7.0 (#59)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 07:02:41 +01:00
dependabot[bot]
034588ea02
Bump github.com/prometheus/client_golang from 1.12.0 to 1.12.1 (#60)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 07:02:31 +01:00
sgrade
ab8d64bd15
Allow regex to extract labels from protocol description (#61)
Co-authored-by: Roman Klyuev <rklyuev@subspace.com>
2022-02-11 07:01:04 +01:00
Daniel Czerwonk
ce4adf7c86 add BFD to feature list 2022-01-27 12:24:21 +01:00
Daniel Czerwonk
f13ef4bd7e
Add support for BFD protocol (#58) 2022-01-27 12:20:22 +01:00
Daniel Czerwonk
df3f06fe77
Merge pull request #57 from czerwonk/dependabot/go_modules/github.com/prometheus/client_golang-1.12.0
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0
2022-01-27 07:20:17 +01:00
dependabot[bot]
bccba1285c
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-20 01:24:50 +00:00
Daniel Czerwonk
934b26e64a rename parse func 2022-01-14 12:00:20 +01:00
Daniel Czerwonk
7799d636a4 move ospf test 2022-01-14 11:59:10 +01:00
Daniel Czerwonk
564a7b5b72 trim strings extracted from descriptions (fixes #51) 2022-01-14 11:49:52 +01:00
Daniel Czerwonk
c99e498508 remove bgp states introduced in by #46 since the information can now be extracted by using the up metric with better performance 2022-01-14 11:33:50 +01:00
Daniel Czerwonk
cde3432490 set new metric format as default, add RPKI protocol 2022-01-14 11:27:11 +01:00
Daniel Czerwonk
ae7bb26676 remove unused var 2022-01-14 10:08:46 +01:00
Daniel Czerwonk
4b8417493d BGP state exporter used deprecated log package 2022-01-14 09:29:53 +01:00
Daniel Czerwonk
be8305dd4b use go 1.17 2022-01-13 09:38:38 +01:00
Daniel Czerwonk
11d35e7ce5
Merge pull request #53 from czerwonk/dependabot/go_modules/github.com/sirupsen/logrus-1.8.1
Bump github.com/sirupsen/logrus from 1.6.0 to 1.8.1
2022-01-13 09:35:36 +01:00
Daniel Czerwonk
3f19d943a1
Update main.go
Bump version
2022-01-13 09:35:07 +01:00
Daniel Czerwonk
f0f068ca4c
Merge pull request #46 from ctripcloud/add-bgp-state-metrics
Add bgp state metrics
2022-01-13 09:33:48 +01:00
dependabot[bot]
ec3728ad00
Bump github.com/sirupsen/logrus from 1.6.0 to 1.8.1
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.6.0 to 1.8.1.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.6.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 08:31:31 +00:00
Daniel Czerwonk
9d0ce2e117
Merge pull request #50 from micah/add_dependabot
Add dependabot configuration.
2022-01-13 09:31:09 +01:00
Micah Anderson
cecdd96518 Add dependabot configuration.
For more information, see:

https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically
2021-11-20 09:20:25 -05:00
Daniel Czerwonk
0bb1b6cedb
Merge pull request #48 from seoss/basic_babel
Add basic support for the Babel protocol.
2021-09-27 07:11:32 +02:00
Tim Small
d494720cc3 Add basic support for the Babel protocol.
This doesn't add a protocol specific parser, but does allow basic
information about babel imported and exported routes etc. to be exposed.
2021-09-23 13:20:19 +01:00
Daniel Czerwonk
088878a86d dep upgrade 2021-07-22 14:31:28 +02:00