Skip to content

Commit

Permalink
bef and aft
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Sep 16, 2024
1 parent 30098b0 commit fde2f7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
run: node -p "Math.ceil(new Date().getTime() / 1000) * 1000" > /tmp/netdata_before
- name: Download JSON from Netdata
run: |
curl -o netdata.json 'http://localhost:19999/api/v2/data?format=json&group_by=instance'
before="$(cat /tmp/netdata_before)"
after="$(cat /tmp/netdata_after)"
curl -o netdata.json "http://localhost:19999/api/v2/data?format=json&group_by=instance&after=$after&before=$before"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit fde2f7a

Please sign in to comment.