noc.pm.models.metrictype

Module Contents

noc.pm.models.metrictype.id_lock
class noc.pm.models.metrictype.MetricType

Bases: mongoengine.document.Document

meta
name
uuid
scope
field_name
field_type
description
measure
required_capability
bi_id
category
_id_cache
_name_cache
_bi_id_cache
json_data
__str__(self)
to_json(self)
get_json_path(self)
classmethod get_by_id(cls, id)
classmethod get_by_name(cls, name)
classmethod get_by_bi_id(cls, id)
on_save(self)
clean_value(self, value)
static clean_UInt8(value)
static clean_Int8(value)
static clean_UInt16(value)
static clean_Int16(value)
static clean_UInt32(value)
static clean_Int32(value)
static clean_UInt64(value)
static clean_Int64(value)
static clean_Float32(value)
static clean_Float64(value)
static clean_String(value)