-
Notifications
You must be signed in to change notification settings - Fork 95
/
config-test.yml
76 lines (65 loc) · 1.52 KB
/
config-test.yml
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
---
logging:
level: INFO
loggers:
com.comet: DEBUG
database:
url: jdbc:mysql://localhost:3306/opik?createDatabaseIfNotExist=true&rewriteBatchedStatements=true
user: opik
password: opik
driverClass: com.mysql.cj.jdbc.Driver
# For migrations
databaseAnalyticsMigrations:
url: jdbc:clickhouse://localhost:8123/opik
user: opik
password: opik
# Community support only. Requires an old driver for migrations to work
driverClass: ru.yandex.clickhouse.ClickHouseDriver
# For service
databaseAnalytics:
protocol: HTTP
host: localhost
port: 8123
username: opik
password: opik
databaseName: opik
queryParameters: health_check_interval=2000&compress=1&auto_discovery=true&failover=3
health:
healthCheckUrlPaths: [ "/health-check" ]
healthChecks:
- name: deadlocks
critical: true
type: alive
- name: db
critical: true
type: ready
- name: redis
critical: true
type: ready
- name: clickhouse
critical: true
type: ready
- name: mysql
critical: true
type: ready
distributedLock:
lockTimeout: 500
redis:
singleNodeUrl:
authentication:
enabled: ${AUTH_ENABLED:-false}
apiKeyResolutionCacheTTLInSec: ${AUTH_API_KEY_RESOLUTION_CACHE_TTL_IN_SEC:-0} #0 means no cache
sdk:
url: ${AUTH_SDK_URL:-''}
ui:
url: ${AUTH_UI_URL:-''}
server:
enableVirtualThreads: ${ENABLE_VIRTUAL_THREADS:-false}
gzip:
enabled: true
rateLimit:
enabled: false
usageReport:
enabled: false
metadata:
version: ${OPIK_VERSION:-latest}