{"modulePath":"github.com/labstack/pitot","version":"v0.0.0-20261123231833-0301fe8e3bdc","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package annotations\n\n## Variables\n\n```go\nvar ErrRequest = errors.New(\"annotations need a positive range of at most 430 days and at most 100 services\")\n```\n\n## Types\n\n```go\ntype Anomaly struct {\n\tNamespace string    `json:\"namespace\"`\n\tService   string    `json:\"service\"`\n\tKind      string    `json:\"kind\"`\n\tFrom      time.Time `json:\"from\"`\n\tTo        time.Time `json:\"to\"`\n\tTitle     string    `json:\"title\"`\n\tSeverity  string    `json:\"severity\"`\n}\n```\n\n```go\ntype Deploy struct {\n\tNamespace string    `json:\"namespace\"`\n\tService   string    `json:\"service\"`\n\tVersion   string    `json:\"version\"`\n\tAt        time.Time `json:\"at\"`\n}\n```\n\n```go\ntype Request struct {\n\tFrom     time.Time `json:\"from\"`\n\tTo       time.Time `json:\"to\"`\n\tServices []string  `json:\"services,omitempty\"`\n\t// An empty Namespace uses the query engine's DefaultNamespace.\n\tNamespace string `json:\"namespace,omitempty\"`\n}\n```\n\n```go\ntype Response struct {\n\tDeploys   []Deploy  `json:\"deploys\"`\n\tAnomalies []Anomaly `json:\"anomalies\"`\n\tTruncated bool      `json:\"truncated,omitempty\"`\n}\n```\n\n```go\ntype Service struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(db queryrows.Queryer) *Service\n```\n\n```go\nfunc (s *Service) Read(ctx context.Context, req Request) (Response, error)\n```\n\n","path":"github.com/labstack/pitot/internal/annotations","name":"annotations","synopsis":"","isRedistributable":true}
