Skip to content

Request for calculated fields #2

Description

@sbrooke

The InfluxDB versions out there calculate the Heat Index and Wind Chill inside the DB based on the metrics listed here: https://weatherflow.github.io/Tempest/api/derived-metric-formulas.html

The Exporter doesn't currently provide that and I'm unable to figure out how to correctly run the calculations in either Prometheus or in Grafana. The problem is the lack of IF/THEN capability within Grafana. The raw HI and WC calculations work fine, until the actual temp exceeds the limits. ie, HI displays fine in Grafana above 80F but is incorrect when below 80F.

Would it be possible to create an IF/THEN in the exporter and export a raw calculated field on the scrape page?

I'm not really a dev, so I understand enough to be dangerous. Not sure I can help with programming this. I'm willing to try, if you're interested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions