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
50c680f3
Unverified
Commit
50c680f3
authored
Sep 16, 2020
by
Kyle Brandt
Committed by
GitHub
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BackendPlugins: Point to request Headers in the wrapper (#27599)
In particular, so plugins can see the FromAlert header
parent
e6453198
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
pkg/plugins/backendplugin/coreplugin/query_endpoint_adapter.go
+1
-0
pkg/plugins/datasource/wrapper/datasource_plugin_wrapper_v2.go
+1
-0
No files found.
pkg/plugins/backendplugin/coreplugin/query_endpoint_adapter.go
View file @
50c680f3
...
...
@@ -59,6 +59,7 @@ func (a *queryEndpointAdapter) Query(ctx context.Context, ds *models.DataSource,
DataSourceInstanceSettings
:
instanceSettings
,
},
Queries
:
[]
backend
.
DataQuery
{},
Headers
:
query
.
Headers
,
}
for
_
,
q
:=
range
query
.
Queries
{
...
...
pkg/plugins/datasource/wrapper/datasource_plugin_wrapper_v2.go
View file @
50c680f3
...
...
@@ -59,6 +59,7 @@ func (tw *DatasourcePluginWrapperV2) Query(ctx context.Context, ds *models.DataS
DataSourceInstanceSettings
:
backend
.
ToProto
()
.
DataSourceInstanceSettings
(
instanceSettings
),
},
Queries
:
[]
*
pluginv2
.
DataQuery
{},
Headers
:
query
.
Headers
,
}
for
_
,
q
:=
range
query
.
Queries
{
...
...
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