Skip to content

Commit

Permalink
update config example
Browse files Browse the repository at this point in the history
  • Loading branch information
wuriyanto authored and wuriyanto committed Aug 30, 2024
1 parent 77d7ade commit b9e14f9
Showing 1 changed file with 47 additions and 21 deletions.
68 changes: 47 additions & 21 deletions config_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,84 +4,104 @@
"kind": "postgresql",
"url": "postgres://demo:12345@localhost:5432/demo?sslmode=disable",
"checkInterval": 10,
"enable": false
"enable": false,
"tags": ["product 1", "product 2"]
},

"postgresql_two": {
"kind": "postgresql",
"url": "postgres://demo:12345@localhost:5433/demo?sslmode=disable",
"checkInterval": 10,
"enable": true
"enable": false,
"tags": ["product 1", "product 2"]
},

"oracle_one": {
"kind": "oracle",
"url": "oracle://username:pass%[email protected]:1521/servicename",
"checkInterval": 10,
"enable": false,
"tags": ["product 1", "product 2"]
},

"mongodb_one": {
"kind": "mongodb",
"url": "mongodb://admin:admin@localhost:27017",
"checkInterval": 10,
"enable": true
"enable": false,
"tags": ["product 2"]
},

"mysql_one": {
"kind": "mysql",
"url": "demo:123456@tcp(127.0.0.1:3306)/demo",
"checkInterval": 5,
"enable": true
"enable": false,
"tags": ["product 1"]
},

"redis_one": {
"kind": "redis",
"url": "redis://:[email protected]:6379",
"checkInterval": 5,
"enable": false
"enable": false,
"tags": ["product 1", "product 2", "product 3"]
},

"minio_one": {
"kind": "web",
"url": "https://minio-storage.com/minio/health/ready",
"checkInterval": 10,
"enable": true
"enable": false,
"tags": ["product 1", "product 2"]
},

"elasticsearch_cluster_one": {
"kind": "elasticsearch",
"url": "http://elastic:devpass@localhost:9200/_cluster/health?pretty",
"checkInterval": 10,
"enable": true
"enable": false,
"tags": ["product 1", "product 2"]
},

"kafka_cluster_one": {
"kind": "kafka",
"url": "kafka://myname:[email protected]:9093,10.1.1.2:9093,10.1.1.3:9093",
"checkInterval": 5,
"enable": true
"enable": false,
"tags": ["product 1", "product 2"]
},

"kafka_local": {
"kind": "kafka",
"url": "kafka://127.0.0.1:9092",
"checkInterval": 5,
"enable": true
"enable": false,
"tags": ["product 1", "product 2"]
},

"airflow_one": {
"kind": "airflow",
"url": "http://localhost:8080/health",
"checkInterval": 10,
"enable": true
"enable": false,
"tags": ["product 1"]
},

"airflow_flower_one": {
"kind": "airflowflower",
"url": "http://localhost:9090",
"checkInterval": 10,
"enable": true
"enable": false,
"tags": ["product 1", "product 2"]
},

"dummy_one": {
"kind": "dummy",
"url": "https://minio-storage.com/minio/health/ready",
"checkInterval": 5,
"enable": true
"enable": true,
"tags": ["product 1", "product 2"]
},

"server_1_storage_status": {
Expand All @@ -90,7 +110,8 @@
"checkInterval": 5,
"thresholdDiskUsage": 5,
"fileSystem": "/dev/sdd",
"enable": true
"enable": false,
"tags": ["product 1", "product 2"]
}
},

Expand All @@ -104,7 +125,7 @@
"@8XXXXXXXXXXXXXXXXX",
"@here"
],
"enable": true
"enable": false
},
{
"name": "BoyBot2",
Expand All @@ -114,7 +135,7 @@
"@8XXXXXXXXXXXXXXXXX",
"@here"
],
"enable": true
"enable": false
}
],

Expand All @@ -141,15 +162,20 @@
"telegram": {
"botToken": "XXXXXXXXXX:XXXXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXX",
"groupId": "-111111111",
"enable": true
"enable": false
},

"webhook": {
"url": "https://api.yourcompany.com/v1/webhook/tob",
"tobToken": "tob-token-12345",
"enable": true
}
"webhook": [
{
"url": "http://localhost:9115/api/tob/webhook",
"tobToken": "tob-token-12345",
"enable": true
}
]
},

"dashboardHttpPort": 9115,
"dashboardTitle": "My Product Monitoring Dashboard",

"version": "1.0.0"
}

0 comments on commit b9e14f9

Please sign in to comment.