Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttributionTotals ¶ added in v1.54.1
type AttributionTotals map[AttributionTotalsIndex]Total
AttributionTotals is a map of attribution totals per user agent, project ID, and bucket name combination.
func ProcessAttributions ¶ added in v1.57.1
func ProcessAttributions(rows []*attribution.BucketUsage, userAgents []string, log *zap.Logger) AttributionTotals
ProcessAttributions sums all bucket attribution by the first entry in the user agent, project ID, and bucket name.
type AttributionTotalsIndex ¶ added in v1.57.1
AttributionTotalsIndex is a key into AttributionTotals.
Click to show internal directories.
Click to hide internal directories.