Repository navigation
Conversation
Export ~60 metrics in Prometheus text exposition format including all sensor readings, derived values, DAC/fan state, network status, and ESP32 system diagnostics (heap, PSRAM, chip temperature, flash sizes, FreeRTOS task count). Invalid sensors are omitted rather than zeroed. Flash metrics are cached at init to avoid repeated SPI reads.
|
Thanks a lot for the contribution and for the detailed implementation. For now, I’m focusing on core firmware stability and release scope, so this is a bit early for the current roadmap. I’d like to revisit this in a future phase when we expand observability features. I reviewed the changes locally and the idea is great. It’s just a timing/prioritization decision for this release cycle. Thanks again for the effort and for putting this together. |
|
That is fine. |
|
Project Aura now requires an explicit, recorded CLA signature before external contributions can be merged. I am going to close and immediately reopen this PR once so GitHub attaches the new |
|
Thank you for contributing to Project Aura. Before this pull request can be merged, I have read and agree to the Project Aura Individual Contributor License Agreement v2.0, and I hereby sign it. You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
The first automated prompt rendered its document variable literally. The workflow is fixed now. Please read the actual Project Aura CLA, then post this exact comment in a new reply:
|
|
Project Aura has adopted Individual CLA v2.0. The earlier checklist acceptance and v1 prompt do not count as a v2 signature. After the automated CLA comment appears, please read the current CLA and post its exact v2 signature statement. This administrative refresh does not change the technical review of this PR. |
Summary
GET /metricsendpoint exporting ~60 metrics in Prometheus text exposition formatFiles Changed
src/web/PrometheusExporter.h,src/web/PrometheusExporter.cpp— exporter implementationtest/test_prometheus_exporter/test_prometheus_exporter.cpp— 10 native unit testsdocs/prometheus/README.md— full metric reference, scrape config examples, PromQL queriessrc/modules/NetworkManager.cpp— route registration and initplatformio.ini— added exporter to native test build filterREADME.md— added Prometheus section with quick-start configTesting
pio run -e project_aura)pio test -e native_test), including 10 new tests covering sensor metric serialization, invalid sensor omission, derived metric computation, pressure trend output, and Prometheus format correctness (HELP/TYPE/value ordering)/api/statehandler and should be validated withcurl http://aura.local/metricsandpromtool check metricsonce hardware is availableChecklist