Skip to content

Commit

Permalink
chore: update pushgateway (#2315)
Browse files Browse the repository at this point in the history
moving to grafana hosted pushgateway

License: MIT

Signed-off-by: Oli Evans <[email protected]>
  • Loading branch information
olizilla authored Oct 5, 2023
1 parent 1cc9707 commit 9d4292c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron-test-pinning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
echo "# TYPE web3storage_pin_duration_seconds gauge" >> ./pin_metric
echo "web3storage_pin_duration_seconds{size=\"3MiB\",cmd=\"kubo\"} $(cat ./pin_duration_secs)" >> ./pin_metric
cat ./pin_metric
curl --silent --show-error --data-binary "@./pin_metric" --basic --user "${{ secrets.PUSHGATEWAY_BASIC_AUTH }}" https://pushgateway.k8s.locotorp.info/metrics/job/web3storage_ci/instance/github_action
curl --silent --show-error --data-binary "@./pin_metric" ${{ secrets.PUSHGATEWAY_URL }}/metrics/job/web3storage_ci/instance/github_action
2 changes: 1 addition & 1 deletion .github/workflows/cron-test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo "# TYPE web3storage_upload_duration_seconds gauge" >> ./metric
echo "web3storage_upload_duration_seconds{endpoint=\"/car\",size=\"3MiB\",cmd=\"w3\"} $(cat ./duration_secs)" >> ./metric
cat ./metric
curl --silent --show-error --data-binary "@./metric" --basic --user "${{ secrets.PUSHGATEWAY_BASIC_AUTH }}" https://pushgateway.k8s.locotorp.info/metrics/job/web3storage_ci/instance/github_action
curl --silent --show-error --data-binary "@./metric" ${{ secrets.PUSHGATEWAY_URL }}/metrics/job/web3storage_ci/instance/github_action
- name: Heartbeat
if: ${{ success() }}
Expand Down

0 comments on commit 9d4292c

Please sign in to comment.