Skip to content

[Compute usage quotas] (Part 1) Talk to Prometheus and aggregate metrics #7547

@jnywong

Description

@jnywong

Definition of Done

  • Query and aggregate the following Prometheus metrics according to the quota policy defined
  • Determine the usage according to the scope of the quota policy and provide a true/false value for output allow_server_launch
  • Test in showcase hub 🎉
  • Don't actually raise a server error if server launch is denied but record info in server logs
  • Validate with tests
  • Deploy to earthscope staging hub

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions