{"action":"opened","issue":{"url":"https://api.github.com/repos/CA-APM/ca-apm-fieldpack-docker/issues/4","repository_url":"https://api.github.com/repos/CA-APM/ca-apm-fieldpack-docker","labels_url":"https://api.github.com/repos/CA-APM/ca-apm-fieldpack-docker/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/CA-APM/ca-apm-fieldpack-docker/issues/4/comments","events_url":"https://api.github.com/repos/CA-APM/ca-apm-fieldpack-docker/issues/4/events","html_url":"https://github.com/CA-APM/ca-apm-fieldpack-docker/issues/4","id":187362765,"number":4,"title":"Invalid metric value","user":{"login":"maddop","id":9298980,"avatar_url":"https://avatars.githubusercontent.com/u/9298980?v=3","gravatar_id":"","url":"https://api.github.com/users/maddop","html_url":"https://github.com/maddop","followers_url":"https://api.github.com/users/maddop/followers","following_url":"https://api.github.com/users/maddop/following{/other_user}","gists_url":"https://api.github.com/users/maddop/gists{/gist_id}","starred_url":"https://api.github.com/users/maddop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddop/subscriptions","organizations_url":"https://api.github.com/users/maddop/orgs","repos_url":"https://api.github.com/users/maddop/repos","events_url":"https://api.github.com/users/maddop/events{/privacy}","received_events_url":"https://api.github.com/users/maddop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T15:26:57Z","updated_at":"2016-11-04T15:26:57Z","closed_at":null,"body":"Hi,\r\nWe are using the fieldpack on RHEL7.1 with Docker 1.8.2-el7 on epagent 10.1 \r\n\r\nIt appears to be producing an invalid metric value error:\r\n\r\n```\r\nResponse:\r\n{\r\n    \"errorCode\": 1010,\r\n    \"validCount\": 387,\r\n    \"invalidCount\": 1,\r\n    \"errorMessage\": \"One or more metric specifications were invalid\",\r\n    \"metricErrors\": [\r\n        {\r\n            \"metricErrorCode\": 1013,\r\n            \"metricErrorMsg\": \"Invalid metric value\",\r\n            \"metricErrorIndex\": 1,\r\n            \"metricName\": \"Docker|<<OUR HOSTNAME>>:Total Memory\"\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nIf i enable the the debug line in writeMetrics :\r\n\r\n`print('type of {} is {}, name = {}, value = {}'.format(key, type(values[key]), name, values[key]))`\r\n\r\nIt prints out what you would expect:\r\n\r\n`type of MemTotal is <type 'int'>, name = :Total Memory, value = 7835488256`\r\n\r\nHowever, it continues to print the above error.\r\n\r\nThe metric is greyed out in the webview investigator.\r\nAny thoughts?"}}
{"actor":{"display_login":"maddop"}}