Repository navigation
Expand file tree
/
Copy pathnode.json
More file actions
39 lines (36 loc) · 1.7 KB
/
Copy pathnode.json
File metadata and controls
39 lines (36 loc) · 1.7 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
{
// Reference node config for a public-internet GoodNet deployment.
// Drop into /etc/goodnet/node.json and adjust limits to taste.
// Every `limits.*` field has a built-in default per the active
// profile; only override the ones you intentionally want to bend.
// See `docs/contracts/config.en.md` for the full schema and
// `docs/install.en.md` for deployment guidance.
// Profile selects the per-field default baseline. Two profiles
// are defined:
// "embedded" — small device, ≤ 64 conns, no relay, low memory.
// "server" — public-internet node, default for systemd.
// Switch profiles by replacing this key; every unset limit then
// snaps to the new baseline.
"profile": "server",
// Logging. `log.level` filters the kernel logger overall;
// `log.console_level` filters the colored stdout sink only and
// overrides the build-aware default (Release pins WARN as a noise
// filter, Debug carries everything). Set both to "info" on a
// production Release deployment to see kernel startup markers.
// Add `log.file` for a rotating-file sink alongside the console.
// See `core/util/log_config.cpp` for the full key set.
"log": {
"level": "info",
"console_level": "info"
},
// Limits override block. Most operators run with profile defaults;
// entries here are common overrides plus the metrics cardinality
// cap which has no per-profile default.
"limits": {
// Metrics cardinality (metrics.en.md §2.1). 0 disables; reject-new
// past cap bumps `metrics.cardinality_rejected`. 8192 covers a
// typical exporter scrape; tune up only if you've audited the
// actual counter names your plugins emit.
"max_counter_names": 8192
}
}