Skip to main content

13 Libraries

Libraries is the central repository of reusable definitions used across TDengine IDMP. It is accessed from the Libraries menu in the main navigation bar.

The Libraries menu contains the following sections:

SectionDescription
Element TemplateDefine reusable element structures with attribute templates (see Chapter 3)
Event TemplateDefine event schemas and notification rules (see Chapter 6)
Enumeration SetsMap integer values to human-readable labels
CategoriesDefine classification tags for elements, attributes, events, and more
UOMManage units of measurement and automatic conversion
Composite MetricDefine virtual metrics computed from other attributes (see Chapter 7)
Action TemplateDefine reusable automated actions that analyses invoke when a trigger condition is met

This chapter covers Enumeration Sets, Categories, UOM, and Action Templates.

📄️ Action Templates

An action template defines a reusable automated action that real-time analyses invoke when a trigger condition is met. For example, when a distribution transformer's analysis outputs an average voltage above a threshold, it can automatically send an alert notification to the operations group. By capturing actions as templates, multiple analyses can reference the same template and adjust its runtime parameters locally within each analysis, without affecting the template itself.