openstack kpi scripts #36

Supports: xenial bionic

Add to new model

Description

Scripts to gather OpenStack KPIs from external sources.


canonical-is-charms openstack-kpi-scripts

This provides a basic subordinate charm which installs the scripts from
files/thirdparty/ on the local system and runs them from cron.

This should be compiled with charm build from lp:~canonical-losas/canonical-is-charms/snappy-kpi-scripts-layer.

References

  • https://code.launchpad.net/~canonical-losas/canonical-is-charms/snappy-kpi-scripts/
  • https://code.launchpad.net/~canonical-losas/canonical-is-charms/snappy-kpi-scripts-layer/
  • https://bazaar.launchpad.net/~canonical-is/canonical-mojo-specs/trunk/files/head:/is/mojo-is-prometheus/

Configuration

gerrit-ssh-private-key
(string) Private SSH key for access to review.openstack.org
gerrit-username
(string) Username for access to review.openstack.org
github-token
(string) Token for GitHub API
launchpad-credentials
(string) A base64-encoded file to be used as the launchpad credentials file.
launchpad-credentials-file
(string) Where to place the launchpad credentials file. This should be an old-style auth token with a consumer name of openstack-kpi-scripts, not a modern "desktop integration" one, for which use create-launchpad-access-token.py from is-scripts.
/home/ubuntu/.openstack-kpi-scripts/launchpad.credentials
prometheus-push-gateway
(string) URL for Prometheus Push Gateway
run-as
(string) User as which to run the scripts
ubuntu