NewCRUD
No overview available.
def NewCRUD(
scope: promutils.Scope
) - > CRUD
Constructs and returns a new CRUD object, initializing its Create, Read, Update, List, Delete, Undelete, and Count fields with new API instances, each scoped appropriately.
Parameters
| Name | Type | Description |
|---|---|---|
| scope | promutils.Scope | The Prometheus scope used to create sub-scopes for each CRUD operation, allowing for distinct metric collection. |
Returns
| Type | Description |
|---|---|
CRUD | A new CRUD object with initialized API instances for each operation. |