Patent attributes
Devices and processes perform a metrics aggregation process within the context of a serverless compute environment that includes a fleet of execution environment containers for executing ephemeral functions. In response to receipt of triggering events, functions, registered to handle the events, are launched in separate execution environments of an event-driven compute service. The functions generate metrics that are sent to the execution environment via a call (e.g., via asynchronous call) to the execution environment, and the functions may retire, without saving execution state for the function, and before the execution environment passes the metrics to an intermediate metrics aggregation service. The metric aggregation system receives the metrics generated by the fleet of instances of the function from the plurality of execution environments of the event-driven compute service, batch processes the metrics into an aggregated record, and transmits the aggregate record to a metrics reporting service.