|
| 1 | +--- |
| 2 | +title: Grafana Integration |
| 3 | +--- |
| 4 | + |
| 5 | +# Setup Grafana Integration with Harper |
| 6 | + |
| 7 | +Grafana is an observability platform for monitoring and visualizing metrics, logs, and traces. Harper provides a plugin to integrate with Grafana for enhanced analytics and visualization capabilities. |
| 8 | + |
| 9 | +To install the Harper Grafana integration: |
| 10 | + |
| 11 | +1. Navigate to Harper's plug-in inside the [Grafana marketplace](https://grafana.com/grafana/plugins/harperfast-harper-datasource/). |
| 12 | +2. Sign-in to your Grafana account. If you do not have an account, you will need to create one. |
| 13 | +3. Click the "Get plugin" button. |
| 14 | + |
| 15 | +## Installing on a Local/Self-Hosted Grafana Instance |
| 16 | + |
| 17 | +4. Follow the steps under "[Installing on a local Grafana](https://grafana.com/grafana/plugins/harperfast-harper-datasource/?tab=installation)" |
| 18 | + |
| 19 | +## Connect to Harper |
| 20 | + |
| 21 | +4. Navigate to your Grafana instance URL specified under `Installing Harper on Grafana Cloud`. |
| 22 | +5. On the left sidebar, click the `Connections` navigation link and select `Add new connection` |
| 23 | +6. In the search bar, type `Harper` to filter the list of available data source plugins. |
| 24 | +7. On the top right corner, click the `Add new data source` button. |
| 25 | +8. You will be directed to the `Settings` page for the new data source. Configure the following settings: |
| 26 | + - **Name**: Provide a name for the data source (e.g., `My Fabric Cluster Analytics`). |
| 27 | + - **Operations API URL**: Enter the URL to your Harper Fabric cluster's operations API |
| 28 | + - Found in Harper Fabric Studio navigating to the cluster: |
| 29 | + - Clicking the three dots and selecting `Copy API Url`. |
| 30 | + - Add `:9925` to the end of the URL if not already present. |
| 31 | + - **Username**: Enter a username with permission to use the analytics ops in the Operations API. |
| 32 | + - **Password**: Enter the password for the specified username. |
| 33 | +9. Click the `Save & Test` button to save the data source configuration and test the connection. You should see a message indicating that the data source is working. |
| 34 | + |
| 35 | +## Building Dashboards |
| 36 | + |
| 37 | +Once the Harper data source is configured, you can start building dashboards in Grafana. |
| 38 | + |
| 39 | +## Explore |
| 40 | + |
| 41 | +1. Click on the `Explore` navigation link in the left sidebar. |
| 42 | +2. You can now create queries using the Harper data source to visualize your Harper Fabric cluster metrics and logs. |
| 43 | + Reference the [Harper Analytics Operations](../docs/developers/operations-api/analytics) for more details on available metrics and query options. |
0 commit comments