Skip to content

Commit

Permalink
Show support for metric connections in aggregated formula docs
Browse files Browse the repository at this point in the history
Fixes frequenz-floss#62

Signed-off-by: Stefan Brus <[email protected]>
  • Loading branch information
stefan-brus-frequenz committed Feb 3, 2025
1 parent 26b7162 commit 43ccd9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proto/frequenz/api/reporting/v1/reporting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ message AggregationConfig {
// 2. Dedicated formulas: These support basic math operators while concatenating microgrid
// component IDs.
// Example: `#1 + #2 - #3`, `(#3 * #2) /# 1`
//
// Additionally, metric connection identifiers can be used in the formula, for components
// that e.g. provide the same metric from multiple connections/sensors.
// Example: `sum(#1[connection0], #2, #3)`, `#1[connection0] + #2[connection1]`
string aggregation_formula = 3;
}

Expand Down

0 comments on commit 43ccd9e

Please sign in to comment.