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
acede1d5
Commit
acede1d5
authored
Nov 15, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graphite: progress on new query editor
parent
b5b93a68
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
docker/blocks/graphite1/Dockerfile
+4
-1
docker/blocks/graphite1/docker-compose.yaml
+1
-1
public/app/plugins/datasource/graphite/partials/query.editor.html
+9
-7
No files found.
docker/blocks/graphite1/Dockerfile
View file @
acede1d5
FROM
phusion/baseimage:0.9.22
MAINTAINER
Denys Zhdanov <denis.zhdanov@gmail.com>
RUN
apt-get
-y
update
\
&&
apt-get
-y
upgrade
\
&&
apt-get
-y
install vim
\
...
...
@@ -43,6 +44,8 @@ ARG whisper_version=${version}
ARG
carbon_version=${version}
ARG
graphite_version=${version}
RUN
echo
"Building Version:
$version
"
ARG
whisper_repo=https://github.com/graphite-project/whisper.git
ARG
carbon_repo=https://github.com/graphite-project/carbon.git
ARG
graphite_repo=https://github.com/graphite-project/graphite-web.git
...
...
@@ -80,7 +83,7 @@ RUN mkdir -p /var/log/graphite/ \
&&
PYTHONPATH
=
/opt/graphite/webapp django-admin.py collectstatic
--noinput
--settings
=
graphite.settings
# config statsd
ADD
conf/opt/statsd/config
_*
.js /opt/statsd/
ADD
conf/opt/statsd/config.js /opt/statsd/
# config nginx
RUN
rm /etc/nginx/sites-enabled/default
...
...
docker/blocks/graphite1/docker-compose.yaml
View file @
acede1d5
...
...
@@ -2,7 +2,7 @@
build
:
context
:
blocks/graphite1
args
:
-
version=
master
version
:
master
ports
:
-
"
8080:80"
-
"
2003:2003"
...
...
public/app/plugins/datasource/graphite/partials/query.editor.html
View file @
acede1d5
...
...
@@ -5,9 +5,9 @@
</div>
<div
ng-hide=
"ctrl.target.textEditor"
>
<div
class=
"gf-form-inline"
ng-if=
"ctrl.queryModel.seriesByTagUsed"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label width-6 query-keyword"
>
Tag
s
</label>
<label
class=
"gf-form-label width-6 query-keyword"
>
Metric
s
</label>
</div>
<div
ng-repeat=
"tag in ctrl.queryModel.tags"
class=
"gf-form"
>
...
...
@@ -25,26 +25,28 @@
</gf-form-dropdown>
<label
class=
"gf-form-label query-keyword"
ng-if=
"ctrl.showDelimiter($index)"
>
,
</label>
</div>
<div
ng-repeat=
"segment in ctrl.segments"
role=
"menuitem"
class=
"gf-form"
>
<metric-segment
segment=
"segment"
get-options=
"ctrl.getAltSegments($index)"
on-change=
"ctrl.segmentValueChanged(segment, $index)"
></metric-segment>
</div>
<div
ng-if=
"ctrl.queryModel.seriesByTagUsed"
ng-repeat=
"segment in ctrl.addTagSegments"
role=
"menuitem"
class=
"gf-form"
>
<metric-segment
segment=
"segment"
get-options=
"ctrl.getTagsAsSegments()"
on-change=
"ctrl.addNewTag(segment)"
>
</metric-segment>
</div>
<div
class=
"gf-form gf-form--grow"
>
<div
class=
"gf-form-label gf-form-label--grow"
></div>
</div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
ng-if=
"ctrl.queryModel.seriesByTagUsed"
>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label width-6 query-keyword"
>
Functions
</label>
</div>
<div
ng-repeat=
"segment in ctrl.segments"
role=
"menuitem"
class=
"gf-form"
>
<metric-segment
segment=
"segment"
get-options=
"ctrl.getAltSegments($index)"
on-change=
"ctrl.segmentValueChanged(segment, $index)"
></metric-segment>
</div>
<div
ng-repeat=
"func in ctrl.queryModel.functions"
class=
"gf-form"
>
<span
graphite-func-editor
class=
"gf-form-label query-part"
ng-hide=
"func.hidden"
></span>
</div>
...
...
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