Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CumulativeInstanceData ¶
type CumulativeUsageFetcher ¶
type CumulativeUsageFetcher struct {
// contains filtered or unexported fields
}
func NewCumulativeUsageFetcher ¶
func NewCumulativeUsageFetcher(logCacheClient LogCacheClient) CumulativeUsageFetcher
func (CumulativeUsageFetcher) FetchInstanceData ¶
type CurrentInstanceData ¶
type CurrentUsageFetcher ¶
type CurrentUsageFetcher struct {
// contains filtered or unexported fields
}
func NewCurrentUsageFetcher ¶
func NewCurrentUsageFetcher(client LogCacheClient) CurrentUsageFetcher
func NewCurrentUsageFetcherWithFallbackFetcher ¶
func NewCurrentUsageFetcherWithFallbackFetcher(client LogCacheClient, fallbackFetcher Fetcher) CurrentUsageFetcher
func (CurrentUsageFetcher) FetchInstanceData ¶
type LastSpikeFetcher ¶
type LastSpikeFetcher struct {
// contains filtered or unexported fields
}
func NewLastSpikeFetcher ¶
func NewLastSpikeFetcher(client LogCacheClient, since time.Time) *LastSpikeFetcher
func (LastSpikeFetcher) FetchInstanceData ¶
type LastSpikeInstanceData ¶
type LogCacheClient ¶
type LogCacheClient interface { Read(ctx context.Context, sourceID string, start time.Time, opts ...logcache.ReadOption) ([]*loggregator_v2.Envelope, error) PromQL(ctx context.Context, query string, opts ...logcache.PromQLOption) (*logcache_v1.PromQL_InstantQueryResult, error) PromQLRange(ctx context.Context, query string, opts ...logcache.PromQLOption) (*logcache_v1.PromQL_RangeQueryResult, error) }
type ProcessInstanceIDFetcher ¶
type ProcessInstanceIDFetcher struct {
// contains filtered or unexported fields
}
func NewProcessInstanceIDFetcher ¶
func NewProcessInstanceIDFetcher(client LogCacheClient) ProcessInstanceIDFetcher
func NewProcessInstanceIDFetcherWithLimit ¶
func NewProcessInstanceIDFetcherWithLimit(client LogCacheClient, limit int) ProcessInstanceIDFetcher
Source Files ¶
Click to show internal directories.
Click to hide internal directories.