Macros§
- Metric
Event Payload Unknown - Pattern that matches an unknown
MetricEventPayload
member.
Structs§
- Histogram
Bucket - One bucket of a histogram, used by the method LogIntegerHistogram.
- Metric
Event - A specification of an event that occurred to be passed to LogMetricEvents().
- Metric
Event Logger LogInteger Histogram Request - Metric
Event Logger LogInteger Request - Metric
Event Logger LogMetric Events Request - Metric
Event Logger LogOccurrence Request - Metric
Event Logger LogString Request - Project
Spec - A specification identifying a project to log events for.
Enums§
- Error
- Error codes for MetricEventLogger operations.
- Metric
Event Payload - The variadic part of a MetricEvent.
Constants§
- MAX_
BATCHED_ EVENTS - Maximum number of events that may be logged in a single FIDL call.
- MAX_
BYTES_ PER_ EVENT - The maximum size of a single Event is 100 KB.
- MAX_
EXPERIMENT_ IDS - Maximum number of experiment ids that can be provided to a single logger.
- MAX_
HISTOGRAM_ BUCKETS - This is intended as a reasonable maximum number of histogram buckets per event.
- MAX_
METRIC_ DIMENSIONS - Maximum number of event codes that can be associated with a single event.
- MAX_
STRING_ EVENT_ SIZE - String events should not be longer than this.
Type Aliases§
- Event
Vector - A vector of event codes. When used in one of the Log*() calls below, there must be one event code for each dimension of the metric whose metric_id is supplied, or else the call will return INVALID_ARGUMENTS.
- Integer
Histogram - A histogram that assigns a count to each of several integer ranges. To save space/memory/bandwidth, each bucket index should only be included once, and empty buckets should not be included. The order of the vector is immaterial.