{"action":"created","issue":{"url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/864","repository_url":"https://api.github.com/repos/OpenTSDB/opentsdb","labels_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/864/comments","events_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/864/events","html_url":"https://github.com/OpenTSDB/opentsdb/issues/864","id":175713920,"number":864,"title":"The option auto-metric didn't work","user":{"login":"leell","id":22073473,"avatar_url":"https://avatars.githubusercontent.com/u/22073473?v=3","gravatar_id":"","url":"https://api.github.com/users/leell","html_url":"https://github.com/leell","followers_url":"https://api.github.com/users/leell/followers","following_url":"https://api.github.com/users/leell/following{/other_user}","gists_url":"https://api.github.com/users/leell/gists{/gist_id}","starred_url":"https://api.github.com/users/leell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leell/subscriptions","organizations_url":"https://api.github.com/users/leell/orgs","repos_url":"https://api.github.com/users/leell/repos","events_url":"https://api.github.com/users/leell/events{/privacy}","received_events_url":"https://api.github.com/users/leell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenTSDB/opentsdb/labels/question","name":"question","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-08T10:02:45Z","updated_at":"2016-09-18T01:36:15Z","closed_at":null,"body":"I start the TSDB with following commond in opentsdb.conf:\r\n`tsd.core.auto_create_metrics = true`\r\nHowever, when I am trying to add new datapoint, a exception shows No such name for 'metrics'.\r\nI used `import  /usr/local/opentsdb/test/test1` to add datapoint. And the  contents of test1 is:\r\n`testMetric 1473257777 12 testTag=lll`\r\nThe exception is as follow.\r\nException in thread \"main\" net.opentsdb.uid.NoSuchUniqueName: No such name for 'metrics': 'testMetric'\r\n\tat net.opentsdb.uid.UniqueId$1GetIdCB.call(UniqueId.java:315)\r\n\tat net.opentsdb.uid.UniqueId$1GetIdCB.call(UniqueId.java:312)\r\n\tat com.stumbleupon.async.Deferred.doCall(Deferred.java:1278)\r\n\tat com.stumbleupon.async.Deferred.runCallbacks(Deferred.java:1257)\r\n\r\nI also trid to start the TSDB  using the following command.\r\n`./build/tsdb tsd  --auto-metric=true`\r\nBut it didn't work either.\r\n\r\nPlease help me with this.\r\n\r\nMany thanks,\r\n\r\nLee"},"comment":{"url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/comments/247818510","html_url":"https://github.com/OpenTSDB/opentsdb/issues/864#issuecomment-247818510","issue_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/864","id":247818510,"user":{"login":"manolama","id":1377700,"avatar_url":"https://avatars.githubusercontent.com/u/1377700?v=3","gravatar_id":"","url":"https://api.github.com/users/manolama","html_url":"https://github.com/manolama","followers_url":"https://api.github.com/users/manolama/followers","following_url":"https://api.github.com/users/manolama/following{/other_user}","gists_url":"https://api.github.com/users/manolama/gists{/gist_id}","starred_url":"https://api.github.com/users/manolama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manolama/subscriptions","organizations_url":"https://api.github.com/users/manolama/orgs","repos_url":"https://api.github.com/users/manolama/repos","events_url":"https://api.github.com/users/manolama/events{/privacy}","received_events_url":"https://api.github.com/users/manolama/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T01:36:15Z","updated_at":"2016-09-18T01:36:15Z","body":"Hm, which distro are you using and which version? I haven't run into this issue yet. You may want to check the file permissions on the log files as well as maybe they were created but the TSD isn't writing. "}}
{"actor":{"display_login":"manolama"}}