Skip to content

add bsbmp-exporter#1757

Merged
brian-brazil merged 1 commit intoprometheus:masterfrom
david-igou:add-bsbmp-exporter
Oct 6, 2020
Merged

add bsbmp-exporter#1757
brian-brazil merged 1 commit intoprometheus:masterfrom
david-igou:add-bsbmp-exporter

Conversation

@david-igou
Copy link
Contributor

This exporter is for several models of Bosch Sensortec environmental sensors. Tested on Raspberry Pi Zero and 4, but should also work on Banana and Orange Pi's (I plan on verifying this)

Feedback is welcome.

Signed-off-by: David Igou <igou.david@gmail.com>
@brian-brazil brian-brazil merged commit 0a052b4 into prometheus:master Oct 6, 2020
@brian-brazil
Copy link
Contributor

Thanks!

Some suggestions for the exporter:

The mutex in Collect seems to be redundant, you're not keeping any state (which is good).

Ratios should be exposed rather than percentages. It's redundant to expose pressure in two slightly different units, pascals are the more base one. I'd suggest failing the scrape rather than crashing the exporter if there's an error.

@beorn7 beorn7 added the exporters and integrations Requests for new entries in the list of exporters and integrations label Oct 6, 2020
@david-igou david-igou deleted the add-bsbmp-exporter branch October 16, 2020 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exporters and integrations Requests for new entries in the list of exporters and integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants