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 (*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)
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"
Click to show internal directories.
Click to hide internal directories.