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