Skip to content

Commit

Permalink
rm leak
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtribk12 committed Aug 30, 2024
1 parent 9992608 commit e2c51e3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions config/rohe_obs_conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"amqp_collector": {
"class": "amqp",
"conf": {
"end_point": "195.148.22.62",
"end_point": "localhost",
"exchange_name": "exchange_name",
"exchange_type": "topic",
"in_queue": "collector_1",
Expand All @@ -15,7 +15,7 @@
"amqp_connector": {
"class": "amqp",
"conf": {
"end_point": "195.148.22.62",
"end_point": "localhost",
"exchange_name": "exchange_name",
"exchange_type": "topic",
"out_routing_key": "out_routing_key"
Expand All @@ -25,7 +25,7 @@
"database": {
"collection": "registration",
"db_name": "rohe_observation",
"url": "mongodb://195.148.22.62:27017/"
"url": "mongodb://localhost:27017/"
},
"false_rate": 3,
"output_folder": "/results/",
Expand Down
4 changes: 2 additions & 2 deletions example/bts/bts_client/client_v0.0.3/client.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"broker_service": {
"broker": "AMQP",
"url": "195.148.22.62"
"url": "localhost"
},
"data_normalize": {
"max": 12.95969626,
Expand Down Expand Up @@ -49,6 +49,6 @@
"service": "request"
},
"service_name": "bts",
"url": "http://195.148.22.62:8181/v1/data/qoa4ml/bts/alarm/violation"
"url": "http://localhost:8181/v1/data/qoa4ml/bts/alarm/violation"
}
}
2 changes: 1 addition & 1 deletion example/bts/qoa_server/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ scrape_configs:
- job_name: node_exporter
scrape_interval: 1s
static_configs:
- targets: ["192.168.1.156:9098"]
- targets: ["localhost:9098"]
2 changes: 1 addition & 1 deletion example/bts/qoa_server/qoa_config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"broker_info": {
"broker": "AMQP",
"url": "195.148.22.62"
"url": "localhost"
},
"prom_info": {
"metric": {
Expand Down
2 changes: 1 addition & 1 deletion observability/qoa4mlopa/bts_example/submit_contract.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# e.g., parameter $1 '195.148.22.62:8181/v1/data/bts/contract'
# e.g., parameter $1 'localhost:8181/v1/data/bts/contract'
# e.g., parameter $2: @contract.json
echo "DEBUG: call $1 with $2"
curl --location --request PUT "$1" -H 'Content-Type: application/json' -d "$2"
2 changes: 1 addition & 1 deletion observability/qoa4mlopa/bts_example/submit_policies.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# e.g., parameter $1 '195.148.22.62:8181/v1/policies/bts'
# e.g., parameter $1 'localhost:8181/v1/policies/bts'
# e.g., parameter $2: @bts.rego
echo "DEBUG: call $1 with $2"
curl --location --request PUT "$1" -H 'Content-Type: text/plain' --data-binary "$2"

0 comments on commit e2c51e3

Please sign in to comment.