Skip to content

Hitting internal google quota "monitoring.googleapis.com/descriptor_read_requests" #866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DP19 opened this issue Apr 9, 2025 · 0 comments · May be fixed by #867
Open

Hitting internal google quota "monitoring.googleapis.com/descriptor_read_requests" #866

DP19 opened this issue Apr 9, 2025 · 0 comments · May be fixed by #867

Comments

@DP19
Copy link

DP19 commented Apr 9, 2025

We're seeing pretty consistant errors in some of our larger clusters where a lot of workloads are using pub/sub backlog scaling:

unable to get external metric pendo-io/pubsub.googleapis.com|subscription|num_undelivered_messages/&LabelSelector{MatchLabels:map[string]string{resource.labels.project_id: redacted,resource.labels.subscription_id: redacted,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: the server could not find the descriptor for metric pubsub.googleapis.com/subscription/num_undelivered_messages: googleapi: Error 429: Quota exceeded for quota metric 'Descriptor read requests' and limit 'Descriptor read requests per minute' of service 'monitoring.googleapis.com' for consumer 'project_number:redacted'.
Details:
[
  {
    "@type": "type.googleapis.com/google.rpc.ErrorInfo",
    "domain": "googleapis.com",
    "metadata": {
      "consumer": "projects/redacted",
      "quota_limit": "DescriptorReadRequestsPerMinutePerProject",
      "quota_limit_value": "6000",
      "quota_location": "global",
      "quota_metric": "monitoring.googleapis.com/descriptor_read_requests",
      "service": "monitoring.googleapis.com"
    },
    "reason": "RATE_LIMIT_EXCEEDED"
  }
]
, rateLimitExceeded

This seems to be coming from calls to (t *Translator) GetMetricKind which makes this call every time it's called

@DP19 DP19 linked a pull request Apr 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant