This information is for Chronosphere Telemetry Pipeline, which is a standalone product separate from Chronosphere Observability Platform.
Configuration parameters
Use the parameters in this section to configure the . The Telemetry Pipeline web interface uses the items in the Name column to describe these parameters. Pipeline configuration files use the items in the Key column as YAML keys.Compute syntax
The aggregate records processing rule offers three compute functions:sum, average, and count. To use these functions, the Compute keys
configuration parameter expects a JSON object with the following syntax:
"selectKey": "value": This key and value match the Select keys parameter, and together represent the log groups for which metrics are computed. If Select keys includes multiple keys, all keys and their corresponding values are included.countMetric: The number of times that"selectKey": "value"occurred within the specified time window.averageMetric: The mean value ofKEY_TO_COMPUTEwithin the specified time window and group.sumMetric: The sum of allKEY_TO_COMPUTEvalues within the specified time window and group.
Example
Using the aggregate records rule lets you retain information about the logs that pass through your pipeline without needing to retain each individual log. For example, given this sample JSON data:60, the Select keys value
["profession"], and the Compute keys value
{"headcount":["count"],"averageAge":["average","age"],"totalProjects":["sum","projects"]}
returns the following result:
profession key had four possible values, this
rule created four groups (designer, programmer, chef, and architect), and
then computed the following metrics for each group:
averageAge: The meanagevalue of every person within that group.headcount: The number of people within that group.totalProjects: The combined number of projects completed by the people within that group.

