Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6410761a
authored
Nov 11, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix pep8
parent
c83ead96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
circle/monitor/calvin/examples/basic.py
+2
-2
No files found.
circle/monitor/calvin/examples/basic.py
View file @
6410761a
...
@@ -6,8 +6,8 @@ server_port = "8080"
...
@@ -6,8 +6,8 @@ server_port = "8080"
query
=
Query
()
query
=
Query
()
query
.
setTarget
(
"1889.foo.fook.fookie.com.DOMAIN"
)
query
.
setTarget
(
"1889.foo.fook.fookie.com.DOMAIN"
)
query
.
setMetric
(
"cpu.usage"
)
query
.
setMetric
(
"cpu.usage"
)
query
.
setFormat
(
"json"
)
#
Not neccesary, default is json
query
.
setFormat
(
"json"
)
#
Not neccesary, default is json
query
.
setRelativeStart
(
1
,
"minutes"
)
#
Current cpu usage
query
.
setRelativeStart
(
1
,
"minutes"
)
#
Current cpu usage
query
.
generate
()
query
.
generate
()
# print(query.getGenerated())
# print(query.getGenerated())
...
...
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