{"id":13696272,"url":"https://github.com/ClickHouse/clickhouse_exporter","last_synced_at":"2025-05-03T16:32:57.845Z","repository":{"id":45284211,"uuid":"70426898","full_name":"ClickHouse/clickhouse_exporter","owner":"ClickHouse","description":"This is a simple server that periodically scrapes ClickHouse stats and exports them via HTTP for Prometheus(https://prometheus.io/) consumption.","archived":false,"fork":false,"pushed_at":"2024-12-12T06:25:18.000Z","size":1235,"stargazers_count":375,"open_issues_count":5,"forks_count":174,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-25T06:41:54.503Z","etag":null,"topics":["clickhouse","exporter","prometheus","stats"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ClickHouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-09T19:55:40.000Z","updated_at":"2025-04-16T21:11:22.000Z","dependencies_parsed_at":"2023-12-19T08:33:47.634Z","dependency_job_id":"da8c5ddd-2e80-4471-922a-03cb7beb9823","html_url":"https://github.com/ClickHouse/clickhouse_exporter","commit_stats":{"total_commits":73,"total_committers":18,"mean_commits":4.055555555555555,"dds":0.547945205479452,"last_synced_commit":"c86ab0d1271e71cdca0ffbc7bb8d46512950a764"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClickHouse","download_url":"https://codeload.github.com/ClickHouse/clickhouse_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252216129,"owners_count":21713102,"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":["clickhouse","exporter","prometheus","stats"],"created_at":"2024-08-02T18:00:37.981Z","updated_at":"2025-05-03T16:32:57.477Z","avatar_url":"https://github.com/ClickHouse.png","language":"Go","readme":"# Clickhouse Exporter for Prometheus (old clickhouse-server versions)\n\nThis is a simple server that periodically scrapes [ClickHouse](https://clickhouse.com/) stats and exports them via HTTP for [Prometheus](https://prometheus.io/)\nconsumption.\n\nExporter could used only for old ClickHouse versions, modern versions have embedded prometheus endpoint.\nLook details https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#server_configuration_parameters-prometheus\n\nTo run it:\n\n```bash\n./clickhouse_exporter [flags]\n```\n\nHelp on flags:\n```bash\n./clickhouse_exporter --help\n```\n\nCredentials(if not default):\n\nvia environment variables\n```\nCLICKHOUSE_USER\nCLICKHOUSE_PASSWORD\n```\n\n## Build Docker image\n```\ndocker build . -t clickhouse-exporter\n```\n\n## Using Docker\n\n```\ndocker run -d -p 9116:9116 clickhouse-exporter -scrape_uri=http://clickhouse-url:8123/\n```\n## Sample dashboard\nGrafana dashboard could be a start for inspiration https://grafana.com/grafana/dashboards/882-clickhouse\n","funding_links":[],"categories":["Integrations"],"sub_categories":["Metrics and Monitoring"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FClickHouse%2Fclickhouse_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FClickHouse%2Fclickhouse_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FClickHouse%2Fclickhouse_exporter/lists"}