forked from Yelp/schematizer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
63 lines (56 loc) · 1.92 KB
/
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
#
# Example configuration for services. This configuration file will be included
# in the service repo and should only contain values that apply to all
# environments (dev, stage, prod).
#
# If your configuration requires values which change in each environment see
# config-env-dev.yaml.
#
#
# Packages have their own configuration defined here as a list.
#
# Example 'module_config' entry:
#
# The staticconf namespaced used by the package, usually its name
# - namespace: yelp_package
#
# A config section for inline configuration
# config:
# key: value
#
# A filename of an external file which contains more configuration
# file: '/path/to/a/file'
#
# (optiona) initialize, a function which is called after loading the config
# initialize: 'package.module.initialize_func'
#
topology_path: /nail/srv/configs/topology.yaml
module_config:
- namespace: yelp_pyramid
config:
access_log_name: service_schematizer_requests
error_log_name: stream_service_schematizer_errors
- namespace: clog
initialize: yelp_servlib.clog_util.initialize
config:
log_stream_name: schematizer
file:
/nail/srv/configs/clog.yaml
- namespace: smartstack_services
file: /nail/etc/services/services.yaml
- namespace: yelp_conn
file: /nail/srv/configs/yelp_conn_generic.yaml
initialize: yelp_conn.initialize
config:
connection_wrappers:
- yelp_conn.sqllogger.LoggingConnectionWrapper
enable_zipkin: true
connection_set_file: 'connection_sets.yaml'
- namespace: services
file: /nail/srv/configs/services.yaml
- namespace: yelp_profiling
config:
cprofile_scribe_log: service_schematizer_cprofiles
cprofile_sampling_enabled: true
cprofile_sampling_probability: 0.05
email_smtp_server: 169.254.255.254