diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-12-15 12:02:30 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-12-15 12:02:30 +0000 |
commit | de9c4a8fd628e736c7160f2a582bf85b58ddee58 (patch) | |
tree | dc6717eee15f6cae976dd7a14dc36cf70653e1aa /usr.sbin/rpki-client/Makefile | |
parent | 4a4eee431a34d8adf96b653b56aa8164db0c2d26 (diff) |
Rework statistic collection to be per repository and add metric output option
Many statistic values are now accounted by repository via repo_stat_inc()
At end of the run sum_stats() accumulates these stats per TAL and globally.
The new output file metrics is written when the -m output flag is specified.
The metrics file is written in OpenMetrics format (with a few tweaks to
allow node_exporter to parse the file as well). The ometric code is a copy
from bgpctl(8) and should be kept in sync.
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/Makefile')
-rw-r--r-- | usr.sbin/rpki-client/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/rpki-client/Makefile b/usr.sbin/rpki-client/Makefile index 052ee49d035..153f1bf5b78 100644 --- a/usr.sbin/rpki-client/Makefile +++ b/usr.sbin/rpki-client/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.28 2022/11/26 12:02:36 job Exp $ +# $OpenBSD: Makefile,v 1.29 2022/12/15 12:02:29 claudio Exp $ PROG= rpki-client SRCS= as.c aspa.c cert.c cms.c crl.c encoding.c filemode.c gbr.c geofeed.c \ - http.c io.c ip.c log.c main.c mft.c mkdir.c output.c output-bgpd.c \ - output-bird.c output-csv.c output-json.c parser.c print.c repo.c \ - roa.c rrdp.c rrdp_delta.c rrdp_notification.c rrdp_snapshot.c \ - rrdp_util.c rsc.c rsync.c tak.c tal.c validate.c x509.c + http.c io.c ip.c log.c main.c mft.c mkdir.c ometric.c output.c \ + output-bgpd.c output-bird.c output-csv.c output-json.c \ + output-ometric.c parser.c print.c repo.c roa.c rrdp.c rrdp_delta.c \ + rrdp_notification.c rrdp_snapshot.c rrdp_util.c rsc.c rsync.c tak.c \ + tal.c validate.c x509.c MAN= rpki-client.8 LDADD+= -lexpat -ltls -lssl -lcrypto -lutil |