meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc_recs4:software_interface [2021/06/25 07:40] – [Prometheus Configuration] vor | doc_recs4:software_interface [2022/02/17 14:40] – vor | ||
---|---|---|---|
Line 118: | Line 118: | ||
Example XML: | Example XML: | ||
- | <code xml>< | + | <code xml>< |
actualPEGPowerUsage=" | actualPEGPowerUsage=" | ||
- | baseBoardId=" | + | baseboardId=" |
lastSensorUpdate=" | lastSensorUpdate=" | ||
highestTemperature=" | highestTemperature=" | ||
Line 132: | Line 132: | ||
|'' | |'' | ||
|'' | |'' | ||
- | |'' | + | |'' |
- | |'' | + | |'' |
|'' | |'' | ||
|'' | |'' | ||
Line 175: | Line 175: | ||
Example XML: | Example XML: | ||
- | <code xml><baseBoard | + | <code xml><baseboard |
lastSensorUpdate=" | lastSensorUpdate=" | ||
< | < | ||
Line 185: | Line 185: | ||
< | < | ||
< | < | ||
- | </baseBoard></ | + | </baseboard></ |
The attributes have the following meaning: \\ | The attributes have the following meaning: \\ | ||
Line 207: | Line 207: | ||
<code xml>< | <code xml>< | ||
< | < | ||
- | <baseBoardId> | + | <baseboardId> |
- | <baseBoardId> | + | <baseboardId> |
- | <baseBoardId> | + | <baseboardId> |
- | <baseBoardId> | + | <baseboardId> |
- | <baseBoardId> | + | <baseboardId> |
- | <baseBoardId> | + | <baseboardId> |
</ | </ | ||
Line 228: | Line 228: | ||
|'' | |'' | ||
|'' | |'' | ||
- | |'' | + | |'' |
In accordance to the component rcu the API offers rcuList which returns multiple instances of rcu. | In accordance to the component rcu the API offers rcuList which returns multiple instances of rcu. | ||
Line 292: | Line 292: | ||
A prometheus exporter is built-in and can be enabled. It is accessable at '' | A prometheus exporter is built-in and can be enabled. It is accessable at '' | ||
+ | |||
+ | The big advantage of the Prometheus exporter compared to other APIs is that it dynamically exports its own metrics and thus, additional metrics can be added or removed during runtime after changing or hotplugging hardware. This allows to export only metrics of those microservers that are plugged in. As the RECS< | ||
==== Prometheus Configuration ==== | ==== Prometheus Configuration ==== | ||
- | A typical prometheus could look like this: | + | Prometheus needs very little configuration to automatically parse all information and write it into a database. This makes all metrics easily accessible. |
< | < | ||
Line 310: | Line 312: | ||
==== Grafana Dashboard ==== | ==== Grafana Dashboard ==== | ||
- | An example grafana | + | It is recommended to use Grafana as a graphical dashboard to read out these captured metrics. A pre-build Grafana |