commit | dc5d2f1cd6ab2e3e2b01f415a0b2bc5641af6823 | [log] [tgz] |
---|---|---|
author | Jayanth Othayoth <ojayanth@gmail.com> | Sun Dec 08 06:12:31 2024 -0600 |
committer | Jayanth Othayoth <ojayanth@gmail.com> | Sat Jun 07 06:40:49 2025 -0500 |
tree | 1c94ce9a0f4c9c095cc7b09cbdf9e844c7490e89 | |
parent | 3c8aa74d87f885c6a3bbf71c00d93699b5e91ab1 [diff] |
clang-tidy: Remove unused lambda captures The following errors were reported during clang-tidy enablement due to unused lambda captures. ''' ../src/metric.cpp:119:50: error: lambda capture 'this' is not used [-Werror ''' The fix involves removing these unused lambda captures. Tested: Build and unit testing verified. Change-Id: I6a4b42ea3df7513e1208638f427007680e2a15cf Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
This component implements middleware for sensors and metrics aggregation.
This application is implementation of Telemetry proposed in OpenBMC design docs [1]
.
It's responsible for:
[2]
,[3]
updates.[4]
There are two way to build telemetry service:
To build it using bitbake follow the guide from OpenBMC docs[5]
. To build it using meson follow the quick guide to install meson[6]
and then run below commands
meson build
cd build
ninja
After successful build you should be able to run telemetry binary or start unit tests
./tests/telemetry-ut ./telemetry
In case if system is missing boost dependency, it is possible to build it locally and set BOOST_ROOT environment variable to location of built files for meson. After this change meson should be able to detect boost dependency. See [7]
for more details.
More information can be found in OpenBMC docs repository [8]
.