- POLICY-3886Getting issue details... STATUS
Grafana docker image: grafana/grafana-oss:8.3.4
Prometheus docker image: prom/prometheus:v2.32.1
Running as standalone:
Start the policy components on HTTP mode (so no trust/key store). Collect the IPs of applications.
Edit the prometheus configuration YAML file. (update here the file)
Run Prometheus
docker run -d -p --name=prometheus --network=host -v /path/to/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus:v2.32.1
Run grafana
docker run -d --name=grafana grafana/grafana-oss:8.3.4
Navigate to localhost:9090 to check if targets are up and running.
Navigate to localhost:3000 to open grafana. On configurations, add a new data source. Use Prometheus. Inform the localhost:9090 and change to Browser support instead of server.
Save and test to check if Grafana can connect to Prometheus.
Starting with docker-compose:
Nordix review with how the updates can start
https://gerrit.nordix.org/c/onap/policy/docker/+/12229