otel

package
v1.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package otel implements the otel service. This service registers feature gates will be used by the otelcol components based on upstream Collector components.

Index

Constants

View Source
const ServiceName = "otel"

ServiceName defines the name used for the otel service.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

func New

func New(logger log.Logger) *Service

func (*Service) Data

func (*Service) Data() any

Data implements service.Service. It returns nil, as the otel service does not have any runtime data.

func (*Service) Definition

func (*Service) Definition() service.Definition

Definition implements service.Service.

func (*Service) Run

func (s *Service) Run(ctx context.Context, host service.Host) error

Run implements service.Service.

func (*Service) Update

func (*Service) Update(newConfig any) error

Update implements service.Service.

Jump to

Keyboard shortcuts

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