status-im/infra-nim-waku

Missing Swap Protocol Logs on Kibana

Closed this issue · 4 comments

Currently, logs from the Swap protocol are not displayed on Kibana.

Solution:
The solution to this is to enable Swap in the docker-compose.yml file, as stated here:
#573

You should be able to do just do a PR with that command line flag enabled, just as was done for lightpush here #12

cc @jm-clius @jakubgs

@jakubgs it isn't clear to me how we'd distinguish test from prod in that template https://github.com/status-im/infra-nim-waku/blob/master/ansible/roles/nim-waku/templates/docker-compose.yml.j2, might be nice to programmatically specify config used in test vs prod? Especially as we'll want to have some experimental things enabled in test fleet but not in produ fleet

Prod and test are differentiated based on group names. You can just prametrize the flag and then set different values here:

Though I guess currently they look identical. Another way is to have global config but use something like:

nim_waku_swap_protocol_enabled: '{{ stage == "prod" }}'

But since we have separate group files might as well use that.

Deployed: #16 (comment)