Skip to content

Commit

Permalink
export metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Sep 16, 2024
1 parent fde2f7a commit c825de9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
node-version: "22"
- name: Run Netdata
run: |
echo '[prometheus_remote_write:prom]
enabled = yes
destination = ${{ secrets.PROMETHEUS_REMOTE_WRITE_DESTINATION }}
remote write URL path = /api/v1/write' > exporting.conf
docker run -d --rm \
--name netdata \
--hostname node \
Expand All @@ -38,6 +42,7 @@ jobs:
-v /var/log:/host/var/log:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /run/dbus:/run/dbus:ro \
-v $PWD/exporting.conf:/etc/netdata/exporting.conf:ro \
netdata/netdata
- name: Record after time
run: node -p "Math.floor(new Date().getTime() / 1000) * 1000" > /tmp/netdata_after
Expand Down

0 comments on commit c825de9

Please sign in to comment.