Skip to content

Commit

Permalink
Merge branch 'czerwonk:main' into anx-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaste8 authored Aug 6, 2024
2 parents 14d6756 + 7324b77 commit f707873
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var (
ospfEnabled = flag.Bool("ospf.enabled", true, "Scrape OSPFv3 metrics")
isisEnabled = flag.Bool("isis.enabled", false, "Scrape ISIS metrics")
l2circuitEnabled = flag.Bool("l2circuit.enabled", false, "Scrape l2circuit metrics")
l2vpnEnabled = flag.Bool("l2vpn.enabled", false, "Scrape l2vpn metrics")
natEnabled = flag.Bool("nat.enabled", false, "Scrape NAT metrics")
nat2Enabled = flag.Bool("nat2.enabled", false, "Scrape NAT2 metrics")
ldpEnabled = flag.Bool("ldp.enabled", true, "Scrape ldp metrics")
Expand Down Expand Up @@ -231,6 +232,7 @@ func loadConfigFromFlags() *config.Config {
f.OSPF = *ospfEnabled
f.LDP = *ldpEnabled
f.L2Circuit = *l2circuitEnabled
f.L2Vpn = *l2vpnEnabled
f.Routes = *routesEnabled
f.RoutingEngine = *routingEngineEnabled
f.Accounting = *accountingEnabled
Expand Down

0 comments on commit f707873

Please sign in to comment.