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 IsGauge(profileType string) bool
- 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 ( TypeCPUNanos = "go:profile_cpu:nanoseconds" TypeHeapInuseSpace = "go:profile_heap:inuse_space" TypeHeapAllocSpace = "go:profile_heap:alloc_space" )
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 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.