You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once completed, the exporter process, the pipeline and the '**metrics**' database have been created. You can use the SingleStore Studio, to confirm this. For example, in the screenshot below, you can see the newly created `**metrics**' database:
113
113

114
114
115
-
### Create the "S2MonitorUser"
115
+
### Create the "S2MonitorUser" user
116
116
Next, you need to create a specific user that Grafana can use to connect to the '**metrics**' database. After logging into SingleStore with the admin user, you can submit the `CREATE USER` and `GRANT` commands via the SingleStore CLI (or, from the SQL Editor within SingleStore Studio) to create the user and grant the user the desired permissions.
117
117
118
118
For example, the following command creates a user called `S2MonitorUser` and sets its password:
@@ -174,13 +174,14 @@ Or, you can import specific dashboards individually using the same script. For
Once the dashboards have been imported into Grafana, you should be all set to monitor the SingleStore instance embedded in SAS SpeedyStore.
179
179
180
180
To validate the configuration, sign into Grafana and review the SingleStore dashboards you've imported. All of the imported dashboards have the ***"sas-speedystore"*** and ***"singlestore"*** tags. While the data shown will vary based on user activity, all of the dashboards should be available with no errors or warning icons or messages.
181
181
182
182
## The Grafana Dashboards
183
183
This is a list of the SingleStore dashboards included in this sample. Each dashboard name in the list is a link to more information about the dashboard in the SingleStore documentation including the metrics depicted and the types of questions they address.
*[Detailed Cluster View by Node](https://docs.singlestore.com/db/v8.9/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/view-the-dashboards/#detailed-cluster-view-by-node)
*[Resource Pool Monitoring](https://docs.singlestore.com/db/v8.9/user-and-cluster-administration/cluster-health-and-performance/configure-monitoring/view-the-dashboards/#resource-pool-monitoring)
193
194
195
+
NOTE: The following modifications have been made to the original SingleStore dashboards definitions:
196
+
* the json files were renamed to use all lowercase and remove spaces;
197
+
* the name of the datasource was changed from `monitoring` to `s2monitoring`; and,
198
+
* the tags `sas-speedystore` and `singlestore` were added to the dashboards.
194
199
## Acknowledgements
195
200
Thank you to Michael Goddard (SAS Education) for all of his work sorting this out and allowing us to share it here.
0 commit comments