Skip to content

Commit

Permalink
config update for poc v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ppnaik1890 committed Jun 17, 2024
1 parent ec72a2b commit 5818cd7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion contrib/end2end/poc/controller/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ parameters:
input_data: [extracted_signals, signals_to_keep, signals_to_reduce]
output_data: [r_value]
config:
signal_filter_template: "app_A_network_utilization_metric_0|cluster_network_metric_0"
signal_filter_template: "app_A_network_utilization_metric_0|cluster_network_metric_0|k8s_pod_network_bytes|nwdaf_5G_network_utilization"
signal_name_template: "$original_name"
signal_condition_template: "cluster=$cluster and instance=$instance"
processor_id_template: "$processor"
Expand Down
5 changes: 3 additions & 2 deletions contrib/end2end/poc/manager/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ APP_URL_PREFIX: "/api/v1"
LOG_FILE: "./app/logs/manager.log"
PROCESSORS_FOLDER: "./app/processors"
RULES_FOLDER: "./app/rules"
PROCESSOR_1_URL: "http://pmf_processor1:8100/morphchain"
PROCESSOR_2_URL: "http://pmf_processor2:8101/morphchain"
PROCESSOR_east_URL: "http://pmf_processor1:8100/morphchain"
PROCESSOR_west_URL: "http://pmf_processor2:8101/morphchain"
ALERTMANAGER_URL: "http://ruler_config:8090"
CONTROLLER_URL: "http://controller:5000/api/v1/rerun"
4 changes: 2 additions & 2 deletions manager/configurator/tests/demo_2rules.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rules:
- rule_id: rule_1
processors: ['1']
processors: ['east']
expr: (app_A_network_metric_0{IP="192.168.1.3"}) > 200
duration: 1s
description: rule to filter metrics
Expand All @@ -19,7 +19,7 @@ rules:
resolved_action:
action_type: delete_dag
- rule_id: rule_2
processors: ['2']
processors: ['west']
expr: (cluster_hardware_metric_0{node="0"}) > 200
duration: 1s
description: rule to change frequency for cluster metric to 5sec
Expand Down

0 comments on commit 5818cd7

Please sign in to comment.