A generic way to turn Haskell structs into json objects, and therefor to otel attributes. I don’t know how to make it so I can give anything where Rep implements that thing a `toOtelJsonAttr` implementation, things overlap too much if I do that … Change-Id: Iededb697dff206ddc6481a2eead210d44faa70c9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13006 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI |
||
|---|---|---|
| .. | ||
| services | ||
| src | ||
| .gitignore | ||
| build.ninja | ||
| default.nix | ||
| Main.hs | ||
| notes.org | ||
| README.md | ||
| server-notes.org | ||
| whatcd-resolver.cabal | ||
whatcd-resolver
To run:
ninja run-services
in one terminal (starts the background tasks)
ninja run
to start the server. It runs on 9092.
You need to be in the nix-shell in ./...
You need to set the pass key internet/redacted/api-keys/whatcd-resolver to an API key for RED.
You need to have a transmission-rpc-daemon listening on port 9091 (no auth, try ssh port forwarding lol).