Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jan 9, 2025
1 parent 6d77aee commit 1f6f3f4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,24 @@ If this flag is activated, last measure arrived to Device IoTAgent without be pr
lastMeasure field with in timestamp. This flag is overwritten by `storeLastMeasure` flag in group or device. This flag
is disabled by default.

For example in a device document stored in MongoDB will be extended with a subdocument named lastMeasure like this:

```json
{
"lastMeasure": {
"timestamp": "2025-01-09T10:35:33.079Z",
"measure": [
[
{
"name": "level",
"type": "Text"
}
]
]
}
}
```

### Configuration using environment variables

Some of the configuration parameters can be overriden with environment variables, to ease the use of those parameters
Expand Down

0 comments on commit 1f6f3f4

Please sign in to comment.