Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCould not find scrap data of prometheus in postgresql database #4422
Comments
simonpasquier
added
the
kind/question
label
Jul 26, 2018
This comment has been minimized.
This comment has been minimized.
|
Thanks for your report. It looks as if this is actually a question about usage. To make your question, and all replies, easier to find, we suggest you move this over to our user mailing list, which you can also search. If you prefer more interactive help, join or our IRC channel, #prometheus on irc.freenode.net. Please be aware that our IRC channel has no logs, is not searchable, and that people might not answer quickly if they are busy or asleep. If in doubt, you should choose the mailing list. Once your questions have been answered, please add a short line pointing to relevant replies in case anyone stumbles here via a search engine in the future. |
simonpasquier
closed this
Jul 27, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
skmurali commentedJul 25, 2018
I have Prometheus , postgresql 10 and prometheus Postgresql adapter installed and configured sucessfully. I could see from localhost:9201 of adapter message saying that it pushed metrics into remote postgresql. Further I have small piece of code keep pushing scrap data for testing purpose.
my global config. When I go to psql and query. metrics table from Postgres database it did not have anything. prometheus metric collectors running successfully. Environment Mac OS.
-------prometheus.yml
global:
scrape_interval: 2s
evaluation_interval: 2s
external_labels:
monitor: 'ATL-monitor'
scrape_configs:
- job_name: 'GBIATLEngneering'
honor_labels: true
static_configs:
- targets: ['localhost:8000']
- job_name: 'production'
honor_labels: true
static_configs:
- targets: ['localhost:8080', 'localhost:8081']
labels:
group: 'production'
- job_name: 'pushmetrics'
honor_labels: true
static_configs:
- targets: ['localhost:8082']
labels:
group: 'canary'
remote_write:
- url: "http://localhost:9201/write"
remote_read:
- url: "http://localhost:9201/read"