Flogo Related Attributes in OpenTelemetry Collector
In OpenTelemetry, each trace has its own attributes. These attributes are useful for filtering traces, for example, if you want to search for a specific trace or time interval.
- Adding your custom attributes for only one span (Activity) is currently not supported. Any custom tags that you create are added to all traces
The prefix '
flogo
' is added to tags with product-specific attributes only.
The following attributes specific to Flogo are available:
For flows | |
flogo.event.id | The event ID is the unique ID of a single request, job or a action initiated by the user. |
flogo.flow.id | Unique instance IDs that are generated by the Flogo engine. They are used to identify specific instances of a flow (such as when the same flow is triggered multiple times). |
flogo.flow.name | Name of the flow. |
For activities | |
flogo.flow.name | Name of the flow. |
flogo.flow.id | Unique instance IDs that are generated by the Flogo engine. They are used to identify specific instances of a flow (such as when the same flow is triggered multiple times). |
flogo.task.name | Name of Activity. |
flogo.taskInstance.id | Unique instance ID that is generated by the Flogo engine. This identity is used to identify the specific instance of an Activity when an Activity is iterated multiple times. This ID is used in looping constructs such as iterator or Repeat while true. |
For subflows | |
flogo.parent.flow | Name of the parent flow |
flogo.flogo.parent.flow.id | Unique ID of the parent flow |
flogo.flow.name | Name of the subflow |
flogo.flow.id | Unique instance IDs that are generated by the Flogo engine. They are used to identify specific instances of a flow (such as when the same flow is triggered multiple times) |
The attribute values are automatically generated at runtime. You cannot override the default values. You have the option to set attributes by setting them in the environment variable
FLOGO_OTEL_TRACE_ATTRIBUTES
as key/value pair. Keep in mind that these tags are added to
all traces.