New Prometheus-Datasource url for examples/flower-via-docker-compose
Issue
The example flower-via-docker-compose was running but not visualizing results in Grafana.
Description
The current implementation of examples/flower-via-docker-compose did not work fully on Ubuntu 22.04 following the instructions provided. One can see that the application is running but Grafana is not plotting any results.
Related issues/PRs
Proposal
Change url key value in ./examples/flower-via-docker-compose/config/provisioning/datasources/prometheus-datasource.yml from http://host.docker.internal:9090 to http://prometheus:9090.
Explanation
Grafana can now access the incoming results from Prometheus and plot them in real-time.
Checklist
- [ x] Implement proposed change
- [ x] Write tests
- [ x] Update documentation
- [ ] Update the changelog entry below
- [ ] Make CI checks pass
- [ x] Ping maintainers on Slack (channel
#contributions)
Changelog entry
Any other comments?
@WilliamLindskog many thanks for opening the PR. I see some other changes got added (related to the FedPer baseline that doesn't quite match the one in flower main). I'd suggest to remove it. (you can see your branch contains both FedPer and fedper https://github.com/WilliamLindskog/flower/tree/docker/baselines, the latter is the one we want to keep since it's the one in flower:main.