{"id":30248312,"url":"https://github.com/feedzai/traefikrequesttimestamps","last_synced_at":"2025-09-07T01:07:07.765Z","repository":{"id":309927919,"uuid":"1036609232","full_name":"feedzai/traefikRequestTimestamps","owner":"feedzai","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-12T15:43:16.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T17:15:15.999Z","etag":null,"topics":["traefik-plugin"],"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/feedzai.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-12T10:23:35.000Z","updated_at":"2025-08-12T15:37:49.000Z","dependencies_parsed_at":"2025-08-16T10:15:57.960Z","dependency_job_id":null,"html_url":"https://github.com/feedzai/traefikRequestTimestamps","commit_stats":null,"previous_names":["feedzai/traefikrequesttimestamps"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/feedzai/traefikRequestTimestamps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2FtraefikRequestTimestamps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2FtraefikRequestTimestamps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2FtraefikRequestTimestamps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2FtraefikRequestTimestamps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feedzai","download_url":"https://codeload.github.com/feedzai/traefikRequestTimestamps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2FtraefikRequestTimestamps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273983185,"owners_count":25202111,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["traefik-plugin"],"created_at":"2025-08-15T07:39:24.720Z","updated_at":"2025-09-07T01:07:07.738Z","avatar_url":"https://github.com/feedzai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traefik Request Timestamps Middleware\n\nA Traefik plugin that adds request and response timestamp headers to HTTP responses, helping you track request processing times and latency.\n\nThis plugin injects both a REQUEST-TIMESTAMP and a RESPONSE-TIMESTAMP header into each HTTP response. The REQUEST-TIMESTAMP reflects when the request first reached Traefik, while the RESPONSE-TIMESTAMP marks when the response is sent back to the client. Both header names and the date format are fully configurable, supporting any Go time format. The plugin is lightweight, fast, and has no dependencies.\n\n## Configuration Options\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `requestHeaderName` | Name of the request timestamp header | `\"REQUEST-TIMESTAMP\"` |\n| `responseHeaderName` | Name of the response timestamp header | `\"RESPONSE-TIMESTAMP\"` |\n| `dateFormat` | Go time format string | `\"2006-01-02T15:04:05.000Z\"` |\n\n### Static Configuration (traefik.yml)\n\n```yaml\nexperimental:\n  plugins:\n    timestampheaders:\n      moduleName: \"github.com/feedzai/traefikRequestTimestamps\"\n      version: \"v1.0.0\"\n```\n\n### Dynamic Configuration (dynamic.yml)\n\n#### Basic Usage (Default Settings)\n```yaml\nhttp:\n  middlewares:\n    timestamp-headers:\n      plugin:\n        timestampheaders: {}\n\n  routers:\n    api:\n      rule: \"Path(`/`)\"\n      service: backend-service\n      middlewares:\n        - timestamp-headers\n```\n\n#### Custom Configuration\n```yaml\nhttp:\n  middlewares:\n    custom-timestamps:\n      plugin:\n        timestampheaders:\n          requestHeaderName: \"X-Request-Time\"\n          responseHeaderName: \"X-Response-Time\"\n          dateFormat: \"2006-01-02 15:04:05 UTC\"\n```\n\n## Requirements\n\n- Traefik v3.0+\n- Go 1.19+ (for development)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Ftraefikrequesttimestamps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeedzai%2Ftraefikrequesttimestamps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Ftraefikrequesttimestamps/lists"}