WAPI (Wavefront API) is a collection of pipelines and utilities to aid in a GitOps workflow that is developer friendly and publishes changes in an idempotent nature. This suite focus it to be an aid to pipelines by providing a repository for various changes along with a simple mechanism that will control the edit permissions of published items as well as determine if there are changes that need to be made, and if so make the changes.
Alpha release only
In the cfg
directory of this repository, you will find the example configuration file.
Copy the file cfg\example-config.yaml
to cfg/config.yaml
and edit the settings specific to your needs.
Common settings to update will be the settings identified below:
aria:
svcAccount: 'sa::example-dashboards-gitops'
apiToken: '4example-th1s-ismy-d3m0-apitoken4u2c'
operationsUrl: 'https://vmware.wavefront.com'
For additional information on developing dashboards with this workflow, please see Dashboard Development.
A single option of -d is required for task to work and app will cycle through dashboards and compare with existing version. If changes are detected, then the app will push copy from the dashboards directory.
These options do not accept arguments At least one of these flags is required -a Process Alert modifications (future) -d Process Dashboard modifications -u Process Account modifications (future) -h Print this message
These optional flags require arguments -i OPTION_VALUE Dashboard ID of the target Dashboard -s OPTION_VALUE Dashboard ID of the source Dashboard -t OPTION_VALUE API Token to override config API token
To learn more about pipelines for this repository, please see Pipelines.