brew install prometheus
brew services start prometheus
Through /opt/homebrew/etc
.
Add the following to the prometheus.yml
.
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9091"]
- job_name: "agent"
metrics_path: '/prometheus'
static_configs:
- targets: ["localhost:42899"]
- job_name: "platform"
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ["localhost:9090"]
export STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_NAME=local;
export STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_ORIGIN=http://127.0.0.1:9091
go run .
In order to accept your pull request, we need you to submit a CLA. You only need to do this once. If you are submitting a pull request for the first time, just submit a Pull Request and our CLA Bot will give you instructions on how to sign the CLA before merging your Pull Request.
All contributors must sign an Individual Contributor License Agreement.
If contributing on behalf of your company, your company must sign a Corporate Contributor License Agreement. If so, please contact us via office@steadybit.com.
If for any reason, your first contribution is in a PR created by other contributor, please just add a comment to the PR with the following text to agree our CLA: "I have read the CLA Document and I hereby sign the CLA".