{"id":13491585,"url":"https://github.com/tsuru/prometheus-conntrack","last_synced_at":"2025-04-26T02:32:10.369Z","repository":{"id":54828120,"uuid":"75417788","full_name":"tsuru/prometheus-conntrack","owner":"tsuru","description":"Expose conntrack metrics to prometheus","archived":false,"fork":false,"pushed_at":"2023-06-21T18:09:28.000Z","size":9192,"stargazers_count":13,"open_issues_count":3,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-04T06:11:12.263Z","etag":null,"topics":["conntrack","docker","kubelet","metrics","prometheus"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsuru.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-12-02T17:45:08.000Z","updated_at":"2024-09-02T09:48:53.000Z","dependencies_parsed_at":"2024-01-16T09:10:14.105Z","dependency_job_id":"540220ce-e827-47d8-81ab-dc2c6b5dd82a","html_url":"https://github.com/tsuru/prometheus-conntrack","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuru%2Fprometheus-conntrack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuru%2Fprometheus-conntrack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuru%2Fprometheus-conntrack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuru%2Fprometheus-conntrack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsuru","download_url":"https://codeload.github.com/tsuru/prometheus-conntrack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250922127,"owners_count":21508279,"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":["conntrack","docker","kubelet","metrics","prometheus"],"created_at":"2024-07-31T19:00:58.381Z","updated_at":"2025-04-26T02:32:10.079Z","avatar_url":"https://github.com/tsuru.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"Prometheus Conntrack Metrics\n============================\n\n[![Build Status](https://travis-ci.org/tsuru/prometheus-conntrack.png?branch=master)](https://travis-ci.org/tsuru/prometheus-conntrack)\n\n`prometheus-conntrack` exposes [conntrack](http://conntrack-tools.netfilter.org/) metrics for docker containers or kubelet pods.\n\nFor example, the series `conntrack_workload_connections{destination=\"192.168.50.4:2375\",container=\"my-container\",protocol=\"TCP\",state=\"ESTABLISHED\"} 2` means that the container \"my-container\" has two connections established with tcp://192.168.50.4:2375.\n\nYou can run `prometheus-conntrack` in a container or run the binary directly.\n\nDocker Usage\n--------------\n\n```\n$ go get github.com/tsuru/prometheus-conntrack\n$ prometheus-conntrack --listen-address :8080 --docker-endpoint unix:///var/run/docker.sock\n```\n\n`prometheus-conntrack` will fetch running containers from the `--docker-endpoint` and\nexpose their outbound connections on `:8080/metrics`.\n\n\nKubelet Usage\n---------------\n\n```\n$ go get github.com/tsuru/prometheus-conntrack\n$ prometheus-conntrack -engine kubelet --listen-address :8080\n```\n\n`prometheus-conntrack` will fetch running pods from the local kubelet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuru%2Fprometheus-conntrack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsuru%2Fprometheus-conntrack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuru%2Fprometheus-conntrack/lists"}