How to use scylla-datasource in scyllaDB Monitoring

Installation details
#ScyllaDB version: 6.2.3
#Cluster size: 4
os (RHEL/CentOS/Ubuntu/AWS AMI): RHEL9.2

Hello.

I’m installing scylladb monitoring with docker on a server and I modified the file grafana/datasource.scylla.yml with a user/password to benefit from the scylla-datasource in grafana.

But now I have done that, how can I use it, please ? I don’t find any documentation about that. I tried to use the datasource scylla-datasource in grafana web ui, I tried to explore the datasource but all the queries I performed returns No Data.

For example :
SELECT keyspace_name, table_name FROM system_schema.tables;

The user I use has SELECT permissions on everything in ScyllaDB.
The plugin scylla-datasource appears correctly in the list of plugins.

Thank you in advance for your help.

Best regards.

@Amnon_Heiman, any idea?

I suggest that you’ll start with checking ScyllaDB’s own table.

In the CQL dashboard open the CQL System tables section:
This is how it should look like:

If your configuration is correct, you should see values.

What can happen, is that if the plugin was never connected to a cluster and no cluster ip was giving to it (not a must) it doesn’t know the cluster ips.

From the explorer you can add an ip:

Once the plugin find one node, it should find the rest. Don’t be surprise is that once the cql dashboard show you the values, the rest would work, that’s because one it learn about the cluster it will be able to connect to it

1 Like