Documentation
¶
Index ¶
- Constants
- func ArchiveKey(projectId, profileId uuid.UUID, recordedAt time.Time) string
- func BuildRows(projectId uuid.UUID, decoded []Decoded) ([]models.ProfileStack, []models.ProfileSample, []models.Profile)
- func HashFrames(frames []string) uint64
- func LabelAllowKeys(additional []string) []string
- func NewLabelAllowSet(additional []string) map[string]struct{}
- func RawArchiveEnabled() bool
- func StampArchive(projectId uuid.UUID, recordedAt time.Time, profiles []models.Profile) (string, bool)
- type Decoded
- type Decoder
- type IngestContext
- type Meta
- type OTLPDecoder
- type PprofDecoder
- type Sample
- type Stack
Constants ¶
View Source
const LabelEndpoint = "endpoint"
View Source
const MaxLabelValuesPerKey = 1000
Variables ¶
This section is empty.
Functions ¶
func ArchiveKey ¶ added in v1.8.11
func BuildRows ¶ added in v1.8.9
func BuildRows(projectId uuid.UUID, decoded []Decoded) ([]models.ProfileStack, []models.ProfileSample, []models.Profile)
func HashFrames ¶
func LabelAllowKeys ¶ added in v1.8.12
func NewLabelAllowSet ¶ added in v1.8.12
func RawArchiveEnabled ¶ added in v1.8.11
func RawArchiveEnabled() bool
Types ¶
type Decoder ¶
type Decoder interface {
Decode(ctx IngestContext, payload []byte) ([]Decoded, error)
}
type IngestContext ¶
type OTLPDecoder ¶ added in v1.8.9
type OTLPDecoder struct{}
func (OTLPDecoder) Decode ¶ added in v1.8.9
func (OTLPDecoder) Decode(ctx IngestContext, payload []byte) ([]Decoded, error)
type PprofDecoder ¶
type PprofDecoder struct{}
func (PprofDecoder) Decode ¶
func (PprofDecoder) Decode(ctx IngestContext, payload []byte) ([]Decoded, error)
Click to show internal directories.
Click to hide internal directories.