[ 
https://issues.apache.org/jira/browse/SLING-11197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Cotescu closed SLING-11197.
--------------------------------

> GraphQLServlet cache hit rate metric produces invalid json
> ----------------------------------------------------------
>
>                 Key: SLING-11197
>                 URL: https://issues.apache.org/jira/browse/SLING-11197
>             Project: Sling
>          Issue Type: Bug
>          Components: GraphQL
>    Affects Versions: GraphQL Core 0.0.12
>            Reporter: Dirk Rudolph
>            Assignee: Dirk Rudolph
>            Priority: Major
>             Fix For: GraphQL Core 0.0.14
>
>
> The GraphQLServlet may produce a NaN for the cache hit rate metric resulting 
> in a hard to parse json. 
>  
> {code:java}
> "sling:org.apache.sling.graphql.core.servlet.GraphQLServlet.rt:my/rt.m:GET_POST.e:json.cache_hit_rate":
>  {
>             "value": NaN
>         }{code}
> NaN is not an allowed value according to https://www.json.org/json-en.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to