-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.yml
More file actions
64 lines (57 loc) · 1.63 KB
/
Copy pathconfig.yml
File metadata and controls
64 lines (57 loc) · 1.63 KB
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
# Insights On-Premise Configuration
service:
postgres_host: localhost
postgres_port: 5432
postgres_db: insights
postgres_user: insights
postgres_password: insights
max_file_size: 104857600 # 100MB in bytes
temp_upload_dir: /tmp/insights-uploads
extract_timeout_seconds: 300
format: ccx_ocp_core.core.formats.json.OCPRecommendationsJsonFormat
# Target components to run (empty list means run all single-node components)
# Uses dr.COMPONENTS[dr.GROUPS.single] if empty
target_components: []
# Maximum unpacked archive size (-1 for unlimited)
unpacked_archive_size_limit: -1
# Database cleanup (all tables)
db_retention_hours: 24
db_cleanup_interval_minutes: 60
# Thanos configuration
thanos_url: https://rbac-query-proxy.open-cluster-management-observability.svc.cluster.local:8443
thanos_query_timeout_seconds: 10
thanos_query_lookback_minutes: 60
plugins:
packages:
- ccx_rules_ocp.external
configs:
- name: ccx_ocp_core.config.telemeter.TelemeterServiceConfig
enabled: false
# Logging configuration
logging:
version: 1
disable_existing_loggers: false
handlers:
default:
level: DEBUG
class: logging.StreamHandler
stream: ext://sys.stdout
formatter: brief
formatters:
brief:
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
json:
format: "%(filename)s %(lineno)d %(process)d %(levelname)s %(asctime)s %(name)s %(message)s"
root:
level: INFO
handlers:
- default
loggers:
insights:
level: WARNING
insights.core.dr:
level: ERROR
sqlalchemy.engine:
level: DEBUG
app:
level: DEBUG