Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
acf413d
Add metrics service components including configuration, processing, a…
rslater-cs Mar 13, 2026
97fe8c3
metrics tests
rslater-cs Mar 13, 2026
8511792
Virtual time and time harness to create system agnostic, deterministi…
rslater-cs Mar 13, 2026
01fb94c
Update README.md to include details on deterministic async test helpe…
rslater-cs Mar 13, 2026
09bbbf6
Changed bus protocol to http
rslater-cs Mar 16, 2026
185bbe2
Fixed false queue full message
rslater-cs Mar 16, 2026
263080d
Add comprehensive documentation for Metrics Service configuration and…
rslater-cs Mar 16, 2026
3f01030
fixed linter issue
rslater-cs Mar 16, 2026
d376a6a
Refine PipelineEntry alias by removing unused field
rslater-cs Mar 16, 2026
53179a6
Clarify process block arguments in metrics documentation
rslater-cs Mar 16, 2026
fc1a5d0
Update time sync topic format in metrics service
rslater-cs Mar 17, 2026
e262e74
Add setup and teardown methods to TestMetricsService for clock manage…
rslater-cs Mar 17, 2026
8c84a06
Fix typos and improve clarity in metrics documentation
rslater-cs Mar 17, 2026
329d0da
increase time between metric publications
rslater-cs Mar 17, 2026
8e3e941
Update metric topics and improve topic validation logic
rslater-cs Mar 17, 2026
211542b
Improve array validation and enhance channel metadata assignment in c…
rslater-cs Mar 17, 2026
a6d23c1
Enhance initial value validation in DiffTrigger and DeltaValue constr…
rslater-cs Mar 17, 2026
6415282
Fix scheduler wheel time restoration in virtual clock installation
rslater-cs Mar 17, 2026
3ed9214
Add validation for topic parameter in SenML encoding function
rslater-cs Mar 17, 2026
9d10d18
Add logging for cloud and mainflux config loading in metrics service
rslater-cs Mar 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
372 changes: 372 additions & 0 deletions docs/specs/metrics.md

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions src/configs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
},
"metrics": {
"cloud_url": "$CLOUD_URL",
"publish_period": 10,
"publish_period": 60,
"templates": {
"network_stat": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand All @@ -53,7 +53,7 @@
]
},
"any_change": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand All @@ -62,7 +62,7 @@
]
},
"percent_5": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand All @@ -72,7 +72,7 @@
]
},
"absolute_10": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand Down Expand Up @@ -150,7 +150,7 @@
"template": "any_change"
},
"boot_time": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand All @@ -175,7 +175,7 @@
"template": "percent_5"
},
"temperature": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand All @@ -185,7 +185,7 @@
]
},
"alloc": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "TimeTrigger",
Expand All @@ -194,7 +194,7 @@
]
},
"internal": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand Down Expand Up @@ -303,11 +303,11 @@
"template": "any_change"
},
"session_start": {
"protocol": "log",
"protocol": "http",
"process": []
},
"session_end": {
"protocol": "log",
"protocol": "http",
"process": []
},
"hostname": {
Expand All @@ -317,7 +317,7 @@
"template": "percent_5"
},
"power": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand All @@ -331,7 +331,7 @@
"template": "any_change"
},
"noise": {
"protocol": "log",
"protocol": "http",
"process": [
{
"type": "DiffTrigger",
Expand Down
Loading