{"action":"created","issue":{"url":"https://api.github.com/repos/lonelycode/tyk/issues/29","labels_url":"https://api.github.com/repos/lonelycode/tyk/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/lonelycode/tyk/issues/29/comments","events_url":"https://api.github.com/repos/lonelycode/tyk/issues/29/events","html_url":"https://github.com/lonelycode/tyk/issues/29","id":52868148,"number":29,"title":"Can't see stats in API Activity Dashboard graph ","user":{"login":"rcsousa","id":5196485,"avatar_url":"https://avatars.githubusercontent.com/u/5196485?v=3","gravatar_id":"","url":"https://api.github.com/users/rcsousa","html_url":"https://github.com/rcsousa","followers_url":"https://api.github.com/users/rcsousa/followers","following_url":"https://api.github.com/users/rcsousa/following{/other_user}","gists_url":"https://api.github.com/users/rcsousa/gists{/gist_id}","starred_url":"https://api.github.com/users/rcsousa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcsousa/subscriptions","organizations_url":"https://api.github.com/users/rcsousa/orgs","repos_url":"https://api.github.com/users/rcsousa/repos","events_url":"https://api.github.com/users/rcsousa/events{/privacy}","received_events_url":"https://api.github.com/users/rcsousa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-25T17:09:56Z","updated_at":"2015-03-20T09:11:57Z","closed_at":"2014-12-26T10:30:06Z","body":"Hello , Maybe something I'm doing wrong, but I've just installed tyk version 1.2.1 and dashboard 0.8 on a ubuntu 14.04. Everything seems to be working correctly as I verify the proxy is working correctly ( I can reach my endpoint through tyk) and I can also login the dashboard without problems. I have configured tyk to use use_db_app_configs and managed to create the API from the console.\r\n\r\nSo far so good. tyk starts ok I think: \r\n\r\nTyk.io Gateway API v1.2.1\r\n=======================\r\nCopyright Jively Ltd. 2014\r\nhttp://www.tyk.io\r\n\r\nINFO[0000] No configuration file defined, will try to use default (./tyk.conf) \r\nINFO[0000] Setting up analytics DB connection           \r\nINFO[0000] Using MongoDB cache purge                    \r\nINFO[0000] Connecting to redis on: localhost:6379       \r\nDEBU[0000] Enabling debug-level output                  \r\nListening on port:     8080\r\n\r\n\r\nINFO[0000] Listening on [::]:8080                       \r\nINFO[0000] Using App Configuration from Mongo DB        \r\nDEBU[0000] INITIALISING EVENT HANDLERS                  \r\nINFO[0000] Loading API configurations.                  \r\nINFO[0000] Loading API Spec for: rcsousa                \r\nINFO[0000] Connecting to redis on: localhost:6379       \r\nINFO[0000] Connecting to redis on: localhost:6379       \r\nINFO[0010] Not connected to analytics store, connecting... \r\nDEBU[0112] Setting key: analytics-2014122516-422c9f6e-fddd-439f-73d0-43099ea0d014 \r\nDEBU[0122] Setting key: analytics-2014122516-bccee697-89cb-4941-4786-8c5155761bfb \r\nDEBU[0133] Setting key: analytics-2014122516-1ca6b565-2576-40dd-44ab-d6c85c66276d \r\nDEBU[0308] Setting key: analytics-2014122516-4f021902-85ff-4852-4577-9fa88a81cc54 \r\nDEBU[0827] Setting key: analytics-2014122516-524f35a2-f0ae-4d07-485e-5be3d4e36578 \r\nDEBU[0846] Setting key: analytics-2014122516-c455b1b3-2e55-4adf-5b2b-f321c7db7a95 \r\nDEBU[0975] Setting key: analytics-2014122516-1396192c-c8ac-4688-6fb0-4a363d4536e7 \r\nDEBU[1058] Setting key: analytics-2014122516-cc3781a2-cc65-4f35-7207-662d413d951a \r\nDEBU[1073] Setting key: analytics-2014122516-0f6d9753-58ad-47f6-657d-e28ef383c467 \r\nDEBU[1269] Setting key: analytics-2014122516-7fbe5842-4505-4fcf-5b77-7afff22cbf84\r\n\r\nand as you can see, statistics are being correctly add to the Mongodb collection.\r\n\r\n> show dbs\r\nlocal\t0.03125GB\r\ntest\t(empty)\r\ntyk_analytics\t0.0625GB\r\n> use tyk_analytics\r\nswitched to db tyk_analytics\r\n> show collections\r\nsystem.indexes\r\ntyk_analytics\r\ntyk_analytics_users\r\ntyk_apis\r\ntyk_organisations\r\n> db.tyk_analytics.count()\r\n31\r\n> db.tyk_analytics.findOne()\r\n{\r\n\t\"_id\" : ObjectId(\"549c30c5e3eb809beead5f13\"),\r\n\t\"method\" : \"GET\",\r\n\t\"path\" : \"\",\r\n\t\"contentlength\" : NumberLong(0),\r\n\t\"useragent\" : \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36\",\r\n\t\"day\" : 25,\r\n\t\"month\" : 12,\r\n\t\"year\" : 2014,\r\n\t\"hour\" : 15,\r\n\t\"responsecode\" : 200,\r\n\t\"apikey\" : \"\",\r\n\t\"timestamp\" : ISODate(\"2014-12-25T15:44:02.614Z\"),\r\n\t\"apiversion\" : \"Non Versioned\",\r\n\t\"apiname\" : \"rcsousa API\",\r\n\t\"apiid\" : \"1\",\r\n\t\"orgid\" : \"default\",\r\n\t\"oauthid\" : \"\"\r\n}\r\n\r\n\r\nAlthough everything seems to be ok.. I can't see any changes in the dashboard ... It's like there's no data to display \r\n\r\nKind regards, \r\n\r\nRicardo"},"comment":{"url":"https://api.github.com/repos/lonelycode/tyk/issues/comments/83960610","html_url":"https://github.com/lonelycode/tyk/issues/29#issuecomment-83960610","issue_url":"https://api.github.com/repos/lonelycode/tyk/issues/29","id":83960610,"user":{"login":"toringe","id":1675967,"avatar_url":"https://avatars.githubusercontent.com/u/1675967?v=3","gravatar_id":"","url":"https://api.github.com/users/toringe","html_url":"https://github.com/toringe","followers_url":"https://api.github.com/users/toringe/followers","following_url":"https://api.github.com/users/toringe/following{/other_user}","gists_url":"https://api.github.com/users/toringe/gists{/gist_id}","starred_url":"https://api.github.com/users/toringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toringe/subscriptions","organizations_url":"https://api.github.com/users/toringe/orgs","repos_url":"https://api.github.com/users/toringe/repos","events_url":"https://api.github.com/users/toringe/events{/privacy}","received_events_url":"https://api.github.com/users/toringe/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T09:11:57Z","updated_at":"2015-03-20T09:11:57Z","body":"Ah, now it works! Thank you!"}}