performancecopilot / grafana-pcp

Performance Co-Pilot Grafana Plugin
https://grafana-pcp.readthedocs.io
Apache License 2.0
112 stars 19 forks source link

Data source is unavailable on windows platform #182

Closed maokelong closed 11 months ago

maokelong commented 1 year ago

Data source: NA

Describe the bug Even if PCP has been installed and enabled, none of these data sources appears on windows platform: PCP Redis, PCP Vector, PCP bpftrace.

To Reproduce

  1. Install the latest Grafana released for windows platform on Grafana's offcial website ;
  2. Install the latest PCP plugin by unziping it's release into data/plugins
  3. Enable PCP plugin
  4. Try to add data sources for PCP plugin

Expected behavior Able to add PCP data source.

Screenshots If applicable, add screenshots to help explain your problem. image image

Versions (please complete the following information):

Additional context

kachini commented 1 year ago

same issue on Linux with Grafana 9.4.1 grafana-pcp 5.1.1 , wondering if there any solution.

kachini commented 1 year ago

ah, probably there is a typo in docs with plugin names: If I add following to grafana.ini, I can see datasources:

allow_loading_unsigned_plugins = performancecopilot-pcp-app,pcp-vector-datasource,pcp-bpftrace-datasource,pcp-flamegraph-panel,pcp-troubleshooting-panel,pcp-breadcrumbs-panel,pcp-redis-datasource

sfeifer commented 11 months ago

Hi. I corrected that line in the docs and opened a pull request here, #193.