sccconnector

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

README

This is a connector for the collector to continiously monitor telemetry's adhearence to semantic convetion.

To use use a colelctor with this built in, and add this to your confing:

connectors:
  scc:

service:
  pipelines:
    # This is your normal pipeline, add scc to it.
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp, scc]
    metrics:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp, scc]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp, scc]
    # This is your scc logs data
    logs/2:
      receivers: [scc]
      exporters: [otlp]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() connector.Factory

NewFactory creates a factory for example connector.

Types

type Config

type Config struct {
	Trace           []match.Match `mapstructure:"trace"`
	Metrics         []match.Match `mapstructure:"metrics"`
	Log             []match.Match `mapstructure:"log"`
	ReportUnmatched bool          `mapstructure:"report_unmatched"`
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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