Skip to content
Snippets Groups Projects
Commit 0f8d35bf authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Probe.

parent bd9e6e41
Branches
No related tags found
No related merge requests found
Pipeline #
...@@ -51,61 +51,61 @@ build-app: ...@@ -51,61 +51,61 @@ build-app:
## TEST ## TEST
unit-test-app: # unit-test-app:
stage: test # stage: test
image: microsoft/dotnet:1.1.1-sdk # image: microsoft/dotnet:1.1.1-sdk
script: # script:
- printf "{\"Version\":{\"GitHash\":\"%s\"}}" $CI_BUILD_REF > src/version.json # - printf "{\"Version\":{\"GitHash\":\"%s\"}}" $CI_BUILD_REF > src/version.json
- cd test # - cd test
- dotnet restore # - dotnet restore
- ./test.sh | tee tests.out # - ./test.sh | tee tests.out
- "cat tests.out | grep 'Failed: 0.'" # - "cat tests.out | grep 'Failed: 0.'"
tags: # tags:
- docker # - docker
tidy-app: # tidy-app:
stage: test # stage: test
image: dbogatov/docker-containers:dotnet-core-latest # image: dbogatov/docker-containers:dotnet-core-latest
dependencies: # dependencies:
- build-app # - build-app
before_script: # before_script:
- export ASPNETCORE_ENVIRONMENT="Staging" # - export ASPNETCORE_ENVIRONMENT="Staging"
- cd src/web/bin/release/netcoreapp1.1/publish/ # - cd src/web/bin/release/netcoreapp1.1/publish/
- dotnet web.dll > /dev/null & # - dotnet web.dll > /dev/null &
- sleep 15 # - sleep 15
script: # script:
- curl -Ls http://localhost:5555/ | tidy -e # - curl -Ls http://localhost:5555/ | tidy -e
- curl -Ls http://localhost:5555/home/metric/CpuLoad/the-source | tidy -e # - curl -Ls http://localhost:5555/home/metric/CpuLoad/the-source | tidy -e
tags: # tags:
- docker # - docker
blc-app: # blc-app:
stage: test # stage: test
image: dbogatov/docker-containers:dotnet-core-latest # image: dbogatov/docker-containers:dotnet-core-latest
dependencies: # dependencies:
- build-app # - build-app
before_script: # before_script:
- export ASPNETCORE_ENVIRONMENT="Staging" # - export ASPNETCORE_ENVIRONMENT="Staging"
- cd src/web/bin/release/netcoreapp1.1/publish/ # - cd src/web/bin/release/netcoreapp1.1/publish/
- dotnet web.dll > /dev/null & # - dotnet web.dll > /dev/null &
- sleep 15 # - sleep 15
script: # script:
- blc --filter-level 3 --input http://localhost:5555 -rog --exclude "*linkedin.*" --exclude "*authenticate*" # - blc --filter-level 3 --input http://localhost:5555 -rog --exclude "*linkedin.*" --exclude "*authenticate*"
tags: # tags:
- docker # - docker
blc-docs: # blc-docs:
stage: test # stage: test
image: dbogatov/docker-containers:jekyll-latest # image: dbogatov/docker-containers:jekyll-latest
dependencies: # dependencies:
- build-docs # - build-docs
before_script: # before_script:
- http-server documentation/out/ -p 8080 > /dev/null & # - http-server documentation/out/ -p 8080 > /dev/null &
- sleep 5 # - sleep 5
script: # script:
- blc --filter-level 3 --input http://localhost:8080 -rog --exclude "*linkedin.*" --exclude "*doxygen.*" --exclude "*status.dbogatov.org*" # - blc --filter-level 3 --input http://localhost:8080 -rog --exclude "*linkedin.*" --exclude "*doxygen.*" --exclude "*status.dbogatov.org*"
tags: # tags:
- docker # - docker
## RELEASE ## RELEASE
... ...
......
...@@ -190,6 +190,13 @@ export abstract class MetricPage<T extends Metric<DataPoint>> { ...@@ -190,6 +190,13 @@ export abstract class MetricPage<T extends Metric<DataPoint>> {
this.minData) this.minData)
; ;
console.log("from: " + from);
console.log("to: " + to);
console.log("maxData: " + this.maxData);
console.log("minData: " + this.minData);
console.log("start: " + this.start);
console.log("end: " + this.end);
plot.setSelection({ xaxis: { from: from, to: to }, yaxis: { from: 0, to: 0 } }); plot.setSelection({ xaxis: { from: from, to: to }, yaxis: { from: 0, to: 0 } });
} else { } else {
// if latest data point is more than 2 hours ago // if latest data point is more than 2 hours ago
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment