Skip to content

Commit

Permalink
feat: add robotoff postgres metric exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Jan 23, 2023
1 parent d24d0c5 commit a07d934
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions configs/prometheus/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,11 @@ scrape_configs:
app: robotoff
service: api
env: net
# FIXME: first expose it !
# - targets: ['10.1.0.200:9187'] # Postgres
# labels:
# app: "robotoff"
# service: postgres
# env: net
- targets: ['10.1.0.200:9187'] # Postgres
labels:
app: "robotoff"
service: postgres
env: net

- job_name: robotoff-org
static_configs:
Expand All @@ -121,12 +120,11 @@ scrape_configs:
app: robotoff
service: api
env: org
# FIXME: first expose it !
# - targets: ['10.1.0.201:9187'] # Postgres
# labels:
# app: "robotoff"
# service: postgres
# env: org
- targets: ['10.1.0.201:9187'] # Postgres
labels:
app: "robotoff"
service: postgres
env: org


- job_name: monitoring-org
Expand Down

0 comments on commit a07d934

Please sign in to comment.