You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dirk Rudolph (Jira)" <ji...@apache.org> on 2022/03/11 12:18:00 UTC
[jira] [Assigned] (SLING-11197) GraphQLServlet cache hit rate metric produces invalid json
[ https://issues.apache.org/jira/browse/SLING-11197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dirk Rudolph reassigned SLING-11197:
------------------------------------
Assignee: Dirk Rudolph
> 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
>
> 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.1#820001)