Luca Del Monte f8217bcd6b Fix KeyError when timestamp is missing from notification payload
The timestamp_registry() and timestamp_conductor_registry() functions
in header.py use direct dictionary access for the 'timestamp' field,
which raises a KeyError when the notification payload does not contain
a timestamp field.

This patch changes both functions to use .get() with appropriate
handling for missing or invalid values, consistent with how other
fields (node_uuid, instance_uuid, node_name) are already handled.

Additionally fixes:
- Typo in docstring ("Injets" -> "Injects")
- Incorrect g.labels(labels) call changed to g.labels(**labels)

Closes-Bug: #2141336
Change-Id: Ibdb1447ac1777a2722d0103fc9daae9c06e50963
Signed-off-by: Luca Del Monte <luca.delmonte5@gmail.com>
2026-02-11 12:53:16 +01:00
2026-01-25 02:08:16 +09:00
2020-05-19 16:50:25 +08:00
2019-07-24 09:50:32 +02:00
2019-07-11 12:50:32 +02:00
2020-02-18 16:57:41 +01:00
2019-03-19 17:25:52 +01:00
2019-03-19 17:25:52 +01:00
2019-03-19 17:25:52 +01:00
2023-11-08 13:38:45 -08:00
2025-12-09 14:56:11 +01:00
2021-01-25 09:18:14 +00:00

Ironic Prometheus Exporter

Ironic Prometheus Exporter is a Tool to expose hardware sensor data in the Prometheus format through an HTTP endpoint.

The hardware sensor data come from bare metal machines deployed using OpenStack Bare Metal Service (ironic).

Description
Application capable to export hardware sensor data from Ironic nodes to a Prometheus Server.
Readme 1.7 MiB
Languages
Python 96.1%
Shell 3.9%