{"id":17049136,"url":"https://github.com/toddself/envoy-traceparent-drop","last_synced_at":"2025-03-23T04:24:41.118Z","repository":{"id":157688974,"uuid":"633602803","full_name":"toddself/envoy-traceparent-drop","owner":"toddself","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-27T22:08:22.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T05:12:02.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toddself.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-27T21:51:05.000Z","updated_at":"2023-04-27T21:51:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b91ebff-107c-483d-a844-ef858cad5d70","html_url":"https://github.com/toddself/envoy-traceparent-drop","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/toddself%2Fenvoy-traceparent-drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddself%2Fenvoy-traceparent-drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddself%2Fenvoy-traceparent-drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddself%2Fenvoy-traceparent-drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddself","download_url":"https://codeload.github.com/toddself/envoy-traceparent-drop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245054069,"owners_count":20553448,"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-10-14T09:53:56.732Z","updated_at":"2025-03-23T04:24:41.074Z","avatar_url":"https://github.com/toddself.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"You'll need an echo server (or whatever) running on port 8081:\n\n```\ndocker run -d -p 8081:8081 ealen/echo-server --port 8081\n```\n\nThen start envoy:\n\n```\nenvoy -c ./envoy.yaml\n```\n\nAnd make a request:\n\n```\n❯ curl http://localhost/test -v |  jq .\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 127.0.0.1:80...\n* Connected to localhost (127.0.0.1) port 80 (#0)\n\u003e GET /test HTTP/1.1\n\u003e Host: localhost\n\u003e User-Agent: curl/7.87.0\n\u003e Accept: */*\n\u003e\n* Mark bundle as not supporting multiuse\n\u003c HTTP/1.1 200 OK\n\u003c content-type: application/json; charset=utf-8\n\u003c content-length: 657\n\u003c etag: W/\"291-ADK3CLF79uDgDpzl0xm+3rJWeLw\"\n\u003c date: Thu, 27 Apr 2023 21:47:38 GMT\n\u003c x-envoy-upstream-service-time: 5\n\u003c server: envoy\n\u003c\n{ [657 bytes data]\n100   657  100   657    0     0  48075      0 --:--:-- --:--:-- --:--:-- 93857\n* Connection #0 to host localhost left intact\n{\n  \"host\": {\n    \"hostname\": \"localhost\",\n    \"ip\": \"::ffff:172.17.0.1\",\n    \"ips\": []\n  },\n  \"http\": {\n    \"method\": \"GET\",\n    \"baseUrl\": \"\",\n    \"originalUrl\": \"/test\",\n    \"protocol\": \"http\"\n  },\n  \"request\": {\n    \"params\": {\n      \"0\": \"/test\"\n    },\n    \"query\": {},\n    \"cookies\": {},\n    \"body\": {},\n    \"headers\": {\n      \"host\": \"localhost\",\n      \"user-agent\": \"curl/7.87.0\",\n      \"accept\": \"*/*\",\n      \"x-forwarded-proto\": \"http\",\n      \"x-request-id\": \"3daf48ff-4ac7-9ef4-be57-0f5711c8e9d9\",\n      \"x-envoy-expected-rq-timeout-ms\": \"15000\",\n      \"traceparent\": \"00-ae8e0ff4c0ce27fb01903b51f7775a91-c367a937134fdd3d-01\"\n    }\n  },\n  \"environment\": {\n    \"PATH\": \"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\n    \"HOSTNAME\": \"c8e286ba5e07\",\n    \"NODE_VERSION\": \"16.16.0\",\n    \"YARN_VERSION\": \"1.22.19\",\n    \"HOME\": \"/root\"\n  }\n}\n```\n\nNote that `traceparent` is still there. If you leave the `x-request-id` drop in the rds.yaml file, that header will drop, but the `traceparent` will remain. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddself%2Fenvoy-traceparent-drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddself%2Fenvoy-traceparent-drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddself%2Fenvoy-traceparent-drop/lists"}