Also, I see it is executed:
[image: Annotation 2020-07-08 2057.jpg] <about:invalid#zClosurez>











On Wednesday, July 8, 2020 at 8:53:09 PM UTC-5, Gerson Garcia wrote:
>
> All,
>
> I have exporter that generates the following data:
>
> gerson@mypi4:~ $ curl http://192.168.1.148:9393/metrics
> <html>
>
> <head></head>
> <body data-gr-c-s-loaded="true">
> <pre style="word-wrap: break-word; white-space: pre-wrap;">
> # HELP bmp180_temperature_celsius Temperature read from ESP8266 BMP180 
> sensor
> # TYPE bmp180_temperature_celsius gauge
> bmp180_temperature_celsius 25.50
> # HELP bmp180_pressure_pascal Pressure read from ESP8266 BMP180 sensor
> # TYPE bmp180_pressure_pascal gauge
> bmp180_pressure_pascal 98704
> # HELP bmp180_altitude_meters Altitude read from ESP8266 BMP180 sensor
> # TYPE bmp180_altitude_meters gauge
> bmp180_altitude_meters 357.87
> </pre>
> </body>
> </html>
>
>
> And I have the following prometheus scrape configuration:
>
>   - job_name: 'esp8266'
>     scrape_interval: 30s
>     static_configs:
>     - targets: ['192.168.1.148:9393']
>
>
> But for some reason the job is never up:
>
> [image: Annotation 2020-07-08 204949.jpg]
>
>
> My Prometheus instance is running on a docker container, but it can see 
> other nodes.
>
>
> Am I doing something wrong with the format of exporter?
>
>
> Thank you,
>
>
> Gerson
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/2ce5cb14-28fb-47fa-9a20-075ac0b391d7o%40googlegroups.com.

Reply via email to