Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions k8s/bootstrap/deployment.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,14 @@ spec:
value: 12GiB
- name: IPFS_TELEMETRY
value: "off"
# kubo logs only errors by default. Info adds libp2p's and the
# DHT's warnings and info lines, which ProbeLab asked us to ship
# for them; it has no per-connection peer IDs or agent versions.
# ProbeLab counts the distinct peers and agent versions that reach
# the bootstrappers. kubo's peerlog plugin (Plugins in
# roles/bootstrap/files/kubo-config.json) logs both, with no IPs,
# at info whatever this level says. Info for everything else added
# relay lines, 90% of the volume, and no agent versions.
# JSON, as on needle, so Loki can parse the fields.
- name: GOLOG_LOG_LEVEL
value: info
value: error
- name: GOLOG_LOG_FMT
value: json
# RPC bearer token for probes and CLI calls (kubo's --api-auth takes
Expand Down
8 changes: 7 additions & 1 deletion roles/bootstrap/files/kubo-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,13 @@
"RemoteServices": {}
},
"Plugins": {
"Plugins": null
"Plugins": {
"peerlog": {
"Config": {
"Enabled": true
}
}
}
},
"Provide": {
"DHT": {},
Expand Down
Loading