{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/567","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/567/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/567/events","html_url":"https://github.com/prometheus/prometheus/pull/567","id":59411150,"number":567,"title":"Support scientific notation and special float values.","user":{"login":"juliusv","id":538008,"avatar_url":"https://avatars.githubusercontent.com/u/538008?v=3","gravatar_id":"","url":"https://api.github.com/users/juliusv","html_url":"https://github.com/juliusv","followers_url":"https://api.github.com/users/juliusv/followers","following_url":"https://api.github.com/users/juliusv/following{/other_user}","gists_url":"https://api.github.com/users/juliusv/gists{/gist_id}","starred_url":"https://api.github.com/users/juliusv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliusv/subscriptions","organizations_url":"https://api.github.com/users/juliusv/orgs","repos_url":"https://api.github.com/users/juliusv/repos","events_url":"https://api.github.com/users/juliusv/events{/privacy}","received_events_url":"https://api.github.com/users/juliusv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-01T18:34:27Z","updated_at":"2015-03-01T21:06:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prometheus/prometheus/pulls/567","html_url":"https://github.com/prometheus/prometheus/pull/567","diff_url":"https://github.com/prometheus/prometheus/pull/567.diff","patch_url":"https://github.com/prometheus/prometheus/pull/567.patch"},"body":"This adds support for scientific notation in the expression language, as\r\nwell as for all possible literal forms of +Inf/-Inf/NaN.\r\n\r\nTODO: Keep enough state in the parser/lexer to distinguish contexts in\r\nwhich \"Inf\", \"NaN\", etc. should be parsed as a number vs. parsed as a\r\nlabel name. Currently, foo{nan=\"bar\"} would be a syntax error. However,\r\nthat is an existing bug for all our reserved words. E.g. foo{sum=\"bar\"}\r\nis a syntax error as well. This should be fixed separately."},"comment":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/comments/76630742","html_url":"https://github.com/prometheus/prometheus/pull/567#issuecomment-76630742","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/567","id":76630742,"user":{"login":"juliusv","id":538008,"avatar_url":"https://avatars.githubusercontent.com/u/538008?v=3","gravatar_id":"","url":"https://api.github.com/users/juliusv","html_url":"https://github.com/juliusv","followers_url":"https://api.github.com/users/juliusv/followers","following_url":"https://api.github.com/users/juliusv/following{/other_user}","gists_url":"https://api.github.com/users/juliusv/gists{/gist_id}","starred_url":"https://api.github.com/users/juliusv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliusv/subscriptions","organizations_url":"https://api.github.com/users/juliusv/orgs","repos_url":"https://api.github.com/users/juliusv/repos","events_url":"https://api.github.com/users/juliusv/events{/privacy}","received_events_url":"https://api.github.com/users/juliusv/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T21:06:49Z","updated_at":"2015-03-01T21:06:49Z","body":"/cc @fabxc because he might be interested"}}