telemetryapireceiver

package module
v0.0.0-...-fefd744 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

README

Telemetry API Receiver

Status
Stability in development
Supported pipeline types traces
Distributions extension

This receiver generates telemetry in response to events from the Telemetry API. It does this by setting up an endpoint and registering itself with the Telemetry API on startup.

Supported events:

  • platform.initStart - The receiver uses this event to record the start time of the function initialization period. Once both start and end times are recorded, the receiver generates a span named platform.initRuntimeDone to record the event.
  • platform.initRuntimeDone - The receiver uses this event to record the end time of the function initialization period. Once both start and end times are recorded, the receiver generates a span named platform.initRuntimeDone to record the event.

Configuration

There are currently no configuration parameters available for this receiver. It can be enabled via the following configuration:

receivers:
    telemetryapi:

Documentation

Overview

Package telemetryapireceiver generates telemetry in response to events from the Telemetry API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(extensionID string) receiver.Factory

NewFactory creates a new receiver factory

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config defines the configuration for the various elements of the receiver agent.

func (*Config) Validate

func (cfg *Config) Validate() error

Validate validates the configuration by checking for missing or invalid fields

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL