# Variables to be added to the environment variables for the metric-exporter app manifest
# Some variables are left to be replaced by the user as they use secret values
# Further detail available in the Digital Marketplace manual
---
API_ENDPOINT: https://api.cloud.service.gov.uk
DEBUG: false
METRIC_TEMPLATE: {{.Space}}.{{.App}}.{{.Instance}}.{{.Metric}}
SKIP_SSL_VALIDATION: false
UPDATE_FREQUENCY: 60
STATSD_ENDPOINT: statsd_endpoint_to_be_replaced
STATSD_PREFIX: statsd_prefix_to_be_replaced_to_be_replaced
USERNAME: monitoring_account_cloud_foundry_username_to_be_replaced
PASSWORD: monitoring_account_cloud_foundry_password_to_be_replaced

# Variables to be added to the environment variables for the metric-exporter app manifest
# Some variables are left to be replaced by the user as they use secret values
# Further detail available in the Digital Marketplace manual
---
API_ENDPOINT: https://api.cloud.service.gov.uk
DEBUG: false
METRIC_TEMPLATE: {{.Space}}.{{.App}}.{{.Instance}}.{{.Metric}}
METRIC_WHITELIST: cpu,diskBytes,memoryBytes
SKIP_SSL_VALIDATION: false
UPDATE_FREQUENCY: 60
STATSD_ENDPOINT: statsd_endpoint_to_be_replaced
STATSD_PREFIX: statsd_prefix_to_be_replaced_to_be_replaced
USERNAME: monitoring_account_cloud_foundry_username_to_be_replaced
PASSWORD: monitoring_account_cloud_foundry_password_to_be_replaced

Add metric whitelist so we only ship metrics we use
Add metric whitelist so we only ship metrics we use

To save on our limit of metrics that Hosted Graphite can store,
we will only ship PaaS application metrics that we are actually
using in Hosted Graphite. This will save us lots of unused metrics
such as `requests` and `responseTime` that we are not using.

https://github.com/alphagov/paas-metric-exporter#metric-whitelist
