Donal Hurley

Results 7 comments of Donal Hurley

> Thanks for the contribution! I haven't had a chance to dig into the details yet (or do a proper review of the Dockerization/software), but a bit of early feedback...

Hi @meng-x-zhou, we have an example here (https://github.com/nginx/agent/tree/main/examples/grafana-metrics) that you can follow which shows how to configure the NGINX Agent and Prometheus to collect metrics. It also has a Grafana...

Here are the instructions on how to enable the NGINX Agent API: https://github.com/nginx/agent#enabling-the-rest-interface Then to setup Prometheus you can follow the official Prometheus docs: https://prometheus.io/docs/introduction/first_steps/ In the configuration section (https://prometheus.io/docs/introduction/first_steps/#configuring-prometheus),...

Try this `curl localhost:8038/metrics/` to get your metrics

I believe the reason you aren't seeing some metrics is because the NGINX Agent relies on the NGINX API being configured. If you are using NGINX Plus add the following...

@bejjrajesh Can you run the following make commands: ``` make install-tools make deps ``` These will setup some tools, install git hooks and update the vendor folders.

Closing this PR as further changes are required. This issue will be resolved by this new PR https://github.com/nginx/agent/pull/1088