Marcin Rataj
Marcin Rataj
`main-2023-02-18-d66784d` prints the same prometheus error i've seen years ago while working on subdomain gateways in go-ipfs: ``` 2023/02/18 01:29:30 http: superfluous response.WriteHeader call from github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:65) ``` iirc this...
This is meta-issue about useful metrics in bifrost-gateway. We may ship only a subset of the below for the project Rhea. # Overview The `go-libipfs/gateway` library will provide some visibility...
TBD, maybe just drop seciton in readme? So fer: - Gateway Specs: https://github.com/ipfs/specs/ - Gateway Implementation errors: https://github.com/ipfs/go-libipfs/ - Saturn errors: - L1 errors: https://github.com/filecoin-saturn/L1-node - Orch errors: https://github.com/filecoin-saturn/orchestrator -...
(iiuc) an incoming request for `/ipfs/cid/subpath/file?format=raw` is translated to backend request for `/ipfs/cid/subpath/file?format=car&dag-scope=block` and the returned CAR includes blocks for traversing `/cid` → `/subpath` and then the root block of...
Starting `staging-2023-05-22-1764d6c` prints: ``` 2023/05/22 14:19:41 proto: duplicate proto type registered: merkledag.pb.PBLink 2023/05/22 14:19:41 proto: duplicate proto type registered: merkledag.pb.PBNode ```
bifrost-gateway runs with in-memory [2Q cache](https://pkg.go.dev/github.com/hashicorp/golang-lru/v2#TwoQueueCache) with size set to 1024 blocks. > 2Q is an enhancement over the standard LRU cache in that it tracks both frequently and recently...
## TODO This feature may be useful enough to be promoted upstream: - [x] support timing info from caboose support in https://github.com/ipfs/bifrost-gateway/pull/71. - [ ] add gateway-related timing here -...
``` 2023/02/20 14:08:03 http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see golang.org/issue/25192 2023/02/20 14:08:36 http: URL...
To avoid bugs like https://github.com/ipfs/go-libipfs/issues/162 we need to have regression test for every gateway metric fro go-libipfs. We should also have `./docs/METRICS.md` which explains what is exposed and why (reuse...
Explorer should show `mtime` and `mode` when present in `dag-pb`, to make it easy to spot difference in optional metadata. Right now two CIDs can have the same files but...