Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
69ff13ad
Commit
69ff13ad
authored
Nov 07, 2016
by
Roger Swingle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add govcloud
parent
a100836b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pkg/api/cloudwatch/metrics.go
+1
-1
public/app/plugins/datasource/cloudwatch/partials/config.html
+1
-1
No files found.
pkg/api/cloudwatch/metrics.go
View file @
69ff13ad
...
...
@@ -140,7 +140,7 @@ func init() {
func
handleGetRegions
(
req
*
cwRequest
,
c
*
middleware
.
Context
)
{
regions
:=
[]
string
{
"ap-northeast-1"
,
"ap-northeast-2"
,
"ap-southeast-1"
,
"ap-southeast-2"
,
"cn-north-1"
,
"eu-central-1"
,
"eu-west-1"
,
"sa-east-1"
,
"us-east-1"
,
"us-west-1"
,
"us-west-2"
,
"eu-central-1"
,
"eu-west-1"
,
"sa-east-1"
,
"us-east-1"
,
"us-west-1"
,
"us-west-2"
,
"us-gov-west-1"
,
}
result
:=
[]
interface
{}{}
...
...
public/app/plugins/datasource/cloudwatch/partials/config.html
View file @
69ff13ad
...
...
@@ -11,7 +11,7 @@
<div
class=
"gf-form"
>
<label
class=
"gf-form-label width-13"
>
Default Region
</label>
<div
class=
"gf-form-select-wrapper max-width-18 gf-form-select-wrapper--has-help-icon"
>
<select
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.defaultRegion"
ng-options=
"region for region in ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'ap-south-1', 'cn-north-1', 'eu-central-1', 'eu-west-1', 'sa-east-1', 'us-east-1', 'us-east-2', 'us-west-1', 'us-west-2']"
></select>
<select
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.defaultRegion"
ng-options=
"region for region in ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'ap-south-1', 'cn-north-1', 'eu-central-1', 'eu-west-1', 'sa-east-1', 'us-east-1', 'us-east-2', 'us-
gov-west-1', 'us-
west-1', 'us-west-2']"
></select>
<info-popover
mode=
"right-absolute"
>
Specify the region, such as for US West (Oregon) use ` us-west-2 ` as the region.
</info-popover>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment