{"id":15056449,"url":"https://github.com/tkyshm/efluentc","last_synced_at":"2025-04-10T04:10:34.401Z","repository":{"id":57493858,"uuid":"109471685","full_name":"tkyshm/efluentc","owner":"tkyshm","description":"efluentc is the Client OTP application for Fluentd","archived":false,"fork":false,"pushed_at":"2018-07-08T08:42:00.000Z","size":19,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-09-16T23:10:43.653Z","etag":null,"topics":["erlang","fluentd","fluentd-logger"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkyshm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-04T06:12:51.000Z","updated_at":"2019-09-30T06:27:29.000Z","dependencies_parsed_at":"2022-08-30T04:01:41.518Z","dependency_job_id":null,"html_url":"https://github.com/tkyshm/efluentc","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fefluentc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fefluentc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fefluentc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fefluentc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkyshm","download_url":"https://codeload.github.com/tkyshm/efluentc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154986,"owners_count":21056543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["erlang","fluentd","fluentd-logger"],"created_at":"2024-09-24T21:51:33.872Z","updated_at":"2025-04-10T04:10:34.378Z","avatar_url":"https://github.com/tkyshm.png","language":"Erlang","readme":"[![hex.pm version](https://img.shields.io/hexpm/v/ltsv.svg)](https://hex.pm/packages/efluentc)\n[![Build Status](https://travis-ci.org/tkyshm/efluentc.svg?branch=master)](https://travis-ci.org/tkyshm/efluentc)\n\n[efluentc](https://hex.pm/packages/efluentc)\n=====\n\n\nefluentc is the Client OTP application for Fluentd.\n\nefluentc design is to make it more faster to send some messages which are buffered at a time, and reduce count of transmission.\n\nIf you can see performance degration that is casued by burst traffic,\nI'd recommend increasing concurrency of fluent clients.\n\nefluentc has interval to flush messages and buffer size, and you can adjust theses.\nIt is recommeneded that theses parameters are set appropriate value according to your application flow rate.\n\nAvailable parameters below:\n\nname          | default   | description\n------------- | --------- | ----------------------------------------------------------\nworker_size   | 2         | send of concurrency\nflush_timeout | 50        | interval of flushing buffered data (msec)\nbuffer_size   | 10KB      | if over buffer size, flush all buffered data\nhost          | localhost | fluentd host name\nport          | 24224     | fluentd port number\n\nsample(app.config):\n\n```erlang\n[\n  {efluentc, [{worker_size, 10},      % 10 workers\n              {fluesh_timeout, 500},  % 500msec\n              {buffer_size, 1048576}, % 1MiB\n              {host, localhost},\n              {port, 24224}]}\n]\n\n```\n\nUsage\n====\n\nadd rebar.config:\n\n```\n{efluentc, \"0.1.0\"}\n```\n\nefluentc api:\n```\n\u003e efluentc:post(\u003c\u003c\"test.tag\"\u003e\u003e, \u003c\u003c\"message\"\u003e\u003e).\nok\n\n\u003e efluentc:post('test.tag', \u003c\u003c\"message\"\u003e\u003e).\nok\n\n\u003e efluentc:post('test.tag', \"message\").\nok\n\n\u003e efluentc:post('test.tag', #{\u003c\u003c\"key\"\u003e\u003e =\u003e \u003c\u003c\"value\"\u003e\u003e}).\nok\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkyshm%2Fefluentc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkyshm%2Fefluentc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkyshm%2Fefluentc/lists"}