Comments (13)
Hi @roshu10 This will support a Pushgateway. You will only need to setup each Pushgateway as a new target in the prometheus/prometheus.yml file
Here's the documentation on setting up a PushGateway with Prometheus. Hope this helps - https://github.com/prometheus/pushgateway#configure-the-pushgateway-as-a-target-to-scrape
from prometheus.
Hi @vegasbrianc i have tried this.
I set honor_labels: true as mentioned in the guide.
scrape_configs:
- job_name: 'node'
honor_labels: true
ec2_sd_configs:
But still when i pushed data using pushgateway (It will show success when i run).
Data data is not being shown either in Prometheus/Grafana
from prometheus.
Can you curl
the pushgateway from the Prometheus server?
from prometheus.
I executed this command on my local machine:
echo "some_metric 3.14" | curl --data-binary @- http://x.x.x.x:9091/metrics/job/some_job
x.x.x.x was my Prometheus server.
It executed successfully without errors
from prometheus.
Is your local machine the same as where Prometheus runs? If not try it again on the Prometheus server. If this works that means Prometheus should also be able to retrieve these metrics.
from prometheus.
Yea tried.
Its executing without any error, but no output also
from prometheus.
What metrics is your application pushing to the gateway?
from prometheus.
I'm trying to push node exporter metrics
from prometheus.
My understanding is the Pushgateway is used to integrate directly into your application and gather application metrics. This is not intended to interface with Node Exporter - https://github.com/prometheus/pushgateway#non-goals
from prometheus.
ok,
my case is node_exporter is running on all the nodes,
But prometheus can't reach these hosts.
So i want to push all these data that i received from node_exporter to Prometheus server
from prometheus.
Hmm, that's difficult. Prometheus needs some way to connect to the node exporters to get the metrics. An alternative is to create a separate management network just for monitoring.
from prometheus.
or change the port of the node_exporter so it is allowed
from prometheus.
@roshu10 closing this issue as it is related to your firewall and not Prometheus or the stack.
from prometheus.
Related Issues (20)
- iframe displays “refused to connect” for Grafana HOT 1
- Prometheus docker image. Config file missing? HOT 3
- Cadvisor is not working HOT 7
- How to add Grafana plugin HOT 2
- node-exporter container keeps running even after kill the container HOT 2
- panic: runtime error: slice bounds out of range HOT 5
- CPU Usage and Memory usage data not fetching from the Prometheus serveron grafana dashboard HOT 3
- Why is this? HOT 2
- Prometheus container keeps restarting HOT 5
- Your tests are failing, per the README.md HOT 5
- Adding coverage test results in metrics HOT 2
- can add a database? HOT 1
- Not showing some data HOT 5
- ec2 instnace is not showing on prometheus_UI when setting as target/job in prometheus .yml HOT 2
- Can not change default grafana default port HOT 2
- Login not working HOT 2
- When running this on linux out of the box it does not work. HOT 2
- Prometheus does never start up. Permission denied for /etc/prometheus/prometheus.yml HOT 2
- etc/prometheus/prometheus.yml: operation not permitted HOT 1
- Alert Manager not working on Slack HOT 2
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.