-
Notifications
You must be signed in to change notification settings - Fork 9
Added docs for Grafana, editing a cluster, the API tab in an instance/cluster, etc. #386
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
Changes from 3 commits
4ed3747
3dfd35d
acbf287
7f9b645
4cd56e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,33 @@ | ||||||
| --- | ||||||
| title: API Documentation | ||||||
| --- | ||||||
|
|
||||||
| # API Documentation | ||||||
|
|
||||||
| Harper provides a self-generating API documentation page via [Swagger UI](https://github.com/swagger-api/swagger-ui) integration. This page allows developers to explore and test the various API endpoints available in your Harper instance/cluster. | ||||||
|
|
||||||
| ## Accessing the API Documentation | ||||||
|
|
||||||
| To access the API documentation, navigate to the following URL in your web browser: | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| 1. Sign in to your Harper Fabric Studio. | ||||||
| 2. Select your Organization and Cluster. | ||||||
| 3. Sign in to the Cluster and navigate to the `APIs` tab in the sub-menu. | ||||||
|
|
||||||
| ## API Execution | ||||||
|
|
||||||
| In order to execute API calls directly from the Swagger UI: | ||||||
|
|
||||||
| 1. Click an endpoint to expand it. | ||||||
| 2. Enter the required information in the provided fields under the "Parameters" tab. | ||||||
| 3. Scroll down and click the "Execute" button. | ||||||
BboyAkers marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| 4. The server response from the API call will be displayed below, including HTTP status code, and response body. | ||||||
|
|
||||||
| ## Authorize | ||||||
|
|
||||||
| To authorize API requests, you need to include a valid basic authentication header or bearer authentication token. | ||||||
|
|
||||||
| 1. Click on the "Authorize" button in the Swagger Documentation UI. | ||||||
| 2. Choose your preferred authentication method (Basic or Bearer) and enter your credentials or token. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you include a note where a user may get these credentials or tokens from? Like is this something they created when they instantiated the cluster? Maybe relate or link it back to another part of the docs when they created the details to jog their memory. |
||||||
| 3. Click the "Authorize" button to apply the authentication key to all subsequent requests. | ||||||
| 4. Execute an API call to verify that the authorization was successful. | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,43 @@ | ||||||
| --- | ||||||
| title: Grafana Integration | ||||||
| --- | ||||||
|
|
||||||
| # Setup Grafana Integration with Harper | ||||||
BboyAkers marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| Grafana is an observability platform for monitoring and visualizing metrics, logs, and traces. Harper provides a plug-in to integrate with Grafana for enhanced analytics and visualization capabilities. | ||||||
BboyAkers marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| Grafana is an observability platform for monitoring and visualizing metrics, logs, and traces. Harper provides a plug-in to integrate with Grafana for enhanced analytics and visualization capabilities. | |
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To install the Harper Grafana integration: | |
| To install the Harper Grafana plugin: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 1. Navigate to Harper's plug-in inside the [Grafana marketplace](https://grafana.com/grafana/plugins/harperfast-harper-datasource/). | |
| 1. Navigate to the official Grafana marketplace [Harper plugin](https://grafana.com/grafana/plugins/harperfast-harper-datasource/). |
Uh oh!
There was an error while loading. Please reload this page.