docs: customMetricsNamespaces for Cloudwatch provisioning (#26457)

This commit is contained in:
Daniel Lee 2020-07-20 16:58:20 +02:00 committed by GitHub
parent 6ccba48ee6
commit 5a885ce26c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,3 @@
apiVersion: 1 apiVersion: 1
datasources: datasources:
@ -226,6 +225,7 @@ datasources:
jsonData: jsonData:
authType: credentials authType: credentials
defaultRegion: eu-west-2 defaultRegion: eu-west-2
customMetricsNamespaces: "CWAgent"
# Keep to test old /api/prom API # Keep to test old /api/prom API
- name: gdev-loki-0.3 - name: gdev-loki-0.3
@ -270,5 +270,3 @@ datasources:
access: proxy access: proxy
url: http://localhost:9411 url: http://localhost:9411
editable: false editable: false

View File

@ -26,7 +26,7 @@ build dashboards or use Explore with CloudWatch metrics and CloudWatch Logs.
> forget to check your log file (try looking in /var/log/grafana/grafana.log). > forget to check your log file (try looking in /var/log/grafana/grafana.log).
| Name | Description | | Name | Description |
| -------------------------- | ------------------------------------------------------------------------------------------------------- | | -------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| _Name_ | The data source name. This is how you refer to the data source in panels and queries. | | _Name_ | The data source name. This is how you refer to the data source in panels and queries. |
| _Default_ | Default data source means that it will be pre-selected for new panels. | | _Default_ | Default data source means that it will be pre-selected for new panels. |
| _Default Region_ | Used in query editor to set region (can be changed on per query basis) | | _Default Region_ | Used in query editor to set region (can be changed on per query basis) |
@ -385,6 +385,7 @@ datasources:
jsonData: jsonData:
authType: credentials authType: credentials
defaultRegion: eu-west-2 defaultRegion: eu-west-2
customMetricsNamespaces: 'CWAgent,CustomNameSpace'
``` ```
### Using `accessKey` and `secretKey` ### Using `accessKey` and `secretKey`