#pragma once #include "dbus_utility.hpp" namespace redfish { namespace telemetry { constexpr const char* service = "xyz.openbmc_project.Telemetry"; constexpr const char* reportInterface = "xyz.openbmc_project.Telemetry.Report"; constexpr const char* metricReportDefinitionUri = "/redfish/v1/TelemetryService/MetricReportDefinitions"; constexpr const char* metricReportUri = "/redfish/v1/TelemetryService/MetricReports"; inline std::string getDbusReportPath(const std::string& id) { std::string path = "/xyz/openbmc_project/Telemetry/Reports/TelemetryService/" + id; dbus::utility::escapePathForDbus(path); return path; } } // namespace telemetry } // namespace redfish