Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find scrap data of prometheus in postgresql database #4422

Closed
skmurali opened this Issue Jul 25, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@skmurali
Copy link

skmurali commented Jul 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"

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Jul 26, 2018

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.

@lock

This comment has been minimized.

Copy link

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.

@lock lock bot locked and limited conversation to collaborators Mar 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.