sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #08450
[Merge] ~ack/maas-ci/+git/maas-ci-internal:update-kpis-pass-stats-days-back into ~maas-committers/maas-ci/+git/maas-ci-internal:main
Alberto Donato has proposed merging ~ack/maas-ci/+git/maas-ci-internal:update-kpis-pass-stats-days-back into ~maas-committers/maas-ci/+git/maas-ci-internal:main.
Commit message:
pass number of days back for generating daily stats
Requested reviews:
MAAS Lander (maas-lander): unittests
MAAS Committers (maas-committers)
For more details, see:
https://code.launchpad.net/~ack/maas-ci/+git/maas-ci-internal/+merge/443085
--
Your team MAAS Committers is requested to review the proposed merge of ~ack/maas-ci/+git/maas-ci-internal:update-kpis-pass-stats-days-back into ~maas-committers/maas-ci/+git/maas-ci-internal:main.
diff --git a/jobs/update-kpis.yaml b/jobs/update-kpis.yaml
index 4ac06fa..1e1e59c 100644
--- a/jobs/update-kpis.yaml
+++ b/jobs/update-kpis.yaml
@@ -6,14 +6,19 @@
- job-template:
name: update-kpis
parameters:
- - string:
- name: INFLUXDB_HOST
- description: Hostname of the InfluxDB
- default: maas-influxdb.cloud.kpi.internal
- - string:
- name: INFLUXDB_DBNAME
- description: The name of the database to use
- default: maas
+ - string:
+ name: INFLUXDB_HOST
+ description: Hostname of the InfluxDB
+ default: maas-influxdb.cloud.kpi.internal
+ - string:
+ name: INFLUXDB_DBNAME
+ description: The name of the database to use
+ default: maas
+ - string:
+ name: DAILYSTATS_DAYS
+ description: Number of days back to collect daily stats for
+ default: 1
+
triggers:
- timed: '@hourly'
properties: