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
6d5628f2
Commit
6d5628f2
authored
Dec 26, 2017
by
Mitsuhiro Tanda
Committed by
Torkel Ödegaard
Dec 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ignore trailing whitespace (#10344)
parent
24723cdb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
public/app/plugins/datasource/prometheus/metric_find_query.ts
+3
-3
No files found.
public/app/plugins/datasource/prometheus/metric_find_query.ts
View file @
6d5628f2
...
@@ -12,9 +12,9 @@ export default class PrometheusMetricFindQuery {
...
@@ -12,9 +12,9 @@ export default class PrometheusMetricFindQuery {
}
}
process
()
{
process
()
{
var
label_values_regex
=
/^label_values
\((?:(
.+
)
,
\s
*
)?([
a-zA-Z_
][
a-zA-Z0-9_
]
+
)\)
$/
;
var
label_values_regex
=
/^label_values
\((?:(
.+
)
,
\s
*
)?([
a-zA-Z_
][
a-zA-Z0-9_
]
+
)\)
\s
*
$/
;
var
metric_names_regex
=
/^metrics
\((
.+
)\)
$/
;
var
metric_names_regex
=
/^metrics
\((
.+
)\)
\s
*
$/
;
var
query_result_regex
=
/^query_result
\((
.+
)\)
$/
;
var
query_result_regex
=
/^query_result
\((
.+
)\)
\s
*
$/
;
var
label_values_query
=
this
.
query
.
match
(
label_values_regex
);
var
label_values_query
=
this
.
query
.
match
(
label_values_regex
);
if
(
label_values_query
)
{
if
(
label_values_query
)
{
...
...
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