Documentation ¶
Overview ¶
Package otel2influx is temporarily copied from github.com/influxdata/influxdb-observability/otel2influx to unblock the collector release. Once https://github.com/influxdata/influxdb-observability/pull/182 is merged, this package can be removed.
Index ¶
- func AttributeValueToInfluxFieldValue(value pcommon.Value) (interface{}, error)
- func AttributeValueToInfluxTagValue(value pcommon.Value) (string, error)
- func InstrumentationScopeToTags(instrumentationLibrary pcommon.InstrumentationScope, tags map[string]string) (tagsAgain map[string]string)
- func ResourceToTags(logger common.Logger, resource pcommon.Resource, tags map[string]string) (tagsAgain map[string]string)
- type DependencyGraph
- type InfluxWriter
- type InfluxWriterBatch
- type JaegerDependencyGraph
- type OtelLogsToLineProtocol
- type OtelMetricsToLineProtocol
- type OtelTracesToLineProtocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DependencyGraph ¶
type InfluxWriter ¶
type InfluxWriter interface {
NewBatch() InfluxWriterBatch
}
type InfluxWriterBatch ¶
type JaegerDependencyGraph ¶
type JaegerDependencyGraph struct {
// contains filtered or unexported fields
}
func NewJaegerDependencyGraph ¶
func NewJaegerDependencyGraph(logger common.Logger, cacheMaxTrace, queueLength int, w InfluxWriter) (*JaegerDependencyGraph, error)
func (*JaegerDependencyGraph) ReportSpan ¶
type OtelLogsToLineProtocol ¶
type OtelLogsToLineProtocol struct {
// contains filtered or unexported fields
}
func NewOtelLogsToLineProtocol ¶
func NewOtelLogsToLineProtocol(logger common.Logger, writer InfluxWriter) *OtelLogsToLineProtocol
type OtelMetricsToLineProtocol ¶
type OtelMetricsToLineProtocol struct {
// contains filtered or unexported fields
}
func NewOtelMetricsToLineProtocol ¶
func NewOtelMetricsToLineProtocol(logger common.Logger, iw InfluxWriter, schema common.MetricsSchema) (*OtelMetricsToLineProtocol, error)
func (*OtelMetricsToLineProtocol) WriteMetrics ¶
type OtelTracesToLineProtocol ¶
type OtelTracesToLineProtocol struct {
// contains filtered or unexported fields
}
func NewOtelTracesToLineProtocol ¶
func NewOtelTracesToLineProtocol(logger common.Logger, w InfluxWriter) (*OtelTracesToLineProtocol, error)
func (*OtelTracesToLineProtocol) Shutdown ¶
func (c *OtelTracesToLineProtocol) Shutdown(ctx context.Context) error
func (*OtelTracesToLineProtocol) WriteTraces ¶
Click to show internal directories.
Click to hide internal directories.