{"action":"created","issue":{"url":"https://api.github.com/repos/vivekratnavel/omniboard/issues/178","repository_url":"https://api.github.com/repos/vivekratnavel/omniboard","labels_url":"https://api.github.com/repos/vivekratnavel/omniboard/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/vivekratnavel/omniboard/issues/178/comments","events_url":"https://api.github.com/repos/vivekratnavel/omniboard/issues/178/events","html_url":"https://github.com/vivekratnavel/omniboard/issues/178","id":545431187,"node_id":"MDU6SXNzdWU1NDU0MzExODc=","number":178,"title":"Error when adding metric column - unrecognized expression $average","user":{"login":"lotsoffood","id":55196942,"node_id":"MDQ6VXNlcjU1MTk2OTQy","avatar_url":"https://avatars1.githubusercontent.com/u/55196942?v=4","gravatar_id":"","url":"https://api.github.com/users/lotsoffood","html_url":"https://github.com/lotsoffood","followers_url":"https://api.github.com/users/lotsoffood/followers","following_url":"https://api.github.com/users/lotsoffood/following{/other_user}","gists_url":"https://api.github.com/users/lotsoffood/gists{/gist_id}","starred_url":"https://api.github.com/users/lotsoffood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lotsoffood/subscriptions","organizations_url":"https://api.github.com/users/lotsoffood/orgs","repos_url":"https://api.github.com/users/lotsoffood/repos","events_url":"https://api.github.com/users/lotsoffood/events{/privacy}","received_events_url":"https://api.github.com/users/lotsoffood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2020-01-05T15:24:42Z","updated_at":"2020-01-06T19:41:30Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI have multiple different experiments (with different metrics for each experiment) being written into a MongoDB (4.0.5) database with Omniboard (2.4.3) running as well. When trying to add a metric column (choose a name, metric, and \"average\"), I get an error in the web interface: `Error: Undefined`. The trace looks like:\r\n\r\n```\r\nMongoError: Unrecognized expression '$average'\r\n    at Connection.<anonymous> (/usr/lib/node_modules/omniboard/node_modules/mongoose/node_modules/mongodb/lib/core/connection/pool.js:460:61)\r\n    at Connection.emit (events.js:188:13)\r\n    at processMessage (/usr/lib/node_modules/omniboard/node_modules/mongoose/node_modules/mongodb/lib/core/connection/connection.js:368:10)\r\n    at Socket.<anonymous> (/usr/lib/node_modules/omniboard/node_modules/mongoose/node_modules/mongodb/lib/core/connection/connection.js:537:15)\r\n    at Socket.emit (events.js:188:13)\r\n    at addChunk (_stream_readable.js:288:12)\r\n    at readableAddChunk (_stream_readable.js:269:11)\r\n    at Socket.Readable.push (_stream_readable.js:224:10)\r\n    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:145:17)\r\n```\r\n\r\nAny thoughts on a potential fix?"},"comment":{"url":"https://api.github.com/repos/vivekratnavel/omniboard/issues/comments/571282956","html_url":"https://github.com/vivekratnavel/omniboard/issues/178#issuecomment-571282956","issue_url":"https://api.github.com/repos/vivekratnavel/omniboard/issues/178","id":571282956,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MTI4Mjk1Ng==","user":{"login":"vivekratnavel","id":1051198,"node_id":"MDQ6VXNlcjEwNTExOTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1051198?v=4","gravatar_id":"","url":"https://api.github.com/users/vivekratnavel","html_url":"https://github.com/vivekratnavel","followers_url":"https://api.github.com/users/vivekratnavel/followers","following_url":"https://api.github.com/users/vivekratnavel/following{/other_user}","gists_url":"https://api.github.com/users/vivekratnavel/gists{/gist_id}","starred_url":"https://api.github.com/users/vivekratnavel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivekratnavel/subscriptions","organizations_url":"https://api.github.com/users/vivekratnavel/orgs","repos_url":"https://api.github.com/users/vivekratnavel/repos","events_url":"https://api.github.com/users/vivekratnavel/events{/privacy}","received_events_url":"https://api.github.com/users/vivekratnavel/received_events","type":"User","site_admin":false},"created_at":"2020-01-06T19:41:30Z","updated_at":"2020-01-06T19:41:30Z","author_association":"OWNER","body":"@lotsoffood If you are having trouble navigating around Mongo, give mongo express a try - https://github.com/mongo-express/mongo-express#readme"}}
{"actor":{"display_login":"vivekratnavel"}}