-
Notifications
You must be signed in to change notification settings - Fork 3
/
example-config.yaml
87 lines (87 loc) · 2.95 KB
/
example-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
filters:
# Search for projects only in the organizations listed.
orgs:
- '9999999999999'
- '8888888888888'
# Filter out projects created in less than X days.
age_minimum_days: 5
# Filter out projects if any owner matches with any regex listed.
users_regex:
- kieras@.*
- .*@mycompany.com
# Filter out projects that matches with any of the list.
projects:
- my-special-project
- my-other-special-project
# Activate/deactivate organization information integration.
org_info:
activate: false
slack:
# Activate/deactivate Slack messages integration.
activate: false
# Do not send messages, only print them.
print_only: true
# Force send messages to a specific user. Set null to send to Project owners.
test_user: null
# Slack channel used by the team.
team_channel: my-team
# Send messages to channel if an error occurs when sending privately.
team_channel_fallback: true
# Force always send to team channel, instead of private messages.
send_to_team_channel: false
# Cost minimum to actually send a message (notify) to the owner.
cost_min_to_notify: 0.0
# Cost threshold to signal an alert highlight.
cost_alert_threshold: 10.0
# Cost threshold alert highlight emoji.
cost_alert_emoji: ':scream:'
bot:
# Bot name.
name: Zombie Projects Watcher Alpha
# Bot icon. An emoji.
emoji: ':money_with_wings:'
users_mapping:
# Mapping between Project owners login and Slack users.
akieras: kieras
eduardo: dudu
chat:
# Activate/deactivate Chat messages integration.
activate: false
# Do not send messages, only print them.
print_only: true
# Chat webhook URL.
webhook_url: https://...
# Cost minimum to actually send a message (notify) to the owner.
cost_min_to_notify: 0.0
# Cost threshold to signal an alert highlight.
cost_alert_threshold: 10.0
# Cost threshold alert highlight emoji.
# To get emoji hexdecimal code, https://unicode.org/emoji/charts/full-emoji-list.html
cost_alert_emoji: '0x1F631'
users_mapping:
# Mapping between Project owners login and Slack users.
akieras: akieras
billing:
# Activate/deactivate billing integration.
activate: false
# Project BigQuery client use to connect to dataset.
bigquery_client_project: my-project
# Full BigQuery view name with Billin export information.
# See example-bigquery-billing-costs-view.sql file for an example query.
cost_view_full_name: my-project.billing.cost_per_project_starting_from_last_month
org_names_mapping:
# Mapping to give meaningful names to organizations in messages.
'9999999999999': my-org
'8888888888888': my-other-org
# Activate/deactivate further debugging info.
debug:
enriched_projects: false
filtered_by_projects: false
filtered_by_users: false
filtered_by_age: false
filtered_by_org: false
grouped_by_owners: false
# Filename for a dump of the projects with enriched information in JSON format.
# Set null to not generate the dump file.
dump_json_file_name: null