Documentation
¶
Index ¶
- Constants
- func CreateProfileAnnotation(source *sampling.Source) ([]byte, error)
- func CreateTenantAnnotation(c *ingestlimits.Config) ([]byte, error)
- func CreateUsageGroupAnnotation(c *ingestlimits.Config, usageGroup string) ([]byte, error)
- type ProfileAnnotation
- type SampledAnnotation
- type ThrottledAnnotation
Constants ¶
View Source
const ( ProfileAnnotationKeyThrottled = "pyroscope.ingest.throttled" ProfileAnnotationKeySampled = "pyroscope.ingest.sampled" )
Variables ¶
This section is empty.
Functions ¶
func CreateProfileAnnotation ¶
func CreateTenantAnnotation ¶
func CreateTenantAnnotation(c *ingestlimits.Config) ([]byte, error)
func CreateUsageGroupAnnotation ¶
func CreateUsageGroupAnnotation(c *ingestlimits.Config, usageGroup string) ([]byte, error)
Types ¶
type ProfileAnnotation ¶
type ProfileAnnotation struct {
Body interface{} `json:"body"`
}
type SampledAnnotation ¶
type ThrottledAnnotation ¶
Click to show internal directories.
Click to hide internal directories.