{"modulePath":"github.com/DataDog/datadog-agent","version":"v0.0.0-20210611085602-551a65dd29cc","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package debugging\n\n## Types\n\n```go\ntype Address struct {\n\tIP   string\n\tPort uint16\n}\n```\nAddress represents represents a IP:Port\n\n```go\ntype RequestSummary struct {\n\tClient   Address\n\tServer   Address\n\tDNS      string\n\tPath     string\n\tMethod   string\n\tByStatus map[int]Stats\n}\n```\nRequestSummary represents a (debug-friendly) aggregated view of requests matching a (client, server, path, method) tuple\n\n```go\nfunc HTTP(stats map[http.Key]http.RequestStats, dns map[util.Address][]string) []RequestSummary\n```\nHTTP returns a debug-friendly representation of map\\[http.Key]http.RequestStats\n\n```go\ntype Stats struct {\n\tCount              int\n\tFirstLatencySample float64\n\tLatencyP50         float64\n}\n```\nStats consolidates request count and latency information for a certain status code\n\n","path":"github.com/DataDog/datadog-agent/pkg/network/http/debugging","name":"debugging","synopsis":"","isRedistributable":true}
