packages/aws/data_stream/billing/agent/stream/stream.yml.hbs (57 lines of code) (raw):
metricsets: ["billing"]
period: {{period}}
{{#if data_granularity}}
data_granularity: {{data_granularity}}
{{/if}}
{{#if include_linked_accounts}}
include_linked_accounts: {{include_linked_accounts}}
{{#if owning_account}}
owning_account: "{{owning_account}}"
{{/if}}
{{/if}}
{{#if access_key_id}}
access_key_id: {{access_key_id}}
{{/if}}
{{#if secret_access_key}}
secret_access_key: {{secret_access_key}}
{{/if}}
{{#if session_token}}
session_token: {{session_token}}
{{/if}}
{{#if credential_profile_name}}
credential_profile_name: {{credential_profile_name}}
{{/if}}
{{#if shared_credential_file}}
shared_credential_file: {{shared_credential_file}}
{{/if}}
{{#if role_arn}}
role_arn: {{role_arn}}
{{/if}}
{{#if default_region}}
default_region: {{default_region}}
{{/if}}
{{#if lantency}}
latency: {{latency}}
{{/if}}
{{#if cost_explorer_config.group_by_dimension_keys}}
cost_explorer_config.group_by_dimension_keys:
{{#each cost_explorer_config.group_by_dimension_keys as |dimension_key i|}}
- {{dimension_key}}
{{/each}}
{{/if}}
{{#if cost_explorer_config.group_by_tag_keys}}
cost_explorer_config.group_by_tag_keys:
{{#each cost_explorer_config.group_by_tag_keys as |tag_key i|}}
- {{tag_key}}
{{/each}}
{{/if}}
{{#if proxy_url }}
proxy_url: {{proxy_url}}
{{/if}}
{{#if leaderelection}}
condition: ${kubernetes_leaderelection.leader} == true
{{/if}}
{{#if processors}}
processors:
{{processors}}
{{/if}}