From 580a914a0178a457e42b3ea8fd1a83e98c1a6406 Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Sun, 24 Oct 2021 14:22:45 +0000 Subject: [PATCH] Switch to stayrtr specific Prometheus port --- README.md | 2 +- cmd/stayrtr/stayrtr.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a85cd8..7236bbb 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ You can check the content provided over RTR with rtrdump tool $ ./rtrdump -connect 127.0.0.1:8282 -file debug.json ``` -You can also fetch the re-generated JSON from the `-export.path` endpoint (default: `http://localhost:8080/rpki.json`) +You can also fetch the re-generated JSON from the `-export.path` endpoint (default: `http://localhost:9847/rpki.json`) ### Data sources diff --git a/cmd/stayrtr/stayrtr.go b/cmd/stayrtr/stayrtr.go index afaa763..4beb44a 100644 --- a/cmd/stayrtr/stayrtr.go +++ b/cmd/stayrtr/stayrtr.go @@ -46,7 +46,7 @@ var ( buildinfos = "" AppVersion = "StayRTR " + version + " " + buildinfos - MetricsAddr = flag.String("metrics.addr", ":8080", "Metrics address") + MetricsAddr = flag.String("metrics.addr", ":9847", "Metrics address") MetricsPath = flag.String("metrics.path", "/metrics", "Metrics path") ExportPath = flag.String("export.path", "/rpki.json", "Export path")