{"id":19496001,"url":"https://github.com/hakobera/fluent-plugin-bigquery-loadtest","last_synced_at":"2025-02-25T20:41:51.807Z","repository":{"id":19837292,"uuid":"23098834","full_name":"hakobera/fluent-plugin-bigquery-loadtest","owner":"hakobera","description":"Load test for fluent-plugin-bigquery","archived":false,"fork":false,"pushed_at":"2014-08-19T06:56:09.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T09:34:40.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"xPaw/mcstatus","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hakobera.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":"2014-08-19T06:03:21.000Z","updated_at":"2014-08-20T06:53:25.000Z","dependencies_parsed_at":"2022-08-05T05:15:32.468Z","dependency_job_id":null,"html_url":"https://github.com/hakobera/fluent-plugin-bigquery-loadtest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobera%2Ffluent-plugin-bigquery-loadtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobera%2Ffluent-plugin-bigquery-loadtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobera%2Ffluent-plugin-bigquery-loadtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobera%2Ffluent-plugin-bigquery-loadtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hakobera","download_url":"https://codeload.github.com/hakobera/fluent-plugin-bigquery-loadtest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240746827,"owners_count":19850991,"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":[],"created_at":"2024-11-10T21:39:36.340Z","updated_at":"2025-02-25T20:41:51.776Z","avatar_url":"https://github.com/hakobera.png","language":"Shell","readme":"# fluent-plugin-bigquery-loadtest\n\nLoad test for fluent-plugin-bigquery\n\n## Prerequisities\n\nYou must finish setup [bq Command-Line Tool](https://developers.google.com/bigquery/bq-command-line-tool?hl=ja).\n\n## How to run\n\nOpen cosole and run:\n\n```\n$ bundle install\n$ ./create_table.sh\n$ ./run_dummer\n```\n\nOpen another console and run:\n\n```\n$ EMAIL=YOUR_SERVICE_ACCOUNT_EMAIL PRIVATE_KEY_PATH=/path/to/keyfile PROJECT=YOUR_PROJECT_ID bundle exec fluentd -c fluent.conf -vv --use-v1-config\n```\n\nCheck result using bq command line tool.\n\n```\n$ bq query \"SELECT id, time, method, level, uri, reqtime  FROM (TABLE_QUERY(fluentd_test, 'REGEXP_MATCH(table_id, r\\\"access\\d\\\")')) ORDER BY time desc LIMIT 10\"\nWaiting on bqjob_r7bbba102f937b28d_00000147ed0b49a1_1 ... (7s) Current status: DONE\n+-------+---------------------+--------+-------+------------------+--------------------+\n|  id   |        time         | method | level |       uri        |      reqtime       |\n+-------+---------------------+--------+-------+------------------+--------------------+\n| 81843 | 2014-08-19 06:54:05 | POST   | WARN  | /api/v1/textdata |  2.992644436142631 |\n| 81846 | 2014-08-19 06:54:05 | GET    | WARN  | /api/v1/people   |  4.202247813435515 |\n| 81835 | 2014-08-19 06:54:05 | PUT    | INFO  | /api/v1/textdata |  4.951895430571021 |\n| 81837 | 2014-08-19 06:54:05 | GET    | WARN  | /api/v1/people   | 1.1375395998393394 |\n| 81833 | 2014-08-19 06:54:05 | POST   | INFO  | /api/v1/textdata |  0.810828842297196 |\n| 81823 | 2014-08-19 06:54:05 | GET    | INFO  | /api/v1/people   | 2.4010146954485756 |\n| 81842 | 2014-08-19 06:54:05 | GET    | WARN  | /api/v1/people   | 1.6581904706842845 |\n| 81836 | 2014-08-19 06:54:05 | PUT    | WARN  | /api/v1/textdata |  1.487238197384085 |\n| 81841 | 2014-08-19 06:54:05 | GET    | ERROR | /api/v1/people   |  2.842070260680093 |\n| 81825 | 2014-08-19 06:54:05 | POST   | DEBUG | /api/v1/people   | 1.6226269005981386 |\n+-------+---------------------+--------+-------+------------------+--------------------+\n\n$ bq query \"SELECT method, count(*) FROM (TABLE_QUERY(fluentd_test, 'REGEXP_MATCH(table_id, r\\\"access\\d\\\")')) GROUP BY method\"\nWaiting on bqjob_r6d831a21161bbf37_00000147ed0c484a_1 ... (6s) Current status: DONE\n+--------+-------+\n| method |  f0_  |\n+--------+-------+\n| GET    | 34652 |\n| PUT    | 34586 |\n| POST   | 34732 |\n+--------+-------+\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakobera%2Ffluent-plugin-bigquery-loadtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhakobera%2Ffluent-plugin-bigquery-loadtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakobera%2Ffluent-plugin-bigquery-loadtest/lists"}