Skip to content

Commit

Permalink
Merge pull request #2 from polarsignals/brancz-patch-1
Browse files Browse the repository at this point in the history
Write parca-agent logs to file instead of stdout
  • Loading branch information
brancz authored May 24, 2023
2 parents a0234f8 + 4ca2363 commit ab268cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ runs:
run: curl -sL https://github.com/parca-dev/parca-agent/releases/download/v${{ inputs.parca_agent_version }}/parca-agent_${{ inputs.parca_agent_version }}_`uname -s`_`uname -m`.tar.gz | tar xvfz -
- name: Run parca agent in background
shell: bash
run: sudo ./parca-agent --metadata-external-labels='${{ inputs.labels }}' --profiling-duration=${{ inputs.profiling_duration }} --profiling-cpu-sampling-frequency=${{ inputs.profiling_frequency }} --node=github --remote-store-address=${{ inputs.store_address }} --remote-store-bearer-token=${{ inputs.polarsignals_cloud_token }} &
run: sudo ./parca-agent --metadata-external-labels='${{ inputs.labels }}' --profiling-duration=${{ inputs.profiling_duration }} --profiling-cpu-sampling-frequency=${{ inputs.profiling_frequency }} --node=github --remote-store-address=${{ inputs.store_address }} --remote-store-bearer-token=${{ inputs.polarsignals_cloud_token }} > ${{ runner.temp }}/parca-agent.log 2>&1 &

0 comments on commit ab268cf

Please sign in to comment.