-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #550 from stakater/thunef/grafana-docs
Update docs for grafana cloud monitoring
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Grafana Configuration | ||
|
||
You can configure Grafana Synthetic Monitoring as an Ingress Monitor by using the configuration below: | ||
|
||
| Key | Description | | ||
| ------------- | ------------------------------------------------------------------------------------ | | ||
| name | Name of the provider (e.g., Grafana) | | ||
| apiKey | Synthetic monitoring access token | | ||
| grafanaConfig | `grafanaConfig` is the configuration specific to Grafana instance as mentioned below:| | ||
|
||
## Synthectic Monitoring Access Token | ||
To obtain an access token for synthetic monitoring, first enable synthetic monitoring in your Grafana Cloud account. Then, navigate to the Configuration tab and generate a new token there. | ||
![Generating access token](./grafana_docs_1.png) | ||
|
||
## gcloud Configuration: | ||
|
||
| Key | Description | | ||
| --------- | ---------------------------------------------------------------- | | ||
| frequency | How frequently the check should run (in milliseconds). | | ||
|
||
|
||
**Example Configuration:** | ||
|
||
```yaml | ||
providers: | ||
- name: Grafana | ||
apiKey: <ACCESS TOKEN> | ||
apiURL: https://synthetic-monitoring-api-eu-north-0.grafana.net | ||
grafanaConfig: | ||
frequency: 5000 | ||
enableMonitorDeletion: true | ||
``` | ||
## Example Kubernetes Manifest: | ||
```yaml | ||
apiVersion: endpointmonitor.stakater.com/v1alpha1 | ||
kind: EndpointMonitor | ||
metadata: | ||
name: stakater | ||
spec: | ||
forceHttps: true | ||
url: https://stakater.com/ | ||
gcloudConfig: | ||
frequency: 5000 | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.