Skip to content
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

Multiple vector hosts cannot be configured properly from higher version Grafana #202

Open
MrXinWang opened this issue Jun 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@MrXinWang
Copy link

MrXinWang commented Jun 27, 2024

Hi,

Data source:
Vector

Describe the bug
I followed the grafana-pcp quickstart guide and was able to query metrics properly from PCP Vector data source with a predefined target host. Currently I am trying to configure my grafana-pcp dashboard with multiple hosts following the guide here:
https://grafana-pcp.readthedocs.io/en/latest/guides/multiple-vector-hosts.html

However I am seeing some errors while following the guide, below are the steps I tried with screenshots. Would you please kindly help to identify or clarify if I am making mistakes? Or provide any hints to configure it properly if maybe the doc is a bit outdated? Thanks!

To Reproduce

  1. Follow the "Setup the Vector data source" section
    As the doc shows, the error is expected.
image
  1. Create a new dashboard with variables
    In this step I created a new dashboard with a textbox variable "host"
image
  1. Configure the dashboard
    The problem is in this step: Without the URL set in the data source, it seems that Grafana won't allow me to enter the PCP metric name and the URL field. Any hints on this one? Thanks!
image

Versions (please complete the following information):

  • Performance Co-Pilot: 5.3.6
  • Grafana: v11.0.0
  • grafana-pcp: 5.0.0
  • Redis (if applicable): N/A
@MrXinWang MrXinWang added the bug Something isn't working label Jun 27, 2024
@MrXinWang
Copy link
Author

MrXinWang commented Jun 27, 2024

Hi @natoscott @sfeifer @andreasgerstmayr , would you please kindly provide any hint on this issue? Thanks very much!

@MrXinWang
Copy link
Author

MrXinWang commented Jun 27, 2024

One update:
Using Grafana 9.0.0, I am able to switch the host by changing the URL variable from the default "PCP Vector Checklist" dashboard imported from the grafana-pcp plugin, and the dashboard works well. However using same configuration/setup, if I switch back to Grafana 11.0.0 I will get a "Network Error: NetworkError when attempting to fetch resource", the dashboard will be empty with the error in this case.

Any idea why or where I can start to debug? Thanks!

@MrXinWang MrXinWang changed the title Multiple vector hosts cannot be configured properly from grafana-pcp Multiple vector hosts cannot be configured properly from higher version Grafana Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant