Skip to content

Commit 86b875e

Browse files
authored
Fix pprof uploads (#21826)
* try reach pyroscope internally * fix path
1 parent 8d4f0a1 commit 86b875e

9 files changed

Lines changed: 18 additions & 10 deletions

File tree

.github/workflows/cre-soak-memory-leak.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
uses: actions/upload-artifact@v7
135135
with:
136136
name: alloc.pprof
137-
path: alloc.pprof
137+
path: system-tests/tests/soak/cre/alloc.pprof
138138
retention-days: 7
139139

140140
- name: Upload Docker logs

.github/workflows/legacy-system-tests-nightly.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,3 +353,11 @@ jobs:
353353
name: container-logs-${{ matrix.logs_archive_name }}
354354
path: devenv/tests/${{ matrix.tests_dir }}/logs
355355
retention-days: 3
356+
357+
- name: Upload DF1 soak alloc.pprof
358+
if: always()
359+
uses: actions/upload-artifact@v7
360+
with:
361+
name: alloc.pprof
362+
path: devenv/tests/${{ matrix.tests_dir }}/alloc.pprof
363+
retention-days: 7

core/scripts/cre/environment/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ TraceSampleRatio = 1.0 # 100% sampling - adjust for production
17621762
DebugMode = true # WARNING: Not suitable for production due to overhead
17631763
17641764
[Pyroscope]
1765-
ServerAddress = 'http://host.docker.internal:4040'
1765+
ServerAddress = 'http://pyroscope:4040'
17661766
LinkTracesToProfiles = true # Enables traces-to-profiles in Grafana
17671767
```
17681768

core/scripts/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ require (
5353
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20260119171452-39c98c3b33cd
5454
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260326111235-8c09d1a4491f
5555
github.com/smartcontractkit/chainlink-protos/job-distributor v0.18.0
56-
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.9-0.20260330164022-15e89dd1431f
56+
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12
5757
github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.20
5858
github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.5
5959
github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.5

core/scripts/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devenv/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20260318010722-59d4165024f1
2828
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251211123524-f0c4fe7cfc0a
2929
github.com/smartcontractkit/chainlink-protos/job-distributor v0.12.0
30-
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.8
30+
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12
3131
github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.14.9
3232
github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.5
3333
github.com/smartcontractkit/chainlink-testing-framework/wasp v1.51.2

devenv/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devenv/products/cl_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ JSONConsole = true
4646
Level = 'debug'
4747
4848
[Pyroscope]
49-
ServerAddress = 'http://host.docker.internal:4040'
49+
ServerAddress = 'http://pyroscope:4040'
5050
Environment = 'local'
5151
5252
[WebServer]

devenv/products/ocr2/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ JSONConsole = true
203203
Level = 'debug'
204204
205205
[Pyroscope]
206-
ServerAddress = 'http://host.docker.internal:4040'
206+
ServerAddress = 'http://pyroscope:4040'
207207
Environment = 'local'
208208
209209
[WebServer]

0 commit comments

Comments
 (0)