Skip to content

[cocoon] Alert on GitHub API quota getting low #79467

Description

@CaseyHillers

AI from postmortem142046

GitHub API quota is reset hourly. If Cocoon uses all 15k requests in the first minute, services will not operate correctly for 59 minutes.

We should also find a way to escalate and manually reset the app's API quota in these cases.

Activity

  1. added
    team-infraOwned by Infrastructure team
    P2Important issues not at the top of the work list
    infra: metricsInfrastructure metrics-related issues
    on Mar 31, 2021
  2. self-assigned this
    on Mar 31, 2021
  3. CaseyHillers commented on Apr 6, 2021

    @CaseyHillers
    ContributorAuthor

    There is now a dashboard in go/flutter-infra-metrics to track GitHub quota usage. Next steps are to also create a BigQuery monitoring alert to notify on this going out of SLO (50% is probably a good starting point)

  4. godofredoc commented on Apr 22, 2021

    @godofredoc
    Contributor

    ETA end of q2

  5. CaseyHillers commented on Apr 29, 2021

    @CaseyHillers
    ContributorAuthor

    Met with Dart infra team and learned how they handle these types of issues. My plans are to add their cloud metric code to cocoon, and move to that instead of BigQuery.

  6. godofredoc commented on Jun 24, 2021

    @godofredoc
    Contributor

    PR in progress, ETA before end of quarter.

  7. removed their assignment
    on Mar 8, 2022
  8. ricardoamador commented on Feb 2, 2023

    @ricardoamador
    Contributor

    @CaseyHillers any update you can provide on this?

  9. self-assigned this
    on Nov 30, 2023
  10. keyonghan commented on Nov 30, 2023

    @keyonghan
    Contributor

    This has been implemented. Infra gardener is expected to receive such alerts when quota gets low.
    Screenshot 2023-11-30 at 12 56 28 PM

  11. github-actions commented on Dec 14, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  12. locked as resolved and limited conversation to collaborators on Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.from: postmortemIssues identified as part of a postmorteminfra: metricsInfrastructure metrics-related issuesteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions