Merge pull request #5544 from jberryman/08-06-2020-telemetry-fixup

Fix telemetry reporting of transport (websocket was reported as http)
This commit is contained in:
Brandon Simmons 2020-08-06 17:54:17 -04:00 committed by GitHub
commit 788d8678a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,7 +352,7 @@ onStart env serverEnv wsConn (StartMsg opId q) = catchAndIgnore $ do
E.GExPRemote rsi opDef ->
runRemoteGQ timerTot telemCacheHit execCtx requestId userInfo reqHdrs opDef rsi
where
telemTransport = Telem.HTTP
telemTransport = Telem.WebSocket
runHasuraGQ
:: ExceptT () m DiffTime
-> Telem.CacheHit