Skip to main content

IMoBroItem

The IMoBroItem interface defines an item that can be registered with the MoBro data service.
All other registrable types, such as (Metric, Metric Type, Category, Group, Resource and Action), implement this interface.

See also: Registering Items

Properties

PropertyTypeDescription
idstringThe unique item ID

Id Requirements

  • IDs must always be unique within the scope of the plugin to avoid conflicts.
  • IDs are limited to a maximum of 256 characters and must conform to the following regex pattern: ^[\w\.\-]+$

Automatic Mapping

IDs exceeding 36 characters will automatically be mapped to a 128-bit hash value for internal use by MoBro.

  • The plugin will continue to use its original self-defined IDs as usual
  • The shorter hash will be used internally by MoBro
  • This mapping happens automatically and requires no additional handling by the plugin
  • These hashes will also appear when checking the IDs of metrics in the plugin's overview page in MoBro