Skip to content

ottlprofile: Fix the handling of references to location#41466

Merged
atoulme merged 5 commits into
open-telemetry:mainfrom
florianl:refactor-logprofile
Jul 24, 2025
Merged

ottlprofile: Fix the handling of references to location#41466
atoulme merged 5 commits into
open-telemetry:mainfrom
florianl:refactor-logprofile

Conversation

@florianl
Copy link
Copy Markdown
Member

Description

Refactor internal/logprofile so it is prepared to be used by multiple OTel Profiling signal messages, not just pprofile.Profile. As OTel Profiling signal makes heavy use of pprofile.ProfilesDictionary the various OTel Profiling signal messages need a unified way to access this information.

As requested by in @TylerHelmuth in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/41256/files#r2219373368.

Refactor internal/logprofile so it is prepared to be used by multiple OTel Profiling signal messages, not just pprofile.Profile.
As OTel Profiling signal makes heavy use of pprofile.ProfilesDictionary the various OTel Profiling signal messages need a unified way to access this information.

As requested by in @TylerHelmuth in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/41256/files#r2219373368.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl force-pushed the refactor-logprofile branch from 0032aa0 to bd98e31 Compare July 22, 2025 08:46
@rockdaboot
Copy link
Copy Markdown
Contributor

It looks like the CI runs into a timeout after 45m in job "collector-build".
Maybe try increasing the timeout (see here)

Comment thread pkg/ottl/contexts/internal/logprofile/logging.go Outdated
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl changed the title [chore] refactor internal/logprofile ottlprofile: Fix the handling of references to location Jul 23, 2025
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Comment thread pkg/ottl/contexts/internal/logprofile/logging.go
@atoulme atoulme merged commit af892e5 into open-telemetry:main Jul 24, 2025
177 checks passed
povilasv pushed a commit to coralogix/opentelemetry-collector-contrib-old-fork that referenced this pull request Jul 29, 2025
…ry#41466)

#### Description

Refactor internal/logprofile so it is prepared to be used by multiple
OTel Profiling signal messages, not just pprofile.Profile. As OTel
Profiling signal makes heavy use of pprofile.ProfilesDictionary the
various OTel Profiling signal messages need a unified way to access this
information.

As requested by in @TylerHelmuth in
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/41256/files#r2219373368.

---------

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
…ry#41466)

#### Description

Refactor internal/logprofile so it is prepared to be used by multiple
OTel Profiling signal messages, not just pprofile.Profile. As OTel
Profiling signal makes heavy use of pprofile.ProfilesDictionary the
various OTel Profiling signal messages need a unified way to access this
information.

As requested by in @TylerHelmuth in
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/41256/files#r2219373368.

---------

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants