otel

package
v0.0.0-...-c9f1df4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExternalHighlightData = e.New("dropping otel data from external highlight instance")
View Source
var IgnoredSpanNamePrefixes = []string{"fs "}

Functions

This section is empty.

Types

type DataPoint

type DataPoint interface {
	ToMetricRow(ctx context.Context, retentionDays uint8, metricType pmetric.MetricType, fields *extractedFields) clickhouse.MetricRow
	ExtractAttributes() map[string]any
}

type ExponentialHistogramDataPoint

type ExponentialHistogramDataPoint struct {
	pmetric.ExponentialHistogramDataPoint
}

func (*ExponentialHistogramDataPoint) ExtractAttributes

func (dp *ExponentialHistogramDataPoint) ExtractAttributes() map[string]any

func (*ExponentialHistogramDataPoint) ToMetricRow

func (dp *ExponentialHistogramDataPoint) ToMetricRow(ctx context.Context, retentionDays uint8, metricType pmetric.MetricType, fields *extractedFields) clickhouse.MetricRow

type Handler

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

func New

func New(resolver *graph.Resolver) *Handler

func (*Handler) HandleLog

func (o *Handler) HandleLog(w http.ResponseWriter, r *http.Request)

func (*Handler) HandleMetric

func (o *Handler) HandleMetric(w http.ResponseWriter, r *http.Request)

func (*Handler) HandleTrace

func (o *Handler) HandleTrace(w http.ResponseWriter, r *http.Request)

func (*Handler) Listen

func (o *Handler) Listen(r *chi.Mux)

type HistogramDataPoint

type HistogramDataPoint struct {
	pmetric.HistogramDataPoint
}

func (*HistogramDataPoint) ExtractAttributes

func (dp *HistogramDataPoint) ExtractAttributes() map[string]any

func (*HistogramDataPoint) ToMetricRow

func (dp *HistogramDataPoint) ToMetricRow(ctx context.Context, retentionDays uint8, metricType pmetric.MetricType, fields *extractedFields) clickhouse.MetricRow

type NumberDataPoint

type NumberDataPoint struct {
	pmetric.NumberDataPoint
}

func (*NumberDataPoint) ExtractAttributes

func (dp *NumberDataPoint) ExtractAttributes() map[string]any

func (*NumberDataPoint) ToMetricRow

func (dp *NumberDataPoint) ToMetricRow(ctx context.Context, retentionDays uint8, metricType pmetric.MetricType, fields *extractedFields) clickhouse.MetricRow

type SummaryDataPoint

type SummaryDataPoint struct {
	pmetric.SummaryDataPoint
}

func (*SummaryDataPoint) ExtractAttributes

func (dp *SummaryDataPoint) ExtractAttributes() map[string]any

func (*SummaryDataPoint) ToMetricRow

func (dp *SummaryDataPoint) ToMetricRow(ctx context.Context, retentionDays uint8, metricType pmetric.MetricType, fields *extractedFields) clickhouse.MetricRow

type SystemdKey

type SystemdKey = string
const Message SystemdKey = "MESSAGE"
const Priority SystemdKey = "PRIORITY"

Jump to

Keyboard shortcuts

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