readme and config update

pull/6/head
prplV 2025-02-13 12:53:21 +03:00
parent 0fe75be43b
commit 8362b50bcb
2 changed files with 35 additions and 37 deletions

View File

@ -9,7 +9,7 @@
| Crate (submodule) | Progress |
|---|---|
|`api-grub` | ✅✅✅✅✅✅✅✅✅🔲 |
|`config-delivery` | ✅✅✅✅✅✅✅🔲🔲🔲 |
|`integrs-structs` | ✅✅✅✅✅✅✅✅🔲🔲 |
|`preproc` | ✅✅✅❌❌❌❌❌❌❌ | (разработка временно остановлена)
|`api-grub` | ✅✅✅✅✅✅✅🛠️🛠️🛠️ |
|`config-delivery` | ✅✅✅✅✅✅✅🛠️🛠️🛠️ |
|`integrs-structs` | ✅✅✅✅✅✅✅✅✅✅ |
|`preproc` [temp-deprecated] | ✅✅✅❌❌❌❌❌❌❌ | (разработка временно остановлена)

View File

@ -1,34 +1,32 @@
{
"id" : 1 ,
"template" :
[{
"id" :"mock_api_1",
"name" : "Mock / ",
"url" : "http://127.0.0.1:8081/",
"method" : "GET",
"measure" :
[
"response", "test_metric_1", "test_metric_2",
"test_metric_3", "test_metric_4", "test_metric_5"
"config": [
{
"id":"demo_vcs_vinteo_dev_api",
"login" : "",
"pass" : "",
"api_key" : "6fe8b0db-62b4-4065-9c1e-441ec4228341.9acec20bd17d7178f332896f8c006452877a22b8627d089105ed39c5baef9711",
"period" : "",
"timeout" : "3",
"metrics" : [
{
"name": "conferences",
"url": "https://demo.vcs.vinteo.dev/api/v1/conferences",
"measure": [
{ "id":"number", "type": "text", "addr": "data.conferences[].number" },
{ "id":"total", "type": "integer", "addr": "data.total" },
{ "id":"participants_total", "type": "integer", "addr": "data.conferences[].participants.total" },
{ "id":"parts_total_in_each", "type": "integer", "addr": "data.conferences[description].participants.total" },
{ "id":"participants_online", "type": "integer", "addr": "data.conferences[].participants.online" }
]
},
{
"id" :"mock_api_2",
"name" : "Mock /ping ",
"url" : "http://127.0.0.1:8081/ping",
"method" : "GET",
"measure" :
[
"response", "test_metric_1", "test_metric_2",
"test_metric_3", "test_metric_4", "test_metric_5",
"empty_field"
"name": "abonents",
"url": "https://demo.vcs.vinteo.dev/api/v1/accounts",
"measure": [
{ "id":"total", "type": "integer", "addr": "data.total" }
]
}
],
"ip_address" : "127.0.0.1:8081",
"login" : "",
"pass" : "" ,
"api_key" : "908c709827bd40n98r7209837x98273",
"period" : 10,
"timeout" : 10
]
}
]
}