Open darkn3rd opened 1 year ago
Was traffic consistently being sent through your applications? It can take a bit of time for the statistics to be accumulated, and consistent traffic flow is required to get those statistics.
I tried is different circumstances, and I get nothing. I am not sure how this is suppose to work (as it isn't open source), so I am not sure what to look for in this case. I went through the installing observability tutorial (doc https://docs.nginx.com/nginx-service-mesh/tutorials/observability/) as well.
I also tried walking the access control tutorial that instructs using this tool (dic https://docs.nginx.com/nginx-service-mesh/tutorials/accesscontrol-walkthrough/), and couldn't get nginx-meshctl to work.
Do you see nginxplus_upstream_server_responses
and nginxplus_upstream_server_response_latency_ms_bucket
metrics in Prometheus?
The top command basically queries the nginx-mesh-metrics
server, which queries and formats these metrics from Prometheus. We have found the results to be finicky in the past.
I would have to run a test again, to see if I can see those metrics in prometheus.
@darkn3rd FYI...In the time since you have created this issue, we have open-sourced our CLI tool, nginx-meshctl. That doesn't solve your issue, but I thought you might like to look at the code since you asked about it.
STEPS
nginx-meshctl top
I used helmfile to deploy what was in the docs, except that I use manual injection and enabled strict mTLS mode.
Expect Results
There would be data
Actual Results