{"id":13582339,"url":"https://github.com/mehrdadrad/tcpprobe","last_synced_at":"2025-04-09T08:12:11.113Z","repository":{"id":55970379,"uuid":"307221556","full_name":"mehrdadrad/tcpprobe","owner":"mehrdadrad","description":"Modern TCP tool and service for network performance observability.","archived":false,"fork":false,"pushed_at":"2021-02-21T22:15:21.000Z","size":1927,"stargazers_count":356,"open_issues_count":4,"forks_count":20,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-02T06:07:38.237Z","etag":null,"topics":["docker","http","http2","https","k8s","kubernetes","monitoring","observability","probe","socket","sre","tcp"],"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/mehrdadrad.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":"2020-10-26T00:27:20.000Z","updated_at":"2024-12-17T07:57:54.000Z","dependencies_parsed_at":"2022-08-15T10:31:28.347Z","dependency_job_id":null,"html_url":"https://github.com/mehrdadrad/tcpprobe","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Ftcpprobe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Ftcpprobe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Ftcpprobe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Ftcpprobe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehrdadrad","download_url":"https://codeload.github.com/mehrdadrad/tcpprobe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999864,"owners_count":21031046,"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":["docker","http","http2","https","k8s","kubernetes","monitoring","observability","probe","socket","sre","tcp"],"created_at":"2024-08-01T15:02:36.889Z","updated_at":"2025-04-09T08:12:11.096Z","avatar_url":"https://github.com/mehrdadrad.png","language":"Go","funding_links":[],"categories":["Go Tools","Go","Network Tools","Go (531)","软件包","Network Dev\u0026Ops工具与服务","Software Packages","Other Software"],"sub_categories":["Other Software","Network Monitoring \u0026 Diagnostics","其他软件库和软件包","其他软件"],"readme":"![tcpprobe](/docs/imgs/tp_logo.png) \n\n\n[![Github Actions](https://github.com/mehrdadrad/tcpprobe/workflows/build/badge.svg)](https://github.com/mehrdadrad/tcpprobe/actions?query=workflow%3Abuild) [![Go report](https://goreportcard.com/badge/github.com/mehrdadrad/tcpprobe)](https://goreportcard.com/report/github.com/mehrdadrad/tcpprobe)  [![Coverage Status](https://coveralls.io/repos/github/mehrdadrad/tcpprobe/badge.svg?branch=main)](https://coveralls.io/github/mehrdadrad/tcpprobe?branch=main)\n\n**TCPProbe** is a modern TCP tool and service for network performance observability. It exposes information about socket’s underlying TCP session, TLS and HTTP (more than 60 [metrics](https://github.com/mehrdadrad/tcpprobe/wiki/metrics)). you can run it through command line or as a service. the request is highly customizable and you can integrate it with your application through gRPC. it runs in a Kubernetes cluster as cloud native application and by adding annotations on pods allow a fine control of the probing process.\n\n![tcpprobe](/docs/imgs/tcpprobe_banner.png) \n\n## Features\n- TCP socket statistics\n- TCP/IP request customization\n- Prometheus exporter\n- Probing multiple hosts\n- Runs as service\n- Kubernetes native\n- gRPC interface\n\n## Documentation\n* [Command's options](https://github.com/mehrdadrad/tcpprobe/wiki/command's-options)\n* [Service](https://github.com/mehrdadrad/tcpprobe/wiki/service)\n* [Demo](https://github.com/mehrdadrad/tcpprobe/wiki/prometheus-grafana) ([🎥 video](https://youtu.be/0Rr2ndrxftw))\n* [Metrics](https://github.com/mehrdadrad/tcpprobe/wiki/metrics)\n* [Helm Chart](https://github.com/mehrdadrad/tcpprobe/wiki/helm)\n* [CLI tutorial](https://github.com/mehrdadrad/tcpprobe/wiki/command-line-tutorial)\n* [gRPC](https://github.com/mehrdadrad/tcpprobe/wiki/grpc)\n\n#### **Command line** ([download Linux binary](https://github.com/mehrdadrad/tcpprobe/releases/latest/download/tcpprobe)) \n```\ntcpprobe -json https://www.google.com\n```\n```json\n{\"Target\":\"https://www.google.com\",\"IP\":\"142.250.72.196\",\"Timestamp\":1607567390,\"Seq\":0,\"State\":1,\"CaState\":0,\"Retransmits\":0,\"Probes\":0,\"Backoff\":0,\"Options\":7,\"Rto\":204000,\"Ato\":40000,\"SndMss\":1418,\"RcvMss\":1418,\"Unacked\":0,\"Sacked\":0,\"Lost\":0,\"Retrans\":0,\"Fackets\":0,\"LastDataSent\":56,\"LastAckSent\":0,\"LastDataRecv\":0,\"LastAckRecv\":0,\"Pmtu\":9001,\"RcvSsthresh\":56587,\"Rtt\":1365,\"Rttvar\":446,\"SndSsthresh\":2147483647,\"SndCwnd\":10,\"Advmss\":8949,\"Reordering\":3,\"RcvRtt\":0,\"RcvSpace\":62727,\"TotalRetrans\":0,\"PacingRate\":20765147,\"BytesAcked\":448,\"BytesReceived\":10332,\"SegsOut\":10,\"SegsIn\":11,\"NotsentBytes\":0,\"MinRtt\":1305,\"DataSegsIn\":8,\"DataSegsOut\":3,\"DeliveryRate\":1785894,\"BusyTime\":4000,\"RwndLimited\":0,\"SndbufLimited\":0,\"Delivered\":4,\"DeliveredCe\":0,\"BytesSent\":447,\"BytesRetrans\":0,\"DsackDups\":0,\"ReordSeen\":0,\"RcvOoopack\":0,\"SndWnd\":66816,\"TCPCongesAlg\":\"cubic\",\"HTTPStatusCode\":200,\"HTTPRcvdBytes\":14683,\"HTTPRequest\":113038,\"HTTPResponse\":293,\"DNSResolve\":2318,\"TCPConnect\":1421,\"TLSHandshake\":57036,\"TCPConnectError\":0,\"DNSResolveError\":0}\n```\n\n#### **Docker**\n```\ndocker run --rm mehrdadrad/tcpprobe smtp.gmail.com:587\n```\n\n#### **Docker Compose**\nTCPProbe and Prometheus\n```\ndocker-compose up -d\n```\nOpen your browser and try http://localhost:9090\nYou can edit the docker-compose.yml to customize the options and target(s).\n\n#### **Helm Chart**\nDetailed installation instructions for TCPProbe on Kubernetes are found [here](https://github.com/mehrdadrad/tcpprobe/wiki/helm).\n```\nhelm install tcpprobe tcpprobe\n```\n\n## License\nThis project is licensed under MIT license. Please read the LICENSE file.\n\n## Contribute\nWelcomes any kind of contribution, please follow the next steps:\n\n- Fork the project on github.com.\n- Create a new branch.\n- Commit changes to the new branch.\n- Send a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrdadrad%2Ftcpprobe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehrdadrad%2Ftcpprobe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrdadrad%2Ftcpprobe/lists"}