Edge Delta Telemetry Generator Source
2 minute read
Overview
The TelemetryGen Source node generates sample logs, metrics or traces at a specified rate. Use this node to quickly configure and test a pipeline using data similar to your use case.
Example Configuration
This configuration will emit an Apache Error
every 1 second.
nodes:
- name: telemetrygen_input_41ae
type: telemetrygen_input
user_description: Telemetry Generator Source
events_per_sec: 1
template_type: log
templates:
- Apache Error
Required Parameters
name
A descriptive name for the node. This is the name that will appear in Visual Builder and you can reference this node in the YAML using the name. It must be unique across all nodes. It is a YAML list element so it begins with a -
and a space followed by the string. It is a required parameter for all nodes.
nodes:
- name: <node name>
type: <node type>
type: telemetrygen_input
The type
parameter specifies the type of node being configured. It is specified as a string from a closed list of node types. It is a required parameter.
nodes:
- name: <node name>
type: <node type>
events_per_sec
The events_per_second
parameter specifies the number of data items that will be generated per second. It is specified as an integer and is a required parameter.
nodes:
- name: <node name>
type: telemetrygen_input
events_per_sec: 2
template_type: <type>
templates:
- <template name>
templates
The templates
parameter specifies the data item schema the node should emit. It is specified with the template_type
. It is specified as a string and a template is required.
nodes:
- name: <node name>
type: telemetrygen_input
events_per_sec: <rate>
template_type: <type>
templates:
- <template name>