You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/11/16 11:13:31 UTC

[brooklyn-server] 01/05: Include YamlRollingTimeWindowMeanEnricher and YamlTimeWeightedDeltaEnricher into catalog

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git

commit 06fc469a4c58a87df5513657dc51735fcc361418
Author: Mykola Mandra <my...@cloudsoft.io>
AuthorDate: Thu Nov 11 15:32:39 2021 +0000

    Include YamlRollingTimeWindowMeanEnricher and YamlTimeWeightedDeltaEnricher into catalog
    
    Signed-off-by: Mykola Mandra <my...@cloudsoft.io>
---
 policy/src/main/resources/catalog.bom | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/policy/src/main/resources/catalog.bom b/policy/src/main/resources/catalog.bom
index 9beef61..6f454fa 100644
--- a/policy/src/main/resources/catalog.bom
+++ b/policy/src/main/resources/catalog.bom
@@ -109,13 +109,23 @@ brooklyn.catalog:
         description: |
           Transforms a sensor into a rolling average based on a fixed window size. 
           This is useful for smoothing sample type metrics, such as latency or CPU time.
+    - id: org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher
+      item:
+        type: org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher
+        name: "Rolling Mean in Time Window"
+        description: "Transforms sensor data into a rolling average based on a time window"
     - id: org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher
       item:
         type: org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher
         name: Time-fraction Delta
         description: |
-          Converts an absolute measure of time into a fraction of time, 
+          Converts an absolute measure of time into a fraction of time,
           based on the delta between consecutive values and the elapsed time between those values.
+    - id: org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher
+      item:
+        type: org.apache.brooklyn.enricher.stock.TimeWeightedDeltaEnricher
+        name: "Time Weighted Delta"
+        description: "Converts an absolute count sensor into a delta sensor"
     - id: org.apache.brooklyn.policy.ha.ServiceFailureDetector
       item:
         type: org.apache.brooklyn.policy.ha.ServiceFailureDetector