{"id":13529955,"url":"https://github.com/fullcontact/crankshaftd","last_synced_at":"2025-11-04T11:04:21.397Z","repository":{"id":16868189,"uuid":"19628485","full_name":"fullcontact/crankshaftd","owner":"fullcontact","description":"Simple Go agent to ingest streaming data from Turbine via SSE and push it into StatsD as a gauge or to InfluxDB.","archived":false,"fork":false,"pushed_at":"2017-04-20T16:38:56.000Z","size":24,"stargazers_count":6,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T07:02:08.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/fullcontact.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-05-09T23:16:18.000Z","updated_at":"2023-03-08T04:57:55.000Z","dependencies_parsed_at":"2022-07-15T10:48:56.623Z","dependency_job_id":null,"html_url":"https://github.com/fullcontact/crankshaftd","commit_stats":null,"previous_names":["xorlev/crankshaftd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullcontact%2Fcrankshaftd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullcontact%2Fcrankshaftd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullcontact%2Fcrankshaftd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullcontact%2Fcrankshaftd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fullcontact","download_url":"https://codeload.github.com/fullcontact/crankshaftd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248936686,"owners_count":21186086,"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-08-01T07:00:41.270Z","updated_at":"2025-11-04T11:04:21.350Z","avatar_url":"https://github.com/fullcontact.png","language":"Go","funding_links":[],"categories":["Collecting data into InfluxDB"],"sub_categories":["Projects"],"readme":"crankshaftd\n===========\n\nSimple Go agent to ingest streaming data from Turbine via SSE and push it into StatsD as a gauge or to InfluxDB as a series.\n\n## Property Munging\n\nAll keys related to properties (such as max threadpool size, queue lengths, etc.) are stripped by default.\n\nProperties of the following patterns are kept:\n\n- current*\n- rollingCount*\n- latencyTotal_*\n- isCircuitBreakerOpen\n\nNormal keys are pushed under `my-prefix.my-cluster.MyCommandImpl.rollingCountSuccess`\n\nLatency histograms are pushed under `my-prefix.my-cluster.MyCommandImpl.latencyTotal.xx_pct`\n\nisCircuitBreakerOpen will be either 0 or 1.\n\nAdditionally, all numeric metrics are divided by the number of reporting hosts. This is because Turbine simply\nsums all metrics, including percentiles.\n\n## StatsD caveat\n\nAll metric values are cast from float64 -\u003e int64.\n\n## Running\n\nCreate a config.toml with your config\n\n```toml\n# Turbine connection information\nhost = \"turbine.yourcompany.com\"\nport = 80\ntls_enabled = false\nclusters = [\"cluster1\", \"cluster2\"]\n\n# Backend to stream updates to, 'influxdb' or 'statsd'\nbackendtype = \"influxdb\"\n\n[statsd]\nhost = \"127.0.0.1\"\nport = 8125\nprefix = \"hystrix\"\n```\n\nBuild the project\n\n    go build\n  \nAnd deploy the resulting binary \u0026 config\n\n    ./crankshaftd\n    \nOr run with a different config\n\n    ./crankshaftd dev.toml\n\n\n## License\n\nCopyright 2017 FullContact Inc. \u0026 Michael Rose\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullcontact%2Fcrankshaftd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffullcontact%2Fcrankshaftd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullcontact%2Fcrankshaftd/lists"}