Open freedge opened 2 years ago
workaround for my use case is to replace
path: /Sysdb/routing/bgp/export/vrfBgpPeerInfoStatusEntryTable/(?P<vrf>.+)/bgpPeerInfoStatusEntry/(?P<name>.+)/bgpPeerAs
with
path: /Sysdb/routing/bgp/export/vrfBgpPeerInfoStatusEntryTable/(?P<vrf>.+)/bgpPeerInfoStatusEntry/(?P<name>.+)/bgpPeerSessionStatus/bgpPeerAs
so a single bgpPeerAs is found and there is no path included in "name".
Using latest goarista from master branch, EOS 4.27.4M, and a configuration like this:
ocprometheus fails with errors like this:
This used to work so far with EOS <= 4.26.6M :
It looks like the name "(?P.+)" used to match "10.64.226.33/bgpPeerSessionStatus", but now it only constructs a label with the first part before the first "/"