otlpencodingextension

package module
v0.109.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

README

OTLP encoding extension

Status
Stability alpha
Distributions []
Issues Open issues Closed issues
Code Owners @dao-jun, @VihasMakwana

This extension unmarshals and marshals data encoded according to the OTLP specification.

It accepts OTLP data encoded using Protobuf or JSON protocols.

Example using Protobuf protocol:

extensions:
  otlp_encoding:
    protocol: otlp_proto

Example using JSON protocol:

extensions:
  otlp_encoding:
    protocol: otlp_json

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() extension.Factory

Types

type Config

type Config struct {
	Protocol string `mapstructure:"protocol"`
}

func (*Config) Validate

func (c *Config) Validate() error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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