Telemetry Generator

Supported Platforms

Platform
Metrics
Logs
Traces

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

  • Introduced: v1.46.0

  • Updated to include Host Metrics & Windows Events: v1.47.0

Supported Pipelines

  • Logs

  • Metrics

  • Traces

Configuration for all generators

Field
Default
Required
Description

Payloads per second

1

true

The number of payloads this receiver will generate per second.

Logs Generator Configuration

Field
Description

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.

Field
Description

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?