#
86987606 |
| 24-Jun-2024 |
Michal Orzel <michalx.orzel@intel.com> |
Add telemetry messages to registry
One of Telemetry service's triggers' action is logging events to Redfish log [1][2]. This change appends messages from DMTF schema [3] to registry collection, so t
Add telemetry messages to registry
One of Telemetry service's triggers' action is logging events to Redfish log [1][2]. This change appends messages from DMTF schema [3] to registry collection, so that they become available for Telemetry service.
Tested: - Telemetry subset present under /redfish/v1/Registries - Telemetry registry details present under /redfish/v1/Registries/Telemetry - Telemetry messages present under /redfish/v1/Registries/Telemetry/Telemetry - Telemetry messages appear in event log (/redfish/v1/Systems/<str>/LogServices/EventLog/Entries) after being sent using phosphor-logging
[1] https://github.com/openbmc/docs/blob/master/designs/telemetry.md?plain=1#L423-L426 [2] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Telemetry/Trigger.interface.yaml#L61-L62 [3] https://redfish.dmtf.org/registries/Telemetry.1.0.0.json
Change-Id: Ic0b82c695fc7755394becd120c301b6056e3ce19 Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
show more ...
|
#
f0b59af4 |
| 20-Mar-2024 |
Ed Tanous <ed@tanous.net> |
Add misc-include-cleaner
And fix the includes that are wrong.
Note, there is a very large ignore list included in the .clang-tidy configcfile. These are things that clang-tidy doesn't yet handle w
Add misc-include-cleaner
And fix the includes that are wrong.
Note, there is a very large ignore list included in the .clang-tidy configcfile. These are things that clang-tidy doesn't yet handle well, like knowing about a details include.
Change-Id: Ie3744f2c8cba68a8700b406449d6c2018a736952 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
#
5a39f77a |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
3544d2a7 |
| 06-Aug-2023 |
Ed Tanous <edtanous@google.com> |
Use ranges
C++20 brought us std::ranges for a lot of algorithms. Most of these conversions were done using comby, similar to:
``` comby -verbose 'std::lower_bound(:[a].begin(),:[b].end(),:[c])' 's
Use ranges
C++20 brought us std::ranges for a lot of algorithms. Most of these conversions were done using comby, similar to:
``` comby -verbose 'std::lower_bound(:[a].begin(),:[b].end(),:[c])' 'std::ranges::lower_bound(:[a], :[c])' $(git ls-files | grep "\.[hc]\(pp\)\?$") -in-place ```
Change-Id: I0c99c04e9368312555c08147d474ca93a5959e8d Signed-off-by: Ed Tanous <edtanous@google.com>
show more ...
|
#
d1d411f9 |
| 11-Apr-2022 |
Sui Chen <suichen@google.com> |
Move getMessage and getMessageFromRegistry to cpp and add test
This change moves getMessage and getMessageFromRegistry to a .cpp file so that they can be easily tested.
Tested: Unit test passes Sig
Move getMessage and getMessageFromRegistry to cpp and add test
This change moves getMessage and getMessageFromRegistry to a .cpp file so that they can be easily tested.
Tested: Unit test passes Signed-off-by: Sui Chen <suichen@google.com> Change-Id: Ia9fc91e5a47036198bf013ff3ea21ea9f6d5259a
show more ...
|