{"action":"closed","issue":{"url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/161","repository_url":"https://api.github.com/repos/influxdata/influxdb-ruby","labels_url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/161/comments","events_url":"https://api.github.com/repos/influxdata/influxdb-ruby/issues/161/events","html_url":"https://github.com/influxdata/influxdb-ruby/issues/161","id":174951902,"number":161,"title":"Weird issue /w missing metrics","user":{"login":"emilebosch","id":303135,"avatar_url":"https://avatars.githubusercontent.com/u/303135?v=3","gravatar_id":"","url":"https://api.github.com/users/emilebosch","html_url":"https://github.com/emilebosch","followers_url":"https://api.github.com/users/emilebosch/followers","following_url":"https://api.github.com/users/emilebosch/following{/other_user}","gists_url":"https://api.github.com/users/emilebosch/gists{/gist_id}","starred_url":"https://api.github.com/users/emilebosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilebosch/subscriptions","organizations_url":"https://api.github.com/users/emilebosch/orgs","repos_url":"https://api.github.com/users/emilebosch/repos","events_url":"https://api.github.com/users/emilebosch/events{/privacy}","received_events_url":"https://api.github.com/users/emilebosch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-04T14:37:35Z","updated_at":"2016-09-05T21:47:02Z","closed_at":"2016-09-05T21:47:02Z","body":"Ok, im running rails 5 /w puma and `influxdb-ruby`. It seems that i'm missing metrics. When testing with apache AB, and the influxdb my metrics do not seem to add up with the count from the test with AB.\r\n\r\nFor instance.\r\n\r\n```\r\nab -n 1000 http://www.testapp.dev:8000/\r\n```\r\n\r\nDoesn't result in 1000 data points. When i run the `influxdb-ruby` gem outside of rails and do a \r\n```\r\nrequire 'influxdb'\r\n\r\nhost = '127.0.0.1'\r\nport = 4444\r\n\r\ninfluxdb = InfluxDB::Client.new udp: { host: host, port: port }\r\n\r\n1000.times do |i|\r\n  data = {\r\n    values:    { value: i },\r\n    timestamp: Time.now.to_i\r\n  }\r\n  influxdb.write_point(\"test\", data)\r\nend\r\n```\r\n\r\nthe data does arrive in the influx db. Could there be some thread locking issue /w puma maybe or something else? I can't get it work So now i resorted to just writing to the plain udp port. Which seems to work\r\n\r\n\r\n"}}
{"actor":{"display_login":"dmke"}}