Home
last modified time | relevance | path

Searched full:metric (Results 1 – 25 of 126) sorted by relevance

123456

/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DMetricReportDefinition.v1_4_7.json35 "description": "The function to apply to the list of metric properties.",
43 … "Average": "The metric is calculated as the average metric reading over a duration.",
44 … "Maximum": "The metric is calculated as the maximum metric reading over a duration.",
45 … "Minimum": "The metric is calculated as the minimum metric reading over a duration.",
46 "Summation": "The metric is calculated as the sum of the values over a duration."
49 …"Average": "This value shall indicate the metric is calculated as the average metric reading over …
50 …"Maximum": "This value shall indicate the metric is calculated as the maximum metric reading over …
51 …"Minimum": "This value shall indicate the metric is calculated as the minimum metric reading over …
52 …"Summation": "This value shall indicate the metric is calculated as the sum of the specified metri…
54 …"longDescription": "This type shall specify the function to apply to the list of metric properties…
[all …]
H A DMetricDefinition.v1_3_5.json35 …at can be applied to the metric reading. Provides information to the client on the suitability of…
42 "NonCalculatable": "No calculations should be performed on the metric reading.",
43 … "NonSummable": "The sum of the metric reading across multiple instances is not meaningful.",
44 "Summable": "The sum of the metric reading across multiple instances is meaningful."
46 …n": "The type shall describe the types of calculations that can be applied to the metric reading.",
57 … "Average": "The metric is calculated as the average metric reading over a sliding time interval.",
58 … "Maximum": "The metric is calculated as the maximum metric reading over during a time interval.",
59 … "Minimum": "The metric is calculated as the minimum metric reading over a sliding time interval.",
60 "OEM": "The metric is calculated as specified by an OEM."
63 …"Average": "The metric shall be calculated as the average metric reading over a sliding time inter…
[all …]
H A DMetricReport.v1_5_2.json37metric report in a Redfish implementation. When a metric report is deleted, the historic metric d…
94 "description": "The link to the definition of this metric report.",
99 … "description": "An array of metric values for the metered items of this metric report.",
103 "longDescription": "The values shall be metric values for this metric report.",
117 "description": "The current sequence identifier for this metric report.",
118 …e identifier for this metric report. The sequence identifier is a unique identifier assigned by t…
124 …"description": "The time associated with the metric report in its entirety. The time of the metri…
126 … "longDescription": "This property shall contain the time when the metric report was generated.",
145 … "description": "Properties that capture a metric value and other associated information.",
146 …"longDescription": "This type shall contain properties that capture a metric value and other assoc…
[all …]
H A DTelemetryService.v1_4_0.json54 "description": "The action to clear the metric reports for this telemetry service.",
55 …"longDescription": "This action shall delete all entries found in the metric report collection for…
223 … "longDescription": "If present, the metric value shall be computed according to this function.",
228 … "description": "Properties that capture a metric value and other associated information.",
229 …"longDescription": "This type shall contain properties that capture a metric value and other assoc…
247 "description": "The link to the metric definition for this metric.",
248 …n a link to a resource of type `MetricDefinition` that describes what this metric value captures.",
253 "description": "The metric definitions identifier for this metric.",
254 … contain the same value as the `Id` property of the source metric within the associated metric def…
263 "description": "The URI for the property from which this metric is derived.",
[all …]
H A DTriggers.v1_4_0.json41 …"Decreasing": "A trigger is met when the metric value crosses the trigger value while decreasing.",
42 …"Increasing": "A trigger condition is met when the metric value crosses the trigger value while in…
67 …scription": "The amount of time that a trigger event persists before the metric action is performe…
99 "description": "The discrete metric value that constitutes a trigger event.",
100 …"longDescription": "This property shall contain the value discrete metric that constitutes a trigg…
117 "Changed": "A discrete trigger condition is met whenever the metric value changes.",
118 …"Specified": "A discrete trigger condition is met when the metric value becomes one of the values …
143 …"description": "The metric report definitions that generate new metric reports when a trigger cond…
147 …n": "This property shall contain a set of links to metric report definitions that generate new met…
164 "description": "The type of metric for which the trigger is configured.",
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DMetricReportDefinition.v1_4_7.json35 "description": "The function to apply to the list of metric properties.",
43 … "Average": "The metric is calculated as the average metric reading over a duration.",
44 … "Maximum": "The metric is calculated as the maximum metric reading over a duration.",
45 … "Minimum": "The metric is calculated as the minimum metric reading over a duration.",
46 "Summation": "The metric is calculated as the sum of the values over a duration."
49 …"Average": "This value shall indicate the metric is calculated as the average metric reading over …
50 …"Maximum": "This value shall indicate the metric is calculated as the maximum metric reading over …
51 …"Minimum": "This value shall indicate the metric is calculated as the minimum metric reading over …
52 …"Summation": "This value shall indicate the metric is calculated as the sum of the specified metri…
54 …"longDescription": "This type shall specify the function to apply to the list of metric properties…
[all …]
H A DMetricDefinition.v1_3_5.json35 …at can be applied to the metric reading. Provides information to the client on the suitability of…
42 "NonCalculatable": "No calculations should be performed on the metric reading.",
43 … "NonSummable": "The sum of the metric reading across multiple instances is not meaningful.",
44 "Summable": "The sum of the metric reading across multiple instances is meaningful."
46 …n": "The type shall describe the types of calculations that can be applied to the metric reading.",
57 … "Average": "The metric is calculated as the average metric reading over a sliding time interval.",
58 … "Maximum": "The metric is calculated as the maximum metric reading over during a time interval.",
59 … "Minimum": "The metric is calculated as the minimum metric reading over a sliding time interval.",
60 "OEM": "The metric is calculated as specified by an OEM."
63 …"Average": "The metric shall be calculated as the average metric reading over a sliding time inter…
[all …]
H A DMetricReport.v1_5_2.json37metric report in a Redfish implementation. When a metric report is deleted, the historic metric d…
94 "description": "The link to the definition of this metric report.",
99 … "description": "An array of metric values for the metered items of this metric report.",
103 "longDescription": "The values shall be metric values for this metric report.",
117 "description": "The current sequence identifier for this metric report.",
118 …e identifier for this metric report. The sequence identifier is a unique identifier assigned by t…
124 …"description": "The time associated with the metric report in its entirety. The time of the metri…
126 … "longDescription": "This property shall contain the time when the metric report was generated.",
145 … "description": "Properties that capture a metric value and other associated information.",
146 …"longDescription": "This type shall contain properties that capture a metric value and other assoc…
[all …]
H A DTelemetryService.v1_4_0.json54 "description": "The action to clear the metric reports for this telemetry service.",
55 …"longDescription": "This action shall delete all entries found in the metric report collection for…
223 … "longDescription": "If present, the metric value shall be computed according to this function.",
228 … "description": "Properties that capture a metric value and other associated information.",
229 …"longDescription": "This type shall contain properties that capture a metric value and other assoc…
247 "description": "The link to the metric definition for this metric.",
248 …n a link to a resource of type `MetricDefinition` that describes what this metric value captures.",
253 "description": "The metric definitions identifier for this metric.",
254 … contain the same value as the `Id` property of the source metric within the associated metric def…
263 "description": "The URI for the property from which this metric is derived.",
[all …]
H A DTriggers.v1_4_0.json41 …"Decreasing": "A trigger is met when the metric value crosses the trigger value while decreasing.",
42 …"Increasing": "A trigger condition is met when the metric value crosses the trigger value while in…
67 …scription": "The amount of time that a trigger event persists before the metric action is performe…
99 "description": "The discrete metric value that constitutes a trigger event.",
100 …"longDescription": "This property shall contain the value discrete metric that constitutes a trigg…
117 "Changed": "A discrete trigger condition is met whenever the metric value changes.",
118 …"Specified": "A discrete trigger condition is met when the metric value becomes one of the values …
143 …"description": "The metric report definitions that generate new metric reports when a trigger cond…
147 …n": "This property shall contain a set of links to metric report definitions that generate new met…
164 "description": "The type of metric for which the trigger is configured.",
[all …]
/openbmc/phosphor-health-monitor/test/
H A Dtest_health_metric_config.cpp12 using namespace phosphor::health::metric::config;
22 bool isValidSubType(metric::Type type, metric::SubType subType) in isValidSubType()
24 std::cout << "Metric Type: " << std::to_underlying(type) in isValidSubType()
25 << " Metric SubType: " << std::to_underlying(subType) in isValidSubType()
28 using set_t = std::set<metric::SubType>; in isValidSubType()
32 case metric::Type::cpu: in isValidSubType()
33 return set_t{metric::SubType::cpuTotal, metric::SubType::cpuKernel, in isValidSubType()
34 metric::SubType::cpuUser} in isValidSubType()
37 case metric::Type::memory: in isValidSubType()
38 return set_t{metric::SubType::memoryAvailable, in isValidSubType()
[all …]
/openbmc/bmcweb/redfish-core/include/registries/
H A Dtelemetry_message_registry.hpp46 "Metric '%1' has the value '%2', which meets the discrete condition of trigger '%3'",
54 "Check the condition of the metric that reported the trigger.",
59 …"Indicates that a numeric metric reading is no longer below the lower critical trigger threshold, …
60 …"Metric '%1' value of %2 is now above the %3 lower critical threshold of trigger '%4' but remains …
69 "Check the condition of the metric that reported the trigger.",
74 … "Indicates that a numeric metric reading is above the upper critical trigger threshold.",
75 "Metric '%1' value of %2 is above the %3 upper critical threshold of trigger '%4'",
84 "Check the condition of the metric that reported the trigger.",
89 "Indicates that a numeric metric reading is above the upper warning trigger threshold.",
90 "Metric '%1' value of %2 is above the %3 upper warning threshold of trigger '%4'",
[all …]
/openbmc/phosphor-health-monitor/
H A Dhealth_metric.hpp8 #include <xyz/openbmc_project/Metric/Value/server.hpp>
13 namespace phosphor::health::metric namespace
20 using ValueIntf = sdbusplus::xyz::openbmc_project::Metric::server::Value;
22 sdbusplus::common::xyz::openbmc_project::metric::Value::namespace_path;
24 sdbusplus::common::xyz::openbmc_project::metric::Value::bmc;
31 /** @brief Current value of metric */
33 /** @brief Total value of metric */
40 using MType = phosphor::health::metric::Type;
57 /** @brief Update the health metric with the given value */
61 /** @brief Create a new health metric object */
[all …]
H A Dhealth_metric_collection.hpp5 namespace phosphor::health::metric::collection namespace
7 namespace ConfigIntf = phosphor::health::metric::config;
8 namespace MetricIntf = phosphor::health::metric;
23 /** @brief Read the health metric collection from the system */
30 /** @brief Create a new health metric collection object */
40 /** @brief Metric type */
42 /** @brief Health metric configs */
52 } // namespace phosphor::health::metric::collection
H A Dhealth_metric.cpp11 namespace phosphor::health::metric namespace
70 error("Invalid metric {SUBTYPE} for metric {TYPE}", "SUBTYPE", in getPath()
77 error("Invalid metric {SUBTYPE}", "SUBTYPE", subType); in getPath()
105 throw std::invalid_argument("Invalid metric type"); in initProperties()
175 "ASSERT: Health Metric {METRIC} crossed {TYPE} upper threshold", in checkThreshold()
176 "METRIC", config.name, "TYPE", type); in checkThreshold()
190 "DEASSERT: Health Metric {METRIC} is below {TYPE} upper threshold", in checkThreshold()
191 "METRIC", config.name, "TYPE", type); in checkThreshold()
239 // Wait for the metric to have enough samples to calculate average in update()
251 info("Create Health Metric: {METRIC}", "METRIC", config.name); in create()
[all …]
H A Dhealth_metric_config.hpp12 namespace phosphor::health::metric namespace
70 /** @brief The name of the metric. */
72 /** @brief The metric subtype. */
74 /** @brief The window size for the metric. */
76 /** @brief The hysteresis for the metric */
78 /** @brief The threshold configs for the metric. */
80 /** @brief The path for filesystem metric */
93 /** @brief Get the health metric configs. */
97 } // namespace phosphor::health::metric
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DMetricReportDefinition_v1.xml45 …MetricReportDefinition` schema describes set of metrics that are collected into a metric report."/>
46 …s resource shall specify a set of metrics that shall be collected into a metric report in a Redfis…
55 …m="OData.Description" String="Any writable properties can be updated for metric report definitions…
61 … <Annotation Term="OData.Description" String="Metric report definitions can be deleted."/>
79 … <Annotation Term="OData.Description" String="Specifies when the metric report is generated."/>
80 …erm="OData.LongDescription" String="This property shall specify when the metric report is generate…
83 … <Annotation Term="OData.Description" String="The schedule for generating the metric report."/>
84metric report. The metric report shall be generated at an interval specified by the `RecurrenceIn…
88 …<Annotation Term="OData.Description" String="The set of actions to perform when a metric report is…
89 …ring="This property shall contain the set of actions to perform when the metric report is generate…
[all …]
H A DMetricDefinition_v1.xml37 …cription" String="The `MetricDefinition` schema describes the metadata information for a metric."/>
38 …tion" String="This resource shall contain the metadata information for a metric in a Redfish imple…
47 … Term="OData.Description" String="Any writable properties can be updated for metric definitions."/>
53 <Annotation Term="OData.Description" String="The metric definitions can be deleted."/>
69 … Term="OData.Description" String="The type of metric. Provides information to the client on how t…
70 …<Annotation Term="OData.LongDescription" String="This property shall contain the type of metric."/>
72 …<Annotation Term="OData.Description" String="The metric is a numeric metric. The metric value is …
75 …<Annotation Term="OData.Description" String="The metric is a discrete metric. The metric value is…
76 …<Annotation Term="OData.LongDescription" String="The metric values shall indicate discrete states.…
79 …Term="OData.Description" String="The metric is a gauge metric. The metric value is a real number.…
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DMetricReportDefinition_v1.xml45 …MetricReportDefinition` schema describes set of metrics that are collected into a metric report."/>
46 …s resource shall specify a set of metrics that shall be collected into a metric report in a Redfis…
55 …m="OData.Description" String="Any writable properties can be updated for metric report definitions…
61 … <Annotation Term="OData.Description" String="Metric report definitions can be deleted."/>
79 … <Annotation Term="OData.Description" String="Specifies when the metric report is generated."/>
80 …erm="OData.LongDescription" String="This property shall specify when the metric report is generate…
83 … <Annotation Term="OData.Description" String="The schedule for generating the metric report."/>
84metric report. The metric report shall be generated at an interval specified by the `RecurrenceIn…
88 …<Annotation Term="OData.Description" String="The set of actions to perform when a metric report is…
89 …ring="This property shall contain the set of actions to perform when the metric report is generate…
[all …]
H A DMetricDefinition_v1.xml37 …cription" String="The `MetricDefinition` schema describes the metadata information for a metric."/>
38 …tion" String="This resource shall contain the metadata information for a metric in a Redfish imple…
47 … Term="OData.Description" String="Any writable properties can be updated for metric definitions."/>
53 <Annotation Term="OData.Description" String="The metric definitions can be deleted."/>
69 … Term="OData.Description" String="The type of metric. Provides information to the client on how t…
70 …<Annotation Term="OData.LongDescription" String="This property shall contain the type of metric."/>
72 …<Annotation Term="OData.Description" String="The metric is a numeric metric. The metric value is …
75 …<Annotation Term="OData.Description" String="The metric is a discrete metric. The metric value is…
76 …<Annotation Term="OData.LongDescription" String="The metric values shall indicate discrete states.…
79 …Term="OData.Description" String="The metric is a gauge metric. The metric value is a real number.…
[all …]
/openbmc/docs/designs/
H A Dbmc-health-monitor.md16 For this purpose, there may exist a metric producer (the subject of discussion
17 of this document), and a metric consumer (a program that makes use of health
23 2. Metric collection, similar to what the read routine in phosphor-hwmon-readd
25 3. Metric staging. When metrics are collected, they will be ready to be read
64 The metric producer should provide
72 - Capability to provide granular details for various metric types, for example -
81 The metric consumer may be written in various different ways. No matter how the
85 The metric consumer is not in the scope of this document.
89 The metric producer is a daemon running on the BMC that performs the required
94 2. Metric collection and
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Metric/
H A DValue.interface.yaml2 This interface provides the Board Manager Metric values for resource
9 The current metric value.
18 The maximum supported metric value.
25 The minimum supported metric value.
29 The unit for metric value. For example, memory in bytes, CPU in
37 Metric value unit.
60 - namespace: /xyz/openbmc_project/metric
66 The total memory metric.
70 The free memory metric.
74 The available memory metric.
[all …]
/openbmc/telemetry/src/
H A Dmetric.cpp1 #include "metric.hpp"
13 Metric::Metric(Sensors sensorsIn, OperationType operationTypeIn, in Metric() function in Metric
25 void Metric::registerForUpdates(interfaces::MetricListener& listener) in registerForUpdates()
30 void Metric::unregisterFromUpdates(interfaces::MetricListener& listener) in unregisterFromUpdates()
40 void Metric::initialize() in initialize()
48 void Metric::deinitialize() in deinitialize()
56 const std::vector<MetricValue>& Metric::getUpdatedReadings() in getUpdatedReadings()
92 void Metric::sensorUpdated(interfaces::Sensor& notifier, Milliseconds timestamp, in sensorUpdated()
107 metrics::CollectionData& Metric::findAssociatedData( in findAssociatedData()
117 LabeledMetricParameters Metric::dumpConfiguration() const in dumpConfiguration()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DReport.interface.yaml9 The Update method is defined for the on demand metric report update.
37 Collection of metric parameters. Single entry consists of: array of
38 [sensor path, metadata] tuples, operation type, metric ID, collection
41 Redfish it shall be metric's URI. Operation type provides knowledge of
42 action executed on readings. Metric ID contains name that can be
43 mapped to metadata (like Redfish Metric ID). Collection timescope
44 specifies type of time scope applied to specific metric. Collection
50 and array of metric Id, metadata, reading value and timestamp of
51 single reading update in milliseconds. Metric Id and metadata are
147 The time scope of the related metric values.
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Metric/
H A Dmeson.build5 sdbusplus_current_path = 'xyz/openbmc_project/Metric'
8 'xyz/openbmc_project/Metric/Reset__markdown'.underscorify(),
9 input: ['../../../../yaml/xyz/openbmc_project/Metric/Reset.interface.yaml'],
22 'xyz/openbmc_project/Metric/Reset',
30 'xyz/openbmc_project/Metric/Value__markdown'.underscorify(),
31 input: ['../../../../yaml/xyz/openbmc_project/Metric/Value.interface.yaml'],
44 'xyz/openbmc_project/Metric/Value',

123456