{"id":31881269,"url":"https://github.com/itkq/fluent_logger_statistics","last_synced_at":"2025-10-24T07:32:52.099Z","repository":{"id":56846849,"uuid":"80802126","full_name":"itkq/fluent_logger_statistics","owner":"itkq","description":"Rack middleware for monitoring buffer of fluent-logger.","archived":false,"fork":false,"pushed_at":"2017-03-30T09:31:19.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T17:48:39.696Z","etag":null,"topics":["fluentd","rack-middleware"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itkq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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-02-03T06:06:04.000Z","updated_at":"2017-02-03T06:43:52.000Z","dependencies_parsed_at":"2022-09-12T11:13:48.563Z","dependency_job_id":null,"html_url":"https://github.com/itkq/fluent_logger_statistics","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/itkq/fluent_logger_statistics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Ffluent_logger_statistics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Ffluent_logger_statistics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Ffluent_logger_statistics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Ffluent_logger_statistics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itkq","download_url":"https://codeload.github.com/itkq/fluent_logger_statistics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itkq%2Ffluent_logger_statistics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013900,"owners_count":26085328,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fluentd","rack-middleware"],"created_at":"2025-10-13T01:58:30.236Z","updated_at":"2025-10-13T01:58:54.692Z","avatar_url":"https://github.com/itkq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FluentLoggerStatistics\n\n[![Build Status](https://travis-ci.org/itkq/fluent_logger_statistics.svg?branch=master)](https://travis-ci.org/itkq/fluent_logger_statistics)\n\n## Usage\nMiddleware settings:\n```ruby\nRails.configuration.middleware.use FluentLoggerStatistics::Middleware,\n  '/endpoint/',\n  {\n    resource_name1: fluent_logger1, # instance of Fluent::Logger::FluentLogger\n    resource_name2: fluent_logger2,\n    ...\n  }\n```\n\nAfter rails boots, then\n```sh\n$ curl http://rails-host/endpoint | jq .\n{\n  \"resource_name1\": {\n    \"buffer_bytesize\": 0,\n    \"buffer_limit\": 8388608,\n    \"buffer_usage_rate\": 0\n  },\n  \"resource_name2\": {\n    \"buffer_bytesize\": 236,\n    \"buffer_limit\": 8388608,\n    \"buffer_usage_rate\": 2.8133392333984375e-05\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitkq%2Ffluent_logger_statistics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitkq%2Ffluent_logger_statistics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitkq%2Ffluent_logger_statistics/lists"}