/openbmc/openbmc-test-automation/redfish/telemetry_service/ |
H A D | test_telemetry_report.robot | 3 Documentation Test telemetry functionality of OpenBMC. 10 Test Setup Delete All Telemetry Reports 27 Verify Basic Telemetry Report Creation 28 [Documentation] Verify basic telemetry report creations for different metrics. 30 [Template] Create Basic Telemetry Report 43 [Documentation] Verify error while creating telemetry report more than max report limit. 51 Create Basic Telemetry Report total power Periodic LogToMetricReportsCollection 55 Create Basic Telemetry Report 59 Delete All Telemetry Reports 62 Verify Basic Telemetry Repor [all...] |
/openbmc/telemetry/redfish-tests/ |
H A D | test_telemetry.py | 98 telemetry, report_definitions argument 101 for i in range(telemetry.max_reports): 103 assert telemetry.max_reports == len(report_definitions.get_collection()) 105 id + str(telemetry.max_reports), 107 interval=telemetry.min_interval, 163 def test_add_report_with_metric(redfish, telemetry, report_definitions): argument 164 if len(telemetry.metrics) <= 0: 166 metric = {"MetricId": "Id1", "MetricProperties": [telemetry.metrics[0]]} 190 def test_add_report_with_many_metrics(redfish, telemetry, report_definitions): argument 191 if len(telemetry.metrics) <= 0: [all …]
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Telemetry/ |
H A D | meson.build | 7 sdbusplus_current_path = 'xyz/openbmc_project/Telemetry' 10 'xyz/openbmc_project/Telemetry/Report__markdown'.underscorify(), 11 input: [ '../../../../yaml/xyz/openbmc_project/Telemetry/Report.interface.yaml', ], 19 'xyz/openbmc_project/Telemetry/Report', 27 'xyz/openbmc_project/Telemetry/ReportManager__markdown'.underscorify(), 28 input: [ '../../../../yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml', ], 36 'xyz/openbmc_project/Telemetry/ReportManager', 44 'xyz/openbmc_project/Telemetry/Trigger__markdown'.underscorify(), 45 input: [ '../../../../yaml/xyz/openbmc_project/Telemetry/Trigger.interface.yaml', ], 53 'xyz/openbmc_project/Telemetry/Trigge [all...] |
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/ |
H A D | ReportManager.interface.yaml | 9 xyz.openbmc_project.Telemetry.Report interface stored in path 10 /xyz/openbmc_project/Telemetry/Reports/{properties[Id]} where 25 type: enum[xyz.openbmc_project.Telemetry.Report.ReportingType] 30 type: enum[xyz.openbmc_project.Telemetry.Report.ReportUpdates] 39 type: array[enum[xyz.openbmc_project.Telemetry.Report.ReportActions]] 49 …_path,string]],enum[xyz.openbmc_project.Telemetry.Report.OperationType],string,enum[xyz.openbmc_pr… 63 /xyz/openbmc_project/Telemetry/Reports/{parameters[Id]}. 69 Contains the max number of metric reports supported by the Telemetry. 70 This property is added to be compliant with the Redfish Telemetry 78 Interval property in xyz.openbmc_project.Telemetry.Report and interval [all …]
|
H A D | TriggerManager.interface.yaml | 8 xyz.openbmc_project.Telemetry.Trigger interface stored in path 9 /xyz/openbmc_project/Telemetry/Triggers/{id} where id is parameter of 24 type: array[enum[xyz.openbmc_project.Telemetry.Trigger.TriggerAction]] 42 …t.Telemetry.Trigger.Type],uint64,enum[xyz.openbmc_project.Telemetry.Trigger.Direction],double]],ar… 45 described in xyz.openbmc_project.Telemetry.Trigger interface. 51 /xyz/openbmc_project/Telemetry/Triggers/{id}.
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | telemetry_utils.hpp | 18 namespace telemetry namespace 20 constexpr const char* service = "xyz.openbmc_project.Telemetry"; 21 constexpr const char* reportInterface = "xyz.openbmc_project.Telemetry.Report"; 26 "/xyz/openbmc_project/Telemetry/Reports/TelemetryService"); in getDbusReportPath() 33 "/xyz/openbmc_project/Telemetry/Triggers/TelemetryService"); in getDbusTriggerPath() 43 "/xyz/openbmc_project/Telemetry/Triggers/TelemetryService") in getTriggerIdFromDbusPath() 116 "xyz.openbmc_project.Telemetry.Report.OperationType.Maximum") in toRedfishCollectionFunction() 121 "xyz.openbmc_project.Telemetry.Report.OperationType.Minimum") in toRedfishCollectionFunction() 126 "xyz.openbmc_project.Telemetry.Report.OperationType.Average") in toRedfishCollectionFunction() 131 "xyz.openbmc_project.Telemetry.Report.OperationType.Summation") in toRedfishCollectionFunction() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | pfrut.h | 175 * struct pfrt_log_data_info - Log Data from telemetry service. 178 * @chunk1_addr_lo: Low 32bit physical address of the telemetry data chunk1 180 * @chunk1_addr_hi: High 32bit physical address of the telemetry data chunk1 182 * @chunk2_addr_lo: Low 32bit physical address of the telemetry data chunk2 184 * @chunk2_addr_hi: High 32bit physical address of the telemetry data chunk2 187 * @chunk1_size: Data size in bytes of the telemetry data chunk1 buffer. 188 * @chunk2_size: Data size in bytes of the telemetry data chunk2 buffer. 189 * @rollover_cnt: Number of times telemetry data buffer is overwritten 190 * since telemetry buffer reset. 191 * @reset_cnt: Number of times telemetry services resets that results in [all …]
|
/openbmc/telemetry/ |
H A D | README.md | 1 # Telemetry chapter 7 This application is implementation of Telemetry proposed in OpenBMC design docs 19 - generic and centralized way to observe telemetry data inside system 24 There are two way to build telemetry service: 39 After successful build you should be able to run telemetry binary or start unit 43 ./tests/telemetry-ut 44 ./telemetry 58 1. [OpenBMC platform telemetry design](https://github.com/openbmc/docs/blob/master/designs/telemetr…
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | metric_report.hpp | 20 namespace telemetry namespace 59 } // namespace telemetry 79 telemetry::reportInterface}; in requestRoutesMetricReportCollection() 85 "/xyz/openbmc_project/Telemetry/Reports/TelemetryService"); in requestRoutesMetricReportCollection() 101 const std::string reportPath = telemetry::getDbusReportPath(id); in requestRoutesMetricReport() 120 telemetry::TimestampReadings>( in requestRoutesMetricReport() 121 *crow::connections::systemBus, telemetry::service, in requestRoutesMetricReport() 122 reportPath, telemetry::reportInterface, "Readings", in requestRoutesMetricReport() 125 const telemetry::TimestampReadings& ret) { in requestRoutesMetricReport() 134 telemetry::fillReport(asyncResp->res.jsonValue, in requestRoutesMetricReport() [all …]
|
H A D | trigger.hpp | 29 namespace telemetry namespace 32 "xyz.openbmc_project.Telemetry.Trigger"; 47 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.UpdateReport") in toRedfishTriggerAction() 52 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToRedfishEventLog") in toRedfishTriggerAction() 57 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToJournal") in toRedfishTriggerAction() 68 return "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.UpdateReport"; in toDbusTriggerAction() 72 return "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToRedfishEventLog"; in toDbusTriggerAction() 76 return "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToJournal"; in toDbusTriggerAction() 85 return "xyz.openbmc_project.Telemetry.Trigger.Severity.OK"; in toDbusSeverity() 89 return "xyz.openbmc_project.Telemetry.Trigger.Severity.Warning"; in toDbusSeverity() [all …]
|
H A D | metric_report_definition.hpp | 35 namespace telemetry namespace 78 "xyz.openbmc_project.Telemetry.Report.ReportActions.EmitsReadingsUpdate") in toRedfishReportAction() 83 "xyz.openbmc_project.Telemetry.Report.ReportActions.LogToMetricReportsCollection") in toRedfishReportAction() 95 return "xyz.openbmc_project.Telemetry.Report.ReportActions.EmitsReadingsUpdate"; in toDbusReportAction() 99 return "xyz.openbmc_project.Telemetry.Report.ReportActions.LogToMetricReportsCollection"; in toDbusReportAction() 108 "xyz.openbmc_project.Telemetry.Report.ReportingType.OnChange") in toRedfishReportingType() 113 "xyz.openbmc_project.Telemetry.Report.ReportingType.OnRequest") in toRedfishReportingType() 118 "xyz.openbmc_project.Telemetry.Report.ReportingType.Periodic") in toRedfishReportingType() 129 return "xyz.openbmc_project.Telemetry.Report.ReportingType.OnChange"; in toDbusReportingType() 133 return "xyz.openbmc_project.Telemetry.Report.ReportingType.OnRequest"; in toDbusReportingType() [all …]
|
/openbmc/telemetry/src/types/ |
H A D | trigger_types.hpp | 27 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.LogToJournal", 29 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.TriggerAction." 33 "xyz.openbmc_project.Telemetry.Trigger.TriggerAction.UpdateReport", 88 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.LowerCritical", 90 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.LowerWarning", 92 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.UpperWarning", 94 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Type.UpperCritical", 99 std::make_pair("xyz.openbmc_project.Telemetry.Trigger.Direction.Either", 102 "xyz.openbmc_project.Telemetry.Trigger.Direction.Decreasing", 105 "xyz.openbmc_project.Telemetry.Trigger.Direction.Increasing", [all …]
|
H A D | operation_type.hpp | 29 "xyz.openbmc_project.Telemetry.Report.OperationType.Maximum", 32 "xyz.openbmc_project.Telemetry.Report.OperationType.Minimum", 35 "xyz.openbmc_project.Telemetry.Report.OperationType.Average", 38 "xyz.openbmc_project.Telemetry.Report.OperationType.Summation",
|
/openbmc/docs/designs/ |
H A D | telemetry.md | 1 # OpenBMC platform telemetry 12 The BMC on server platform gathers lots of telemetry data, which has to be 14 on telemetry over the Redfish, since it is standard API for platform 19 - OpenBMC platform telemetry shall leverage DMTF's [Redfish Telemetry Model][1] 20 for exposing platform telemetry over the network. 21 - OpenBMC platform telemetry shall leverage the [OpenBMC sensors architecture 23 - OpenBMC platform telemetry shall implement a service, called Telemetry to deal 27 architecture does not depend on it, because the Telemetry service component 33 Telemetry service requires telemetry sources to be implemented as D-Bus 38 Redfish Telemetry Model shall implement Telemetry Service with the following [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-intel_pmt | 7 devices that expose hardware telemetry using Intel Platform 16 a PMT telemetry device that exposes hardware telemetry. Each 18 may be opened and mapped or read to access the telemetry space 19 of the device. The register layout of the telemetry space is 28 (RO) The telemetry data for this telemetry device. This file 36 (RO) The GUID for this telemetry device. The GUID identifies 45 (RO) The size of telemetry region in bytes that corresponds to 53 (RO) The offset of telemetry region in bytes that corresponds to
|
/openbmc/linux/tools/power/acpi/man/ |
H A D | pfrut.8 | 5 pfrut \- Platform Firmware Runtime Update and Telemetry tool 11 The PFRUT(Platform Firmware Runtime Update and Telemetry) kernel interface is designed 56 Set the revision ID of telemetry. 59 Get telemetry log information and print it out. 62 Set the telemetry log data type. 65 Set the telemetry log level. 68 Read all the telemetry data and print it out.
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/telemetry/ |
H A D | telemetry_git.bb | 1 SUMMARY = "Telemetry service" 2 DESCRIPTION = "Middleware between Redfish Telemetry Service and dbus-sensors" 3 HOMEPAGE = "https://github.com/openbmc/telemetry" 15 SRC_URI = "git://github.com/openbmc/telemetry;branch=master;protocol=https" 18 SYSTEMD_SERVICE:${PN} = "xyz.openbmc_project.Telemetry.service"
|
/openbmc/telemetry/src/ |
H A D | trigger_actions.hpp | 14 "Telemetry.1.0.TriggerDiscreteConditionMet"; 16 "Telemetry.1.0.TriggerNumericAboveLowerCritical"; 18 "Telemetry.1.0.TriggerNumericAboveUpperCritical"; 20 "Telemetry.1.0.TriggerNumericAboveUpperWarning"; 22 "Telemetry.1.0.TriggerNumericBelowLowerCritical"; 24 "Telemetry.1.0.TriggerNumericBelowLowerWarning"; 26 "Telemetry.1.0.TriggerNumericBelowUpperCritical"; 28 "Telemetry.1.0.TriggerNumericReadingNormal";
|
H A D | main.cpp | 1 #include "telemetry.hpp" 18 constexpr const char* serviceName = "xyz.openbmc_project.Telemetry"; in main() 32 "Telemetry starting"); in main() 33 Telemetry app(bus); in main()
|
H A D | telemetry.hpp | 15 class Telemetry class 18 explicit Telemetry(std::shared_ptr<sdbusplus::asio::connection> bus) : in Telemetry() function in Telemetry 24 "/var/lib/telemetry/Reports")), in Telemetry() 30 "/var/lib/telemetry/Triggers")), in Telemetry()
|
/openbmc/linux/drivers/platform/x86/intel/telemetry/ |
H A D | core.c | 3 * Intel SoC Core Telemetry Driver 7 * Telemetry Framework provides platform related PM and performance statistics. 8 * This file provides the core telemetry API implementation. 103 * telemetry_update_events() - Update telemetry Configuration 107 * This API updates the IOSS & PSS Telemetry configuration. Old config 253 * telemetry_read_eventlog() - Fetch the Telemetry log from PSS or IOSS 269 * telemetry_raw_read_eventlog() - Fetch the Telemetry log from PSS or IOSS 322 * Usage by other than telemetry pltdrv module is invalid 342 * Usage by other than telemetry pltdrv module is invalid 356 * telemetry_get_pltdata() - Return telemetry platform config [all …]
|
H A D | pltdrv.c | 3 * Intel SOC Telemetry Platform Driver: Currently supports APL 7 * This file provides the platform specific telemetry implementation for APL. 239 pr_err("Unknown Telemetry action specified %d\n", action); in telemetry_check_evtid() 285 /* Get telemetry EVENT CTL */ in telemetry_setup_iossevtconfig() 294 /* Disable Telemetry */ in telemetry_setup_iossevtconfig() 384 /* Enable Periodic Telemetry Events and enable SRAM trace */ in telemetry_setup_iossevtconfig() 417 /* Get telemetry EVENT CTL */ in telemetry_setup_pssevtconfig() 425 /* Disable Telemetry */ in telemetry_setup_pssevtconfig() 510 /* Enable Periodic Telemetry Events and enable SRAM trace */ in telemetry_setup_pssevtconfig() 587 /* Get telemetry Info */ in telemetry_setup() [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | registries_selector.hpp | 45 if (telemetry::header.registryPrefix == registryName) in getRegistryHeaderAndUrlFromPrefix() 47 return HeaderAndUrl{telemetry::header, telemetry::url}; in getRegistryHeaderAndUrlFromPrefix() 75 if (telemetry::header.registryPrefix == registryName) in getRegistryFromPrefix() 77 return {telemetry::registry}; in getRegistryFromPrefix()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/opentelemetry/ |
H A D | opentelemetry-cpp_1.17.0.bb | 1 SUMMARY = "Open Telemetry Library" 2 DESCRIPTION = "An Observability framework to create and manage telemetry data \ 4 HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp" 11 SRC_URI = "git://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main \
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | telemetry_message_registry.hpp | 18 namespace redfish::registries::telemetry namespace 26 "Telemetry Message Registry", 28 "This registry defines the messages for telemetry related events.", 29 "Telemetry", 33 "https://redfish.dmtf.org/registries/Telemetry.1.0.0.json"; 169 } // namespace redfish::registries::telemetry
|