Promgen Models¶
- class promgen.models.Alert(id, created, body, sent_count, error_count)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.AlertError(id, alert, created, message)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.AlertLabel(id, alert, name, value)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Audit(id, body, created, data, old, content_type, object_id, user)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.DefaultExporter(id, job, port, path, scheme)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Exporter(id, job, port, path, scheme, project, enabled)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Farm(id, name, source)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- driver¶
Return configured driver for Farm model instance
- class promgen.models.Filter(id, sender, name, value)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Host(id, name, farm)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Probe(id, module, description)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Project(id, name, description, owner, service, shard, farm)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Prometheus(id, shard, host, port)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Rule(id, name, clause, duration, enabled, parent, content_type, object_id, description, labels, annotations)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Sender(id, sender, value, alias, content_type, object_id, owner, enabled)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- property driver¶
Return configured driver for Sender model instance
- class promgen.models.Service(id, name, description, owner)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- class promgen.models.Shard(id, name, url, authorization, proxy, enabled, samples, targets)[source]¶
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶