{"id":37912010,"url":"https://github.com/payintech/caddy-datadog","last_synced_at":"2026-01-16T17:20:27.654Z","repository":{"id":57487072,"uuid":"90401874","full_name":"payintech/caddy-datadog","owner":"payintech","description":"Datadog plugin for Caddy HTTP/2 web server","archived":false,"fork":false,"pushed_at":"2019-08-12T12:42:20.000Z","size":22,"stargazers_count":15,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-19T05:45:59.428Z","etag":null,"topics":["caddy","caddyserver","datadog","plugin","statsd"],"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/payintech.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":"2017-05-05T17:43:05.000Z","updated_at":"2024-02-09T10:29:20.000Z","dependencies_parsed_at":"2022-09-01T23:01:39.173Z","dependency_job_id":null,"html_url":"https://github.com/payintech/caddy-datadog","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/payintech/caddy-datadog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payintech%2Fcaddy-datadog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payintech%2Fcaddy-datadog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payintech%2Fcaddy-datadog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payintech%2Fcaddy-datadog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/payintech","download_url":"https://codeload.github.com/payintech/caddy-datadog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payintech%2Fcaddy-datadog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["caddy","caddyserver","datadog","plugin","statsd"],"created_at":"2026-01-16T17:20:26.835Z","updated_at":"2026-01-16T17:20:27.650Z","avatar_url":"https://github.com/payintech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Datadog plugin for Caddy HTTP/2 web server\n\nDatadog plugin allow Caddy HTTP/2 web server to send some metrics to Datadog via statsd, and optionally also send traces to Datadog APM.\n*****\n\n\n## Configuration\nIn your Caddy configuration file, you have to use the directive `datadog`\nto enable Datadog metric harvester on each configuration blocks where it\nwas needed.\n\nIn the following example, all requests on _example-d.com_ won't be harvested.\n\n    example-a.com {\n      datadog \"area\"              # area is optional\n    }\n\n    example-b.com {\n      datadog \"area\" {                # area is optional\n        statsd        127.0.0.1:8125  # Optional - can be any valid hostname with port\n        tags          tag1 tag2 tagN  # Optional\n        namespace     caddy.          # Optional\n        trace_enabled                 # Optional - whether to enable tracing to Datadog APM\n        trace_agent   127.0.0.1:8126  # Optional - can be any valid hostname with port\n        service_name  caddy           # Optional\n      }\n    }\n\n    example-c.com {\n      datadog\n    }\n\n    example-d.com {\n    }\n\n**Note:** As you can see on the previous example, the directive `datadog`\ncan be configured only once.\n\n\n\n## Metrics\nThe plugin send following metrics to Datadog:\n\n| Metric                    | Type  | Unit                |\n| ------------------------- | ----- | ------------------- |\n| caddy.requests.per_s      | Gauge | requests per second |\n| caddy.responses.1xx       | Gauge | requests            |\n| caddy.responses.2xx       | Gauge | requests            |\n| caddy.responses.3xx       | Gauge | requests            |\n| caddy.responses.4xx       | Gauge | requests            |\n| caddy.responses.5xx       | Gauge | requests            |\n| caddy.responses.size_byte | Gauge | bytes               |\n| caddy.responses.duration  | Gauge | nanoseconds         |\n\n\n\n## License\nThis project is released under terms of the [MIT license](https://raw.githubusercontent.com/payintech/caddy-datadog/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayintech%2Fcaddy-datadog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayintech%2Fcaddy-datadog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayintech%2Fcaddy-datadog/lists"}