# run as detach mode
docker compose up -d
see github.com/prometheus-community/yet-another-cloudwatch-exporter/docs/configuration.md
copied configuration text from yace repo.
Below are the top level fields of the YAML configuration file:
# Configuration file version. Must be set to "v1alpha1" currently.
apiVersion: v1alpha1
# STS regional endpoint (optional)
[ sts-region: <string>]
# Note that at least one of the following blocks must be defined.
# Configurations for jobs of type "auto-discovery"
discovery: <discovery_jobs_list_config>
# Configurations for jobs of type "static"
static:
[ - <static_job_config> ... ]
# Configurations for jobs of type "custom namespace"
customNamespace:
[ - <custom_namespace_job_config> ... ]
Note that while the discovery
, static
and customNamespace
blocks are all optionals, at least one of them must be defined.