зеркало из https://github.com/Azure/iotedge.git
Родитель
777f2a557a
Коммит
1bec8de57e
|
@ -39,7 +39,7 @@ instance_number | A Guid representing the current runtime. On restart, all metri
|
|||
|-------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|
||||
| `edgehub_gettwin_total` | `source` (Operation source)<br> `id` (Module ID) | Total number of GetTwin calls | counter |
|
||||
| `edgehub_messages_received_total` | `route_output` (Output that sent the message)<br> `id` (Module ID) | Total number of messages received from clients | counter |
|
||||
| `edgehub_messages_sent_total` | `from` (Message source)<br> `to` (Message destination)<br>`from_route_output` (Output that sent the message)<br> `to_route_input` (Message destination input [empty when "to" is $upstream]) | Total number of messages sent to clients or upstream | counter |
|
||||
| `edgehub_messages_sent_total` | `from` (Message source)<br> `to` (Message destination)<br>`from_route_output` (Output that sent the message)<br> `to_route_input` (Message destination input [empty when "to" is $upstream])<br> `priority` (message priority to destination) | Total number of messages sent to clients or upstream | counter |
|
||||
| `edgehub_reported_properties_total` | `target`(Update target)<br> `id` (Module ID) | Total reported property updates calls | counter |
|
||||
| `edgehub_message_size_bytes` | `id` (Module ID)<br> `quantile`(Percentile [50, 90, 95, 99, 99.9, 99.99]) | P50, P90, P95, P99, P99.9 and P99.99 message size from clients. Values may be reported as `NaN` if no new measurements are reported for a certain period of time (currently 10 minutes). As this is `summary` type, corresponding `_count` and `_sum` counters will be emitted. | summary |
|
||||
| `edgehub_gettwin_duration_seconds` | `source` (Operation source)<br> `id` (Module ID)<br> `quantile`(Percentile [50, 90, 95, 99, 99.9, 99.99]) | P50, P90, P95, P99, P99.9 and P99.99 time taken for get twin operations. Values may be reported as `NaN` if no new measurements are reported for a certain period of time (currently 10 minutes). As this is `summary` type, corresponding `_count` and `_sum` counters will be emitted. | summary |
|
||||
|
@ -47,7 +47,7 @@ instance_number | A Guid representing the current runtime. On restart, all metri
|
|||
| `edgehub_reported_properties_update_duration_seconds` | `target` (Operation target)<br> `id` (Module ID)<br> `quantile`(Percentile [50, 90, 95, 99, 99.9, 99.99]) | P50, P90, P95, P99, P99.9 and P99.99 time taken to update reported properties. Values may be reported as `NaN` if no new measurements are reported for a certain period of time (currently 10 minutes). As this is `summary` type, corresponding `_count` and `_sum` counters will be emitted. | summary |
|
||||
| `edgehub_direct_method_duration_seconds` | `from` (Caller)<br> `to` (Reciever)<br> `quantile`(Percentile [50, 90, 95, 99, 99.9, 99.99]) | P50, P90, P95, P99, P99.9 and P99.99 time taken to resolve a direct message. Values may be reported as `NaN` if no new measurements are reported for a certain period of time (currently 10 minutes). As this is `summary` type, corresponding `_count` and `_sum` counters will be emitted. | summary |
|
||||
| `edgehub_direct_methods_total` | `from` (Message source)<br> `to` (Message destination) | Total number of direct messages sent | counter |
|
||||
| `edgehub_queue_length` | `endpoint` (Message source)<br> | Current length of edgeHub's queue | gauge |
|
||||
| `edgehub_queue_length` | `endpoint` (Message source)<br> `priority` (queue priority) | Current length of edgeHub's queue for a given priority | gauge |
|
||||
|
||||
|
||||
### EdgeAgent
|
||||
|
|
|
@ -22,7 +22,7 @@ Since message priority and TTL are associated with routes, the route section of
|
|||
|Property name | Description | Default Value |
|
||||
|-------------------|-----------------------|---------------------------|
|
||||
|*route* |The routing string, same as existing version.<br>FROM *[source]* WHERE *[condition]* INTO *[sink]* |Must be present |
|
||||
|*priority* |UINT value specifying the priority for this route.<br>0-9, with 0 being highest priority.<br>If more than one route has the same priority on the same endpoint, then messages are handled on a first-come-first-serve basis (existing behavior).|2,000,000,000|
|
||||
|*priority* |UINT value specifying the priority for this route.<br>0-9, with 0 being highest priority.<br>If more than one route has the same priority on the same endpoint, then messages are handled on a first-come-first-serve basis (existing behavior).|>10 (lowest priority)|
|
||||
|*timeToLiveSecs* |The TTL for this route, overrides the legacy value in *storeAndForwardConfiguration* |Inherits from storeAndForwardConfiguration |
|
||||
|
||||
For backwards compatibility, the legacy way of specifying routes as just a string property remains valid. If a route is redefined by both the old and new format, then only the new format will be used.
|
||||
|
@ -30,24 +30,40 @@ For backwards compatibility, the legacy way of specifying routes as just a strin
|
|||
For TTL, the property in storeAndForwardConfiguration section is now treated as the global TTL value, and can be overridden by the route specific TTLs.
|
||||
|
||||
<pre>
|
||||
"$edgeHub": {
|
||||
"properties.desired": {
|
||||
"routes": {
|
||||
<b>"route1": {
|
||||
"route": <string>,
|
||||
"priority": <uint>,
|
||||
"timeToLiveSecs": <uint>,
|
||||
"Recency": {
|
||||
"Seconds": <uint>,
|
||||
"FallbackPriority": <uint>
|
||||
}
|
||||
},</b>
|
||||
"route2": <string>
|
||||
},
|
||||
"storeAndForwardConfiguration": {
|
||||
"timeToLiveSecs": 7200
|
||||
"routes": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[^\\.\\$# ]+$": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^.+$"
|
||||
},
|
||||
<b>{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"route"
|
||||
],
|
||||
"properties": {
|
||||
"route": {
|
||||
"type": "string",
|
||||
"pattern": "^.+$"
|
||||
},
|
||||
"priority": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 9
|
||||
},
|
||||
"timeToLiveSecs": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 4294967295
|
||||
}
|
||||
}
|
||||
}</b>
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче