-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new status attribute for entities
Signed-off-by: Irene Bandera <[email protected]>
- Loading branch information
Showing
44 changed files
with
502 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
"kind": "domain", | ||
"name": "0", | ||
"alias": "domain_alias", | ||
"alive": true | ||
"alive": true, | ||
"status": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
"kind": "host", | ||
"name": "host_name", | ||
"alias": "host_alias", | ||
"alive": true | ||
"alive": true, | ||
"status": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ | |
"name": "process_name", | ||
"alias": "process_alias", | ||
"alive": true, | ||
"status": 0, | ||
"pid": "9564" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ | |
"name": "topic_name", | ||
"alias": "topic_alias", | ||
"alive": true, | ||
"status": 0, | ||
"data_type": "example_data_type" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
"kind": "user", | ||
"name": "user_name", | ||
"alias": "user_alias", | ||
"alive": true | ||
"alive": true, | ||
"status": 0, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
.. _api_types_entitystatus: | ||
|
||
.. rst-class:: api-ref | ||
|
||
EntityStatus | ||
------------ | ||
|
||
.. doxygenenum:: eprosima::statistics_backend::EntityStatus | ||
:project: fastdds_statistics_backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. add orphan tag when new info added to this file | ||
.. :orphan: | ||
################### | ||
Forthcoming Version | ||
################### | ||
|
||
Next release will include the following **API extensions**: | ||
|
||
* `StatisticsBackend::get_status` returns the entity status of a given id. | ||
* Added `status` attribute for entities. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ metatraffic | |
monitorization | ||
monitorizations | ||
namespace | ||
Ok | ||
ostream | ||
OStream | ||
preprocessed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.. include:: ../exports/alias.include | ||
|
||
.. _statistics_backend_get_status: | ||
|
||
Get entity status | ||
----------------- | ||
|
||
It is also possible to retrieve the |EntityStatus-api| of an entity given its |EntityId-api|: | ||
|
||
.. literalinclude:: /code/StatisticsBackendTests.cpp | ||
:language: c++ | ||
:start-after: //CONF-GET-STATUS-EXAMPLE | ||
:end-before: //! | ||
:dedent: 8 | ||
|
||
|get_status-api| throws |BadParameter-api| if there is no entity with the given ID. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.. include:: ../exports/alias.include | ||
|
||
.. _types_entity_status: | ||
|
||
EntityStatus | ||
============ | ||
|
||
The *eProsima Fast DDS Statistics Backend* keeps track of the entities status. | ||
The following list shows the possible status values along with their corresponding descriptions. | ||
|
||
- |OK-api|: The entity is functioning optimally and there are no issues to report. | ||
- |WARNING-api|: The entity is operating with some warnings or minor issues. | ||
Although it's still functional, some attention may be required. | ||
- |ERROR-api|: The entity has encountered critical errors and its normal operation is disrupted. | ||
Immediate action is necessary to resolve the problem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.