Run "curl" to check the #Prometheus Metrics ingested by MQTT2Prometheus from #TheThingsNetwork
Follow these steps to run MQTT2Prometheus and ingest #TheThingsNetwork Sensor Data as #Prometheus Metrics
We'll ingest these Sensor Values from #TheThingsNetwork as #Prometheus Metrics
https://github.com/lupyuen/prometheus-the-things-network/blob/main/ttn-mqtt.yaml#L38-L65
In MQTT2Prometheus Config we specify the MQTT Server Settings for #TheThingsNetwork
https://github.com/lupyuen/prometheus-the-things-network/blob/main/ttn-mqtt.yaml
#Prometheus needs an MQTT Gateway to ingest Sensor Data from #TheThingsNetwork ... We'll use MQTT2Prometheus
#Prometheus is an open source Time Series Database that works well for storing and querying #IoT Sensor Data
Let's monitor our #IoT Devices in #TheThingsNetwork ... With Prometheus and Grafana
Testing our CBOR Payload Formatter for #TheThingsNetwork ... With #PineDio Stack BL604
https://lupyuen.github.io/articles/payload?5#run-payload-formatter
Installing our #CBOR Payload Formatter into #TheThingsNetwork
https://lupyuen.github.io/articles/payload?4#configure-payload-formatter
How we decode #CBOR Sensor Data in our Payload Formatter for #TheThingsNetwork
https://lupyuen.github.io/articles/payload?3#cbor-payload-formatter
What's a Payload Formatter in #TheThingsNetwork?
https://lupyuen.github.io/articles/payload?2#whats-a-payload-formatter
Decoding #CBOR Sensor Data in #TheThingsNetwork with a Payload Formatter ... All shall be explained in this (short) article
#TheThingsNetwork now returns the Decoded #CBOR Payload to all our apps: Prometheus, Grafana, Roblox, ...
Paste our CBOR Payload Formatter JavaScript into #TheThingsNetwork at Application > Payload Formatters > Uplink
https://www.thethingsindustries.com/docs/integrations/payload-formatters/javascript/
Remember to handle JavaScript Errors in our #CBOR Payload Formatter for #TheThingsNetwork
https://github.com/lupyuen/cbor-the-things-network/blob/master/cbor.js#L410-L441
Top part of our #CBOR Payload Formatter for #TheThingsNetwork is exactly the same as "cbor-js" ... Our special stuffing is below
https://github.com/lupyuen/cbor-the-things-network/blob/master/cbor.js
IoT Techie and Educator / Apache NuttX PMC