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

View File

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