-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated dashboard build and added metrics demo
- Loading branch information
Showing
7 changed files
with
63 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang="en" dir="ltr"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/manifest.json"/><link rel="shortcut icon" href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/favicon.ico"/><link rel="apple-touch-icon" sizes="76x76" href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/apple-icon.png"/><title>Oxygen Metrics</title><script defer="defer" src="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/static/js/main.ab64643f.js"></script><link href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/static/css/main.1e415bb7.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> | ||
<!doctype html><html lang="en" dir="ltr"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/manifest.json"/><link rel="shortcut icon" href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/favicon.ico"/><link rel="apple-touch-icon" sizes="76x76" href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/apple-icon.png"/><title>Oxygen Metrics</title><script defer="defer" src="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/static/js/main.065fe6b4.js"></script><link href="/df9a0d86-3283-4920-82dc-4555fc0d1d8b/static/css/main.1e415bb7.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> |
4 changes: 2 additions & 2 deletions
4
data/dashboard/static/js/main.ab64643f.js → data/dashboard/static/js/main.065fe6b4.js
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module CronManagementDemo | ||
|
||
include("../src/Oxygen.jl") | ||
using .Oxygen | ||
using HTTP | ||
using Dates | ||
|
||
get("/data") do | ||
Dict("msg" => "hello") | ||
end | ||
|
||
get("/random/sm") do | ||
sleep(rand(0.1:0.30)) | ||
"small random" | ||
end | ||
|
||
get("/random/md") do | ||
sleep(rand(0.30:0.70)) | ||
"small random" | ||
end | ||
|
||
get("/random/lg") do | ||
sleep(rand(0.30:1)) | ||
"random" | ||
end | ||
|
||
serve() | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters