Skip to content

The only tool you need to know what is happening and how to fix it.

1.0 KB
Raw Blame
package telemetry

import (
	"github.com/tracewayapp/traceway/backend/app/repositories/telemetry/shared"
)

// Aliases and re-exports so consumers keep using the telemetry package
// regardless of which telemetry backend is compiled in.
type (
	SessionAttributeFilter = shared.SessionAttributeFilter
	FiredNotification      = shared.FiredNotification
	CheckResult            = shared.CheckResult
	LogAttributeFilter     = shared.LogAttributeFilter
	LogSearchParams        = shared.LogSearchParams
	SpanLookup             = shared.SpanLookup
	SLOBucket              = shared.SLOBucket
	SLOBucketPoint         = shared.SLOBucketPoint
	EndpointSLISpec        = shared.EndpointSLISpec
	TaskSLISpec            = shared.TaskSLISpec
	SpanSLISpec            = shared.SpanSLISpec
	SessionSLISpec         = shared.SessionSLISpec
	OtelSpanSearch         = shared.OtelSpanSearch
	OtelAttributeFilter    = shared.OtelAttributeFilter
)

var (
	ComputeImpactReason = shared.ComputeImpactReason
	ComputeImpactScore  = shared.ComputeImpactScore
)