**Comparedversions:** [**`PR-{{ index . "PR_NUMBER" }}`**](http://{{ index . "DOMAIN_NAME" }}/{{ index . "PR_NUMBER" }}/prometheus-pr) and [**`{{ index . "RELEASE" }}`**](http://{{ index . "DOMAIN_NAME" }}/{{ index . "PR_NUMBER" }}/prometheus-release)
**GitHubActions logs:** [{{ index . "GITHUB_SHA" }}/checks](https://github.com/{{ index . "GITHUB_REPOSITORY" }}/commit/{{ index . "GITHUB_SHA" }}/checks)
After successful deployment, the benchmarking metrics can be viewed at:
- [Prometheus Meta](http://{{ index . "DOMAIN_NAME" }}/prometheus-meta/graph?g0.expr={namespace%3D"prombench-{{ index . "PR_NUMBER" }}"}&g0.tab=1)
- [Grafana Home](http://{{ index . "DOMAIN_NAME" }}/grafana)
- [Grafana Exlorer, Loki logs](http://{{ index . "DOMAIN_NAME" }}/grafana/explore)
until make all_nodepools_deleted; do echo "waiting for nodepools to be deleted"; sleep 10; done;
make deploy;
- name:Post comment if make deploy failed
id:fail_notification
if:failure()
uses:docker://prombench/comment-monitor:0.0.1
env:
COMMENT_TEMPLATE:|
Prombench test **start** failed. Please see logs for more info.
**GitHubActions logs:** [{{ index . "GITHUB_SHA" }}/checks](https://github.com/{{ index . "GITHUB_REPOSITORY" }}/commit/{{ index . "GITHUB_SHA" }}/checks)
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
#############################
# Jobs for stopping benchmark
#############################
pre_benchmark_cancel:
name:Pre Benchmark Cancel
runs-on:ubuntu-latest
steps:
- name:Validate comment
id:validate_comment
uses:docker://prombench/comment-monitor:0.0.1
env:
COMMENT_TEMPLATE:|
Benchmark cancel is in progress.
**GitHubActions logs:** [{{ index . "GITHUB_SHA" }}/checks](https://github.com/{{ index . "GITHUB_REPOSITORY" }}/commit/{{ index . "GITHUB_SHA" }}/checks)
until make all_nodepools_running; do echo "waiting for nodepools to be created"; sleep 10; done;
make clean;
- name:Post comment if make clean failed
id:fail_notification
if:failure()
uses:docker://prombench/comment-monitor:0.0.1
env:
COMMENT_TEMPLATE:|
Prombench test **cancel** failed. Please see logs for more info."
**GitHubActions logs:** [{{ index . "GITHUB_SHA" }}/checks](https://github.com/{{ index . "GITHUB_REPOSITORY" }}/commit/{{ index . "GITHUB_SHA" }}/checks)
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
###############################
# Jobs for restarting benchmark
###############################
pre_benchmark_restart:
name:Pre Benchmark Restart
runs-on:ubuntu-latest
steps:
- name:Validate comment
id:validate_comment
uses:docker://prombench/comment-monitor:0.0.1
env:
COMMENT_TEMPLATE:|
⏱️ Welcome to Prometheus Benchmarking Tool. ⏱️
**Comparedversions:** [**`PR-{{ index . "PR_NUMBER" }}`**](http://{{ index . "DOMAIN_NAME" }}/{{ index . "PR_NUMBER" }}/prometheus-pr) and [**`{{ index . "RELEASE" }}`**](http://{{ index . "DOMAIN_NAME" }}/{{ index . "PR_NUMBER" }}/prometheus-release)
**GitHubActions logs:** [{{ index . "GITHUB_SHA" }}/checks](https://github.com/{{ index . "GITHUB_REPOSITORY" }}/commit/{{ index . "GITHUB_SHA" }}/checks)'
After successful deployment, the benchmarking metrics can be viewed at:
- [Prometheus Meta](http://{{ index . "DOMAIN_NAME" }}/prometheus-meta/graph?g0.expr={namespace%3D"prombench-{{ index . "PR_NUMBER" }}"}&g0.tab=1)
- [Grafana Home](http://{{ index . "DOMAIN_NAME" }}/grafana)
- [Grafana Exlorer, Loki logs](http://{{ index . "DOMAIN_NAME" }}/grafana/explore)
until make all_nodepools_running; do echo "waiting for nodepools to be created"; sleep 10; done;
make clean;
until make all_nodepools_deleted; do echo "waiting for nodepools to be deleted"; sleep 10; done;
make deploy;
- name:Post comment if make deploy failed
id:fail_notification
if:failure()
uses:docker://prombench/comment-monitor:0.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
COMMENT_TEMPLATE:|
Prombench test **restart** failed. Please see logs for more info."
**GitHubActions logs:** [{{ index . "GITHUB_SHA" }}/checks](https://github.com/{{ index . "GITHUB_REPOSITORY" }}/commit/{{ index . "GITHUB_SHA" }}/checks)