-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.yaml
66 lines (65 loc) · 2.05 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
64
65
66
plugins:
packages:
- ccx_rules_ocp.external.dvo
- dvo_extractor
- insights.specs.default
- pythonjsonlogger
- pythonjsonlogger.jsonlogger
service:
extract_timeout:
extract_tmp_dir:
format: ccx_ocp_core.core.formats.json.OCPRecommendationsJsonFormat
target_components: []
consumer:
name: ccx_messaging.consumers.kafka_consumer.KafkaConsumer
kwargs:
incoming_topic: ${CDP_INCOMING_TOPIC:platform.upload.buckit}
platform_service: ${CDP_PLATFORM_SERVICE:openshift}
group.id: ${CDP_GROUP_ID:dvo_extractor_app}
bootstrap.servers: ${CDP_CONSUMER_SERVER:["10.34.129.172:9092"]}
processing_timeout_s: 0
max.poll.interval.ms: 600000
heartbeat.interval.ms: 10000
session.timeout.ms: 20000
dead_letter_queue_topic: ${CDP_DEAD_LETTER_QUEUE_TOPIC:dead.letter.queue}
downloader:
name: ccx_messaging.downloaders.http_downloader.HTTPDownloader
kwargs:
max_archive_size: 100MiB
publisher:
name: ccx_messaging.publishers.dvo_metrics_publisher.DVOMetricsPublisher
kwargs:
outgoing_topic: ${CDP_OUTGOING_TOPIC:ccx.ocp.results}
bootstrap.servers: ${CDP_PUBLISHER_SERVER:["10.34.129.172:9092"]}
compression: gzip
watchers:
- name: ccx_messaging.watchers.cluster_id_watcher.ClusterIdWatcher
logging:
version: 1
disable_existing_loggers: false
handlers:
default:
level: DEBUG
class: logging.StreamHandler
stream: ext://sys.stdout
formatter: json
formatters:
brief:
format: "%(message)s"
json:
(): "pythonjsonlogger.jsonlogger.JsonFormatter"
format: "%(filename)s %(lineno)d %(process)d %(levelname)s %(asctime)s %(name)s %(message)s"
cloudwatch:
format: "%(filename)s %(levelname)s %(asctime)s %(name)s %(hostname)s %(mac_address)s %(message)s"
root:
handlers:
- default
loggers:
insights_messaging:
level: DEBUG
ccx_messaging:
level: DEBUG
insights:
level: WARNING
dvo_extractor:
level: DEBUG