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
bfd337dd
Unverified
Commit
bfd337dd
authored
May 13, 2020
by
kay delaney
Committed by
GitHub
May 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Datasource/CloudWatch: Correctly interpolate variables in CloudWatch Logs queries (#24619)
Closes #24603
parent
277aee86
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
public/app/plugins/datasource/cloudwatch/datasource.ts
+3
-0
No files found.
public/app/plugins/datasource/cloudwatch/datasource.ts
View file @
bfd337dd
...
@@ -582,6 +582,9 @@ export class CloudWatchDatasource extends DataSourceApi<CloudWatchQuery, CloudWa
...
@@ -582,6 +582,9 @@ export class CloudWatchDatasource extends DataSourceApi<CloudWatchQuery, CloudWa
if
(
makeReplacements
)
{
if
(
makeReplacements
)
{
requestParams
.
queries
.
forEach
(
query
=>
{
requestParams
.
queries
.
forEach
(
query
=>
{
if
(
query
.
hasOwnProperty
(
'queryString'
))
{
query
.
queryString
=
this
.
replace
(
query
.
queryString
,
scopedVars
,
true
);
}
query
.
region
=
this
.
replace
(
query
.
region
,
scopedVars
,
true
,
'region'
);
query
.
region
=
this
.
replace
(
query
.
region
,
scopedVars
,
true
,
'region'
);
query
.
region
=
this
.
getActualRegion
(
query
.
region
);
query
.
region
=
this
.
getActualRegion
(
query
.
region
);
});
});
...
...
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