-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No stats on grafana Linkerd Services dashboard for our namespace #1451
Comments
@willtrking Interesting -- thanks for reporting this. I tested that dashboard using the emojivoto service from the Getting Started guide, and it's successfully populating with stats. Are you sure that the services in your You can use the
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
I ran into this yesterday with trying linkerd2 for the first time. I set up a AKS cluster and deployed linkerd2 to it along with the emojivoto service. I clicked around the port-forwarded web app a bunch, but no stats showed up. All I got was:
I'm going to try again today with linkerd2 edge on AKS. |
@ctaggart Thanks for the additional info. I would definitely expect to see stats in that output. In fact the emojivoto app includes a traffic generator (vote-bot) that sends traffic to each of the components automatically -- it shouldn't require additional clicking around in the web frontend. When I run the app in my cluster (docker-for-desktop), I get:
In terms of debugging, I think it would be worth looking at the raw prometheus stats exported from the linkerd-proxy container in the web pod. Can you port-forward to the metrics port of that pod:
And the grab the
Using linkerd2 edge-18.11.2, I get:
|
I set up another AKS cluster today with linkerd edge and I am able to get some stats. I used the
I was hoping to also see the stats for the paths and methods, but they are not: Initially without any requests made, I was getting an HTTP 500 in the dashboard with this URL: |
@ctaggart Path and method stats should be there. Here's what it looks like in my setup: That table's populated with live traffic data after the page loads, so it may take some time before rows appear, and the data in the table is just a sampling of all requests. The data is supplied via websockets to the frontend, so if you're still not seeing any rows after leaving the page open for a minute or so, please check to make sure your browser is properly handling the websocket connection. #1737 tracks adding full-fidelity, historical path stats that are stored in Prometheus, rather than stats that are sampled from live traffic as it's currently setup. That feature is almost ready for primetime -- stayed tuned for the next few releases. |
I tried in both Firefox and Chrome. Chrome console shows this websockets request: Just in case it was an issue with
Happy to give your access to my test cluster in Azure to look at. |
@ctaggart Ok, thanks for investigating. It would be worth trying to see if you can tap that deployment from the command line. Here's what I see in my env:
That's the same data that populates the table in the web UI. So if it's working from the CLI, then that suggests that the issue in your environment is stemming from the web component. I can probably find some time tomorrow to poke at your test cluster if it's still not working. Feel free to ping me in the Linkerd slack -- I'm "kl". |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Hey there,
We're testing out linkerd2 and aren't seeing any stats for the services in our Kubernetes namespace (
networktest
) on the Linkerd Services grafana dashboard. However, we are seeing stats on the Linkerd Services dashboard for the services created by linkerd2 installation in thelinkerd
namespace.Traffic is being routed OK, and we are seeing stats in other Grafana dashboards as expected.
See below screen shots.
linkerd
namespacenetworktest
namespaceThe text was updated successfully, but these errors were encountered: