Skip to content

Commit

Permalink
Merge pull request #9 from polarsignals/brancz-patch-1
Browse files Browse the repository at this point in the history
Update agent version
  • Loading branch information
brancz authored Jan 22, 2025
2 parents fd55749 + a2af183 commit 575cf10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
parca_agent_version:
description: 'Parca agent version.'
required: false
default: '0.26.0'
default: '0.35.3'
profiling_frequency:
description: 'The frequency at which profiling data is collected. Parca Agent defaults to 19, but to gather more data in CI we recommend a higher frequency.'
required: false
Expand All @@ -32,7 +32,9 @@ runs:
steps:
- name: Install Parca Agent
shell: bash
run: curl --connect-timeout 5 --max-time 60 --retry 5 --retry-delay 0 --retry-max-time 600 -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 -
run: |
curl --connect-timeout 5 --max-time 60 --retry 5 --retry-delay 0 --retry-max-time 600 -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` > parca-agent
chmod +x ./parca-agent
- 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 }} ${{ inputs.extra_args }} > ${{ runner.temp }}/parca-agent.log 2>&1 &

0 comments on commit 575cf10

Please sign in to comment.