218 Commits

Author SHA1 Message Date
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
Daniel Czerwonk
c9985a3895 migrated log from deprecated prom package to logrus 1.2.6 2021-07-02 11:44:13 +02:00
zhanghao
b09cde3210 Add bgp state metrics
This patch adds bgp state metrics as follows:
http://XXX:9324/metrics

bird_bgp_state{name="uplink0",proto="BGP",state="Active"} 1
bird_bgp_state{name="uplink1",proto="BGP",state="Idle"} 1
2021-07-02 05:14:30 -04:00
Daniel Czerwonk
da65fd2c1a ignore freebsd/arm64 1.2.5 2021-03-19 13:48:57 +01:00
Daniel Czerwonk
1d7fe1f110 add release workflow 2021-03-19 13:42:10 +01:00
Daniel Czerwonk
0b82f1e107
Update test.yml 2021-03-19 12:03:22 +01:00
Daniel Czerwonk
1b10a644fc fix vendoring 2021-03-19 11:36:25 +01:00
Daniel Czerwonk
882792400e use former test command 2021-03-19 11:34:07 +01:00
Daniel Czerwonk
4de827701a github workflow, go 1.16 2021-03-19 11:32:42 +01:00
Daniel Czerwonk
019fc09804
Merge pull request #39 from imlonghao/fix/timezone
Parse uptime with timezone info
2020-10-08 17:58:34 +02:00
imlonghao
f2ac48979e
Parse uptime with timezone info 2020-09-13 18:41:42 +08:00
Daniel Czerwonk
6d16be67a8
Merge pull request #36 from stv0g/add-missing-protocols
Add missing bird protocols which caused segfaults in parser
2020-05-30 11:13:00 +02:00
Steffen Vogel
6228314532 Add missing bird protocols which caused segfaults in parser
Closes #34
2020-05-26 21:41:47 +02:00
Daniel Czerwonk
70add87095
Update main.go 2020-05-04 22:44:24 +02:00
Daniel Czerwonk
350a49f6c2
Update main.go
bumped version
2020-02-19 17:14:30 +01:00
Daniel Czerwonk
080776b93b
Merge pull request #33 from taktv6/master
Add labels from protocol descriptions.
2020-02-19 16:50:32 +01:00
Oliver Herms
3655df1d23 Add labels from protocol descriptions. 2020-02-18 19:55:16 +01:00
Daniel Czerwonk
6ba0275f6e
Update Dockerfile 2020-01-10 15:48:02 +01:00
Daniel Czerwonk
25ef739b20 add filter names as label 1.2.4 2019-11-01 13:18:42 +01:00
Daniel Czerwonk
d6a31b7948
Merge pull request #29 from openvnf/feature/correct_entrypoint
change Entrypoint format to allow passing arguments
2019-05-26 12:03:24 +02:00
Tobias Famulla
ddf46df6d0 change Entrypoint format to allow passing arguments 2019-05-13 09:32:46 +02:00
Daniel Czerwonk
cfe60b92dd
Update main.go 2019-03-09 14:23:50 +01:00
Daniel Czerwonk
5f3e69405d
Update README.md 1.2.3 2019-03-09 14:21:25 +01:00
Daniel Czerwonk
2039f1d0b6
Merge pull request #27 from k1-hedayati/patch-1
Fixed typo
2019-03-09 14:11:53 +01:00