Skip to content

Commit 7785297

Browse files
committed
New GPU metrics
1 parent a062291 commit 7785297

File tree

4 files changed

+55
-3
lines changed

4 files changed

+55
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@ require (
177177
sigs.k8s.io/yaml v1.4.0 // indirect
178178
)
179179

180-
replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260120173907-dbdd569b8667
180+
replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260127205804-234a62635cf2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ github.com/opencontainers/selinux v1.13.0/go.mod h1:XxWTed+A/s5NNq4GmYScVy+9jzXh
299299
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0=
300300
github.com/parca-dev/oomprof v0.1.6 h1:potfd09aphNKqsIF54ZsiddTvksVMjQiaKnczFOsVGM=
301301
github.com/parca-dev/oomprof v0.1.6/go.mod h1:iqI6XrmiNWOa8m2vEIKo+GtQrqbWCMLFpBWuk8RuAPs=
302-
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260120173907-dbdd569b8667 h1:x7EC4K8Zl4WF1f71shBoGPFut1iTLj526I+yfeOWDlo=
303-
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260120173907-dbdd569b8667/go.mod h1:yVpeERcH/++ahci/FAPA8l4TL+y0JY3T6z4xu/r3+HM=
302+
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260127205804-234a62635cf2 h1:dcVPqwSZ2bKYG1pwqRx3mY1orbtv8dlkUCAzadXDDqc=
303+
github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20260127205804-234a62635cf2/go.mod h1:yVpeERcH/++ahci/FAPA8l4TL+y0JY3T6z4xu/r3+HM=
304304
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0=
305305
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y=
306306
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=

metrics/all.go

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

metrics/metrics.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,5 +2120,33 @@
21202120
"name": "DlopenUprobeHits",
21212121
"field": "bpf.dlopen.uprobe_hits",
21222122
"id": 294
2123+
},
2124+
{
2125+
"description": "Number of GPU timing events waiting for matching traces",
2126+
"type": "gauge",
2127+
"name": "CudaTimesAwaitingTraces",
2128+
"field": "cuda.times_awaiting_traces",
2129+
"id": 295
2130+
},
2131+
{
2132+
"description": "Number of GPU traces waiting for matching timing events",
2133+
"type": "gauge",
2134+
"name": "CudaTracesAwaitingTimes",
2135+
"field": "cuda.traces_awaiting_times",
2136+
"id": 296
2137+
},
2138+
{
2139+
"description": "Number of GPU timing entries cleared due to threshold",
2140+
"type": "counter",
2141+
"name": "CudaTimesCleared",
2142+
"field": "cuda.times_cleared",
2143+
"id": 297
2144+
},
2145+
{
2146+
"description": "Number of GPU trace entries cleared due to threshold",
2147+
"type": "counter",
2148+
"name": "CudaTracesCleared",
2149+
"field": "cuda.traces_cleared",
2150+
"id": 298
21232151
}
21242152
]

0 commit comments

Comments
 (0)