github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/model/appmetadata/application_metadata.go (about) 1 package appmetadata 2 3 import "github.com/pyroscope-io/pyroscope/pkg/storage/metadata" 4 5 type ApplicationMetadata struct { 6 // Fully Qualified Name. Eg app.cpu ({__name__}.{profile_type}) 7 FQName string `gorm:"index,unique;not null;default:null" json:"name"` 8 9 SpyName string `json:"spyName,omitempty"` 10 SampleRate uint32 `json:"sampleRate,omitempty"` 11 Units metadata.Units `json:"units,omitempty"` 12 AggregationType metadata.AggregationType `json:"-"` 13 }