Skip to content
Snippets Groups Projects
Commit d317c295 authored by Filip Fábry's avatar Filip Fábry
Browse files

Fix the Grafana dashboard

parent d66931a4
No related branches found
No related tags found
1 merge request!44Fix the Grafana dashboard
apiVersion: 1
providers:
- name: 'Prometheus'
folder: ''
options:
path: /etc/grafana/provisioning/dashboards
\ No newline at end of file
This diff is collapsed.
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
uid: "adkwkulkw56gwf"
isDefault: true
scrape_configs:
- job_name: 'analytics-service'
metrics_path: '/api/analytics-service/actuator/prometheus'
scrape_interval: 5s
static_configs:
- targets: ['host.docker.internal:8080']
labels:
application: 'analytics-service'
- job_name: 'currency-service'
metrics_path: '/api/currency-service/actuator/prometheus'
scrape_interval: 5s
......@@ -27,3 +20,10 @@ scrape_configs:
- targets: ['host.docker.internal:8083']
labels:
application: 'user-service'
- job_name: 'analytics-service'
metrics_path: '/api/analytics-service/actuator/prometheus'
scrape_interval: 5s
static_configs:
- targets: ['host.docker.internal:8084']
labels:
application: 'analytics-service'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment