Comments (7)
Is prometheus_speedtest
reachable from prometheus
?
Try logging into your prometheus
container and try and hit /probe
manually.
$ docker exec -it prometheus /bin/sh
/prometheus $ wget <IP address of prometheus_speedtest>:9516/probe -qO-
# HELP download_speed_bps Download speed (bit/s)
# TYPE download_speed_bps gauge
download_speed_bps 3.570142228663092e+07
# HELP upload_speed_bps Upload speed (bit/s)
# TYPE upload_speed_bps gauge
upload_speed_bps 1.5187454377341213e+07
# HELP ping_ms Latency (ms)
# TYPE ping_ms gauge
ping_ms 78.436
# HELP bytes_received Bytes received during test
# TYPE bytes_received gauge
bytes_received 4.5482514e+07
# HELP bytes_sent Bytes sent during test
# TYPE bytes_sent gauge
bytes_sent 2.052096e+07
It does take some time for it to respond. For me it's about 30 seconds.
from prometheus_speedtest.
from prometheus_speedtest.
Can't see the attachment. Could you upload it to a gist or something?
from prometheus_speedtest.
https://www.sendspace.com/filegroup/v%2BckuYFK%2FIXkYTNLAAjfDw
from prometheus_speedtest.
Thanks for the screenshots, this narrows it down to the prometheus configuration... or reachability from from prometheus to prometheus speedtest.
Can you post your prometheus config and a screenshot of your "Targets" page? If everything is working it should look like this.
from prometheus_speedtest.
Hello, sorry for the delay, I was doing some testing, I realized that it only works correctly without setting scrape_interval in scrape_configs.
it works:
global:
scrape_interval: 2m
scrape_timeout: 2m
scrape_configs:
- job_name: 'Speed Test'
metrics_path: / probe
static_configs:- targets: ['prometheus_speedtest: 9516']
Does not work:
global:
scrape_interval: 15s
scrape_timeout: 2m
scrape_configs:
- job_name: 'Speed Test'
scrape_interval: 30m
metrics_path: / probe
static_configs:- targets: ['prometheus_speedtest: 9516']
from prometheus_speedtest.
@joserf The issue was your scrape_timeout
is HIGHER than scrape_interval
. I'm sure prometheus prints this in console, I did the same mistake but tested with promtool
:
.\promtool.exe check config .\prometheus.yml Checking .\prometheus.yml FAILED: parsing YAML file .\prometheus.yml: scrape timeout greater than scrape interval for scrape config with job name "speedtest"
@jeanralphaviles I believe you can close this issue.
from prometheus_speedtest.
Related Issues (13)
- is an ARM version possible? HOT 2
- TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given on new image HOT 4
- TypeError: main() missing 1 required positional argument: 'argv' HOT 2
- Implement server ID argument HOT 2
- indCaller() takes from 1 to 2 positional arguments but 3 were given HOT 4
- Ability to select servers from docker image HOT 1
- Selecting Server causing error HOT 1
- ValueError: invalid literal for int() with base 10 HOT 16
- Grafana dashboard template available? HOT 1
- Please support ipv6 in the docker container HOT 3
- Tag container image
- Error while installing "No such file or directory: '***/requirements-dev.txt'" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus_speedtest.