Repository navigation
Expand file tree
/
Copy pathmonitor-query-service.example.json
More file actions
66 lines (66 loc) · 1.96 KB
/
Copy pathmonitor-query-service.example.json
File metadata and controls
66 lines (66 loc) · 1.96 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
65
66
{
"schema": "bt_api_py.monitor_query_service.v1",
"service_config": {
"service_config_schema_version": 1,
"process_role": "service",
"service_id": "monitor-query-service",
"scope_ref": "monitor-query-scope-v1",
"transport_ref": "monitor-query-listener",
"registration_policy_ref": "monitor-query-registration-v1",
"service_requirements_ref": "monitor-query-requirements-v1",
"components": {
"monitor": {
"config_schema_version": 2,
"settings": {
"instance_id": "monitor-query-service",
"bind_ports": ["service.monitor_query"],
"options": {
"role": "observation_query",
"epoch": 1,
"retention_floor_sequence": 0,
"cursor_ttl_seconds": 300
}
}
}
},
"communication": {
"config_schema_version": 1,
"profiles": {
"monitor-query-listener": {
"backend": "zmq",
"config_schema_version": 1,
"endpoints": {"rpc_bind": "tcp://127.0.0.1:7605"},
"security_profile_ref": "monitor-query-server"
}
}
}
},
"scope": {
"execution_domain_ref": "paper:example",
"account_ref": "synthetic-account"
},
"service_identity": {
"principal_ref": "monitor-query-service-principal",
"actor_ref": "monitor-query-service"
},
"client_identity": {
"principal_ref": "bt-api-web-monitor",
"actor_ref": "bt-api-web"
},
"keys": {
"server_public_key_file": "./keys/monitor-query-server.public",
"server_secret_key_file": "./keys/monitor-query-server.secret",
"client_public_key_file": "./keys/bt-api-web-monitor.public",
"hmac_key_hex_file": "./keys/monitor-observation.hmac.hex"
},
"storage": {
"events_db": "../data/events.sqlite",
"registry_path": "./data/monitor-query-registry.sqlite",
"outbox_scope": "events",
"event_types": [
"runtime.status",
"runtime.unit.status",
"gateway.heartbeat"
]
}
}