MQTT Transmission supports custom tag properties to enable certain features. Creating custom properties on MQTT tags is a simple process and is no different than custom properties on any other Ignition tag (as documented here).
Custom Tag Properties
ExcludeFromPayload
Name: ExcludeFromPayload
Type: Boolean
Action: Controls whether or not a tag is included in Transmission Sparkplug message payloads.
StoreAndForward
Name: StoreAndForward
Type: Boolean
Action: Controls whether or not a tag is stored in a configured HistoryStore when Transmission is offline.
This property works together with the Enable History Storage by Default property set in MQTT Transmission under the Settings > Transmitters > History Settings tab. If added to a tag and set to the reverse of the global parameter, it will override the global setting for that specific tag.
TagEventTracer
Name: TagEventTracer
Type: Boolean
Action: Controls whether or not a tag event tracing is generated for this tag.
- Logs the timestamp (human readable and ms since epoch) and value when the BIRTH is built
- Logs a timestamp (human readable and ms since epoch) and every time that tag changes and its value
- Log a timestamp and value when a metric push happens