Telemetry Generator
Supported Platforms
Linux
✓
✓
✓
Windows
✓
✓
✓
macOS
✓
✓
✓
Description
The Telemetry Generator is a source that generates random telemetry data for testing purposes. This source is useful for testing the load and pipeline configurations.
Minimum Collector Versions
Supported Pipelines
Logs
Metrics
Traces
Configuration for all generators
Payloads per second
1
true
The number of payloads this receiver will generate per second.
Logs Generator Configuration
Resource Attributes
A map of resource attributes to be included in the generated telemetry. Values can be any
.
Attributes
A map of attributes to be included in the generated telemetry. Values can be any
.
body
The body of the log
severity
The severity of the log message
OTLP Replay Generator
The OTLP Replay Generator replays JSON-formatted telemetry. It adjusts the timestamps of the telemetry relative the current time, with the most recent record moved to the current time, and the previous records the same relative duration in the past. The text in the OTLP JSON
box should be valid JSON-formatted OTLP, such as the JSON created by plog.JSONMarshaler
,ptrace.JSONMarshaler
, or pmetric.JSONMarshaler
.
Type
The type of telemetry to replay: logs
, metrics
, or traces
.
OTLP JSON
A string of JSON encoded OTLP telemetry
Host Metrics Generator
The host metrics generator creates synthetic host metrics, from a list of pre-defined metrics. The metrics resource attributes can be set in the Resource Attributes
section of the configuration.
Windows Events Generator
The Windows Events Generator replays a sample of recorded Windows Event Log data. It has no additional configuration.
Last updated
Was this helpful?