[receiver/pprof] convert pprof to profile data in a receiver#44385
[receiver/pprof] convert pprof to profile data in a receiver#44385atoulme wants to merge 3 commits into
Conversation
556f577 to
6177e0a
Compare
d54645c to
b479479
Compare
d13eb3d to
95a9c4b
Compare
67b2370 to
c7274dc
Compare
MovieStoreGuy
left a comment
There was a problem hiding this comment.
The changes look sensible to me.
Following up on the API design for the translate package on the thread directly.
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
|
Reopening as we're getting closer to unblocked. |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
…f data and converting it to profiles
c7274dc to
1397405
Compare
1397405 to
41348b0
Compare
| require.NoError(t, err) | ||
| cfg := f.CreateDefaultConfig().(*Config) | ||
| cfg.CollectionInterval = 1 * time.Second | ||
| cfg.Endpoint = "http://localhost:6060/debug/pprof/profile?seconds=1" |
There was a problem hiding this comment.
Will there be some configuration validation to make sure cfg.CollectionInterval does not conflicts with interval configured in cft.Endpoint.
In this test they are the same:
cfg.CollectionInterval = 1 * time.Secondcfg.Endpoint = "http://localhost:6060/debug/pprof/profile?seconds=1"
What is the expected behaviour if cfg.CollectionInterval << cfg.Endpoint interval?
iirc the default interval for the /debug/pprof/profile endpoint is 30 seconds.
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
|
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
|
Closing in favor of #46781 |
Implement #38260