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
629ce689
Unverified
Commit
629ce689
authored
Jun 24, 2020
by
Ryan McKinley
Committed by
GitHub
Jun 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Azure Logs: use executedQueryString in metadata (#25755)
parent
fda9b1f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
packages/grafana-data/src/types/data.ts
+0
-1
public/app/plugins/datasource/grafana-azure-monitor-datasource/azure_log_analytics/response_parser.ts
+2
-2
public/app/plugins/datasource/grafana-azure-monitor-datasource/types.ts
+2
-6
No files found.
packages/grafana-data/src/types/data.ts
View file @
629ce689
...
...
@@ -44,7 +44,6 @@ export interface QueryResultMeta {
* */
gmdMeta
?:
any
[];
// used by cloudwatch
alignmentPeriod
?:
string
;
// used by stackdriver
query
?:
string
;
// used by azure log
searchWords
?:
string
[];
// used by log models and loki
limit
?:
number
;
// used by log models and loki
json
?:
boolean
;
// used to keep track of old json doc values
...
...
public/app/plugins/datasource/grafana-azure-monitor-datasource/azure_log_analytics/response_parser.ts
View file @
629ce689
...
...
@@ -65,7 +65,7 @@ export default class ResponseParser {
bucket
.
datapoints
.
push
([
row
[
valueIndex
],
epoch
]);
bucket
.
refId
=
query
.
refId
;
bucket
.
meta
=
{
query
:
query
.
query
,
executedQueryString
:
query
.
query
,
};
});
...
...
@@ -81,7 +81,7 @@ export default class ResponseParser {
rows
:
rows
,
refId
:
query
.
refId
,
meta
:
{
query
:
query
.
query
,
executedQueryString
:
query
.
query
,
},
};
...
...
public/app/plugins/datasource/grafana-azure-monitor-datasource/types.ts
View file @
629ce689
import
{
DataQuery
,
DataSourceJsonData
,
DataSourceSettings
}
from
'@grafana/data'
;
import
{
DataQuery
,
DataSourceJsonData
,
DataSourceSettings
,
TableData
}
from
'@grafana/data'
;
export
type
AzureDataSourceSettings
=
DataSourceSettings
<
AzureDataSourceJsonData
,
AzureDataSourceSecureJsonData
>
;
...
...
@@ -124,14 +124,10 @@ export interface AzureLogsVariable {
value
:
string
;
}
export
interface
AzureLogsTableData
{
export
interface
AzureLogsTableData
extends
TableData
{
columns
:
AzureLogsTableColumn
[];
rows
:
any
[];
type
:
string
;
refId
:
string
;
meta
:
{
query
:
string
;
};
}
export
interface
AzureLogsTableColumn
{
...
...
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