MM-45536: Track GraphQL queries in Grafana (#20609)
https://mattermost.atlassian.net/browse/MM-45536 ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ad181532af
Коммит
b0327c2953
@@ -101,6 +101,8 @@ func (api *API) graphQL(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
c.GraphQLOperationName = params.OperationName
|
||||
|
||||
// Populate the context with required info.
|
||||
reqCtx := r.Context()
|
||||
reqCtx = context.WithValue(reqCtx, webCtx, c)
|
||||
|
||||
Ссылка в новой задаче
Block a user