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
e5c1cbab
Unverified
Commit
e5c1cbab
authored
Apr 11, 2019
by
Hugo Häggmark
Committed by
GitHub
Apr 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Pass missing maxDataPoints to query in Explore (#16513)
Fixes: #16490
parent
1341f451
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
public/app/core/utils/explore.ts
+1
-0
public/app/features/explore/state/actions.ts
+2
-0
public/app/types/explore.ts
+1
-0
No files found.
public/app/core/utils/explore.ts
View file @
e5c1cbab
...
...
@@ -141,6 +141,7 @@ export function buildQueryTransaction(
__interval
:
{
text
:
interval
,
value
:
interval
},
__interval_ms
:
{
text
:
intervalMs
,
value
:
intervalMs
},
},
maxDataPoints
:
queryOptions
.
maxDataPoints
,
};
return
{
...
...
public/app/features/explore/state/actions.ts
View file @
e5c1cbab
...
...
@@ -536,6 +536,7 @@ export function runQueries(exploreId: ExploreId, ignoreUIState = false): ThunkRe
supportsLogs
,
supportsTable
,
datasourceError
,
containerWidth
,
}
=
getState
().
explore
[
exploreId
];
if
(
datasourceError
)
{
...
...
@@ -579,6 +580,7 @@ export function runQueries(exploreId: ExploreId, ignoreUIState = false): ThunkRe
interval
,
format
:
'time_series'
,
instant
:
false
,
maxDataPoints
:
containerWidth
,
},
makeTimeSeriesList
)
...
...
public/app/types/explore.ts
View file @
e5c1cbab
...
...
@@ -317,6 +317,7 @@ export interface QueryOptions {
hinting
?:
boolean
;
instant
?:
boolean
;
valueWithRefId
?:
boolean
;
maxDataPoints
?:
number
;
}
export
interface
QueryTransaction
{
...
...
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