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] <about:invalid#zClosurez>


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/b19dfa3b-53d2-4afe-8a2a-567ee3a6d043o%40googlegroups.com.

Reply via email to