Add hs-opentelemetry - #1519
Conversation
|
Tick the box to add this pull request to the merge queue (same as
|
|
while telemetry could be useful, I think that |
4866edb to
e9bb406
Compare
e9bb406 to
004f0d3
Compare
|
I think logging/monitoring would be great to have, even if the project is under-maintained. But since I do not work on deployments, I will defer to @gbaz on whether this is the right direction. |
|
@phadej: very reasonable point. Would hiding it behind a default-off flag assuage some fears here? The reason I ask is that I'm in the middle of chicken-and-egg situation here; I'm trying to get enough data in order to determine if hackage-server-v3 can meaningfully move the needle. Which if it does, is a good argument to continue moving forwards on it. Maybe we could gather this information from logs on the existing load balancer / reverse proxy? Perhaps @gbaz would know? |
This PR adds an
--enable-opentelemetryflag which, when enabled, turns on telemetry around hackage-server's router.The purpose here is to start collecting traces and get real data on which routes get used in production, and how expensive each is.