-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yml
68 lines (58 loc) · 1.89 KB
/
config.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
## log level
log: debug
cron:
## how often should the `delete-http` command run
ttl: "48h"
## Do soft deletes or actually wipe them off the database
soft_deletes: false
tui:
## the color_scheme to use for the request body
# see https://github.com/alecthomas/chroma/tree/master/styles
color_scheme: monokai
ssh:
## port to run ssh server on
port: 2222
## allow_list is a list of public keys that can connect to the ssh server
# this is useful if you were running a private instance for a few coworkers or friends
allow_list:
- ./.ssh/id_rsa.pub
- /Users/lanreadelowo/.ssh/id_rsa.pub
## keys for the ssh server
identities:
- "id_ed25519"
http:
## port to run http server on
port: 4200
## what domain name you want to use?
domain: http://localhost:4200
## rate limiting clients
rate_limit:
## limit the number of ingested requests from a specific client
requests_per_minute: 10
## database configuration. postgres essentially
database:
## database dsn
dsn: postgres://sdump:sdump@localhost:3432/sdump?sslmode=disable
## should we log sql queries? In prod, no but in local mode, you probably want to
log_queries: true
# limit the size of jSON request body that can be sent to endpoints
max_request_body_size: 500
## Opentelemetry and tracing config
otel:
## does OTEL endpoint have tls enabled?
use_tls: true
## custom name you want to use to identify the service
service_name: SDUMP
## OTEL Endpoint
endpoint: http://localhost:4200
## Should we trace all http and DB requests
is_enabled: false
## Prometheus configuration
prometheus:
## protect your /metrics endpoint with basic auth
## if provided, password must also be provided too
username: sdump
## basic auth password for your /metrics
password: sdump
## enable /metrics endpoint and metrics collection?
is_enabled: true