From: job Date: Tue, 13 Feb 2024 20:41:22 +0000 (+0000) Subject: Remove the stalemanifests metrics (which are no longer in use) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=598fc3bdb5913329c07cd57df621fd69e9eae8ee;p=openbsd Remove the stalemanifests metrics (which are no longer in use) OK tb@ --- diff --git a/usr.sbin/rpki-client/output-json.c b/usr.sbin/rpki-client/output-json.c index eb074ef501b..9c8f3f2ba6c 100644 --- a/usr.sbin/rpki-client/output-json.c +++ b/usr.sbin/rpki-client/output-json.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output-json.c,v 1.41 2024/02/03 14:30:47 job Exp $ */ +/* $OpenBSD: output-json.c,v 1.42 2024/02/13 20:41:22 job Exp $ */ /* * Copyright (c) 2019 Claudio Jeker * @@ -77,9 +77,6 @@ outputheader_json(struct stats *st) json_do_int("cachedir_del_superfluous_files", st->repo_stats.del_extra_files); - /* XXX: remove in rpki-client 9.0 */ - json_do_int("stalemanifests", 0); - json_do_end(); } diff --git a/usr.sbin/rpki-client/output-ometric.c b/usr.sbin/rpki-client/output-ometric.c index 48713be1635..1addf16728c 100644 --- a/usr.sbin/rpki-client/output-ometric.c +++ b/usr.sbin/rpki-client/output-ometric.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output-ometric.c,v 1.6 2024/02/03 14:30:47 job Exp $ */ +/* $OpenBSD: output-ometric.c,v 1.7 2024/02/13 20:41:22 job Exp $ */ /* * Copyright (c) 2022 Claudio Jeker * @@ -48,10 +48,6 @@ set_common_stats(const struct repotalstats *in, struct ometric *metric, ometric_set_int_with_labels(metric, in->mfts_fail, OKV("type", "state"), OKV("manifest", "failed parse"), ol); - /* XXX: remove in rpki-client 9.0 */ - ometric_set_int_with_labels(metric, 0, - OKV("type", "state"), OKV("manifest", "stale"), ol); - ometric_set_int_with_labels(metric, in->roas, OKV("type", "state"), OKV("roa", "valid"), ol); ometric_set_int_with_labels(metric, in->roas_fail,