Documentation ¶
Index ¶
- Constants
- type Provider
- func (provider *Provider) FetchForObject(ctx context.Context, object utilobject.VersionedKey, mainTags model.KeyValues, ...) (*extension.FetchResult, error)
- func (provider *Provider) FetchForVersion(ctx context.Context, object utilobject.VersionedKey, resourceVersion string, ...) (*extension.FetchResult, error)
- func (provider *Provider) Kind() string
- func (provider *Provider) LoadCache(ctx context.Context, jsonBuf []byte) ([]*model.Span, error)
- func (provider *Provider) MaxConcurrency() int
- func (provider *Provider) RawConfig() []byte
- func (provider *Provider) TotalTimeout() time.Duration
- type ProviderArgs
- type Storage
Constants ¶
View Source
const DefaultNumTracesLimit = 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) FetchForObject ¶
func (provider *Provider) FetchForObject( ctx context.Context, object utilobject.VersionedKey, mainTags model.KeyValues, start, end time.Time, ) (*extension.FetchResult, error)
func (*Provider) FetchForVersion ¶
func (provider *Provider) FetchForVersion( ctx context.Context, object utilobject.VersionedKey, resourceVersion string, mainTags model.KeyValues, start, end time.Time, ) (*extension.FetchResult, error)
func (*Provider) MaxConcurrency ¶
func (*Provider) TotalTimeout ¶
type ProviderArgs ¶
type ProviderArgs struct { StorageArgs map[string]string `json:"storageArgs"` Service string `json:"service"` Operation string `json:"operation"` TagTemplates map[string]string `json:"tagTemplates"` NumTracesLimit int `json:"numTracesLimit"` ForObject bool `json:"forObject"` ForAuditEvent bool `json:"forAuditEvent"` TotalTimeout string `json:"totalTimeout"` MaxConcurrency int `json:"maxConcurrency"` }
Click to show internal directories.
Click to hide internal directories.