Documentation ¶
Overview ¶
Copyright (c) F5, Inc.
This source code is licensed under the Apache License, Version 2.0 license found in the LICENSE file in the root directory of this source tree.
Copyright (c) F5, Inc.
This source code is licensed under the Apache License, Version 2.0 license found in the LICENSE file in the root directory of this source tree.
Copyright (c) F5, Inc.
This source code is licensed under the Apache License, Version 2.0 license found in the LICENSE file in the root directory of this source tree.
Copyright (c) F5, Inc.
This source code is licensed under the Apache License, Version 2.0 license found in the LICENSE file in the root directory of this source tree.
Index ¶
- func BuildInfo(cfg *config.Config) component.BuildInfo
- func ConfigProviderSettings(cfg *config.Config) otelcol.ConfigProviderSettings
- func OTelCollectorSettings(cfg *config.Config) otelcol.CollectorSettings
- func OTelComponentFactories() (otelcol.Factories, error)
- type Collector
- func (oc *Collector) Close(ctx context.Context) error
- func (oc *Collector) GetState() otelcol.State
- func (oc *Collector) Info() *bus.Info
- func (oc *Collector) Init(ctx context.Context, mp bus.MessagePipeInterface) error
- func (oc *Collector) Process(ctx context.Context, msg *bus.Message)
- func (oc *Collector) Subscriptions() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInfo ¶
BuildInfo returns all the OTel collector BuildInfo supported based on https://github.com/DataDog/datadog-agent/blob/main/comp/otelcol/collector-contrib/impl/collectorcontrib.go
func ConfigProviderSettings ¶
func ConfigProviderSettings(cfg *config.Config) otelcol.ConfigProviderSettings
ConfigProviderSettings are the settings to configure the behavior of the ConfigProvider.
func OTelCollectorSettings ¶
func OTelCollectorSettings(cfg *config.Config) otelcol.CollectorSettings
func OTelComponentFactories ¶
OTelComponentFactories returns all the OTel collector components supported based on https://github.com/DataDog/datadog-agent/blob/main/comp/otelcol/collector-contrib/impl/collectorcontrib.go
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector The OTel collector plugin start an embedded OTel collector for metrics collection in the OTel format.
func (*Collector) Subscriptions ¶
Subscriptions returns the list of topics the plugin is subscribed to
Directories ¶
Path | Synopsis |
---|---|
typesfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |