{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/nginx-influxdb-module/issues/14","repository_url":"https://api.github.com/repos/influxdata/nginx-influxdb-module","labels_url":"https://api.github.com/repos/influxdata/nginx-influxdb-module/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/nginx-influxdb-module/issues/14/comments","events_url":"https://api.github.com/repos/influxdata/nginx-influxdb-module/issues/14/events","html_url":"https://github.com/influxdata/nginx-influxdb-module/issues/14","id":365423515,"node_id":"MDU6SXNzdWUzNjU0MjM1MTU=","number":14,"title":"Using tags instead of fields","user":{"login":"yugene","id":877115,"node_id":"MDQ6VXNlcjg3NzExNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/877115?v=4","gravatar_id":"","url":"https://api.github.com/users/yugene","html_url":"https://github.com/yugene","followers_url":"https://api.github.com/users/yugene/followers","following_url":"https://api.github.com/users/yugene/following{/other_user}","gists_url":"https://api.github.com/users/yugene/gists{/gist_id}","starred_url":"https://api.github.com/users/yugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yugene/subscriptions","organizations_url":"https://api.github.com/users/yugene/orgs","repos_url":"https://api.github.com/users/yugene/repos","events_url":"https://api.github.com/users/yugene/events{/privacy}","received_events_url":"https://api.github.com/users/yugene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-01T11:44:26Z","updated_at":"2018-10-01T21:08:58Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\n\r\nIs there any reason to send all the metrics as InfluxDB fields? I guess that the following fields should be sent as tags: method, status, uri, extension, content_type."},"comment":{"url":"https://api.github.com/repos/influxdata/nginx-influxdb-module/issues/comments/426063684","html_url":"https://github.com/influxdata/nginx-influxdb-module/issues/14#issuecomment-426063684","issue_url":"https://api.github.com/repos/influxdata/nginx-influxdb-module/issues/14","id":426063684,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjA2MzY4NA==","user":{"login":"fntlnz","id":3083633,"node_id":"MDQ6VXNlcjMwODM2MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/3083633?v=4","gravatar_id":"","url":"https://api.github.com/users/fntlnz","html_url":"https://github.com/fntlnz","followers_url":"https://api.github.com/users/fntlnz/followers","following_url":"https://api.github.com/users/fntlnz/following{/other_user}","gists_url":"https://api.github.com/users/fntlnz/gists{/gist_id}","starred_url":"https://api.github.com/users/fntlnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fntlnz/subscriptions","organizations_url":"https://api.github.com/users/fntlnz/orgs","repos_url":"https://api.github.com/users/fntlnz/repos","events_url":"https://api.github.com/users/fntlnz/events{/privacy}","received_events_url":"https://api.github.com/users/fntlnz/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T21:08:58Z","updated_at":"2018-10-01T21:08:58Z","author_association":"MEMBER","body":"I've been thinking a bit more about this, and now I remembered the initial reason for which everything was a field here.\r\nThe main reason was that using fields was less expensive on a database point of view (e.g: lower cardinality) while for example different users/configurations will want different combinations of the fields/tags in this case.\r\n\r\nSo, since this module can only be used with `udp` and increasing the length of the line is not a good idea (MTU and udp packets constraints) the idea we had was that if one needs something different than the default configuration she/he can achieve that using telegraf with the [socket listerner input](https://github.com/influxdata/telegraf/tree/release-1.6/plugins/inputs/socket_listener) and [InfluxDB output](https://github.com/influxdata/telegraf/tree/release-1.7/plugins/outputs).\r\n\r\nFor example, to convert fields to tags and vice-versa you can use the [Converter processor](https://github.com/influxdata/telegraf/tree/master/plugins/processors/converter#converter-processor) that's designed to do that and only that.\r\n\r\n\r\n"}}
{"actor":{"display_login":"fntlnz"}}