Skip to content

Commit

Permalink
feat(pingdom): more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rkettelerij committed Jun 20, 2024
1 parent c3ebb21 commit 1d2775f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/service/providers/pingdom.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ func (m *PingdomUptimeProvider) DeleteCheck(ctx context.Context, check model.Upt
func (m *PingdomUptimeProvider) findCheck(ctx context.Context, check model.UptimeCheck) (int64, error) {
result := checkNotFound

req, err := http.NewRequest(http.MethodGet, pingdomURL+"?include_tags=true", nil)
// list all checks managed by uptime-operator. Can be at most 25.000, which is probably sufficient.
req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("%s?include_tags=true&limit=25000&tags=%s", pingdomURL, model.TagManagedBy), nil)
if err != nil {
return result, err
}
Expand Down

0 comments on commit 1d2775f

Please sign in to comment.