HF RL Explorer

Issue: Prometheus export fails with "is not a valid label name" error when metric or label names contain…

Issue: Prometheus export fails with "is not a valid label name" error when metric or label names contain…: a task in LegoFlow-SWE (Harbor dataset). When exporting metrics to Prometheus (via the write prometheus plugin), if any metric family name contains a dot (e.g., unit.test ), or any label name…

The task

When exporting metrics to Prometheus (via the write_prometheus plugin), if any metric family name contains a dot (e.g., `unit.test`), or any label name contains dots or double colons (e.g., `resource:host.name` or `resource:service.name`), the Prometheus server rejects the data with the error: `is not a valid label…

Part of Lego-X/LegoFlow-SWE.