Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[debugexporter] Add support for profiles signal #11494

Merged

Conversation

julianocosta89
Copy link
Member

Description

This PR adds Profiles support to the debugexporter component.

Link to tracking issue

Fixes #11155.

Testing

Added tests to all modified modules:

  • exporter/debugexporter/exporter_test.go
  • exporter/debugexporter/factory_test.go
  • exporter/debugexporter/internal/normal/profiles_test.go

@julianocosta89 julianocosta89 requested a review from a team as a code owner October 21, 2024 12:56
@julianocosta89 julianocosta89 requested a review from mx-psi October 21, 2024 12:56
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

Attention: Patch coverage is 96.72131% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.39%. Comparing base (2418583) to head (5447017).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
exporter/debugexporter/exporter.go 91.30% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11494      +/-   ##
==========================================
+ Coverage   91.38%   91.39%   +0.01%     
==========================================
  Files         433      434       +1     
  Lines       23659    23711      +52     
==========================================
+ Hits        21620    21670      +50     
- Misses       1663     1665       +2     
  Partials      376      376              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mx-psi mx-psi requested a review from dmathieu October 21, 2024 14:30
exporter/debugexporter/exporter.go Show resolved Hide resolved
exporter/debugexporter/go.mod Outdated Show resolved Hide resolved
Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I know there is an open question regarding the format, I think we can go with this and iterate since we can change the output format freely

@mx-psi
Copy link
Member

mx-psi commented Oct 23, 2024

@bogdandrutu Anything left from your side? I intend to merge this by Friday EU morning

@bogdandrutu bogdandrutu merged commit cb19e1d into open-telemetry:main Oct 23, 2024
49 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 23, 2024
@julianocosta89 julianocosta89 deleted the debugexporter-add-profiles branch October 23, 2024 17:10
djaglowski pushed a commit to djaglowski/opentelemetry-collector that referenced this pull request Nov 21, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This PR adds Profiles support to the `debugexporter` component.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes open-telemetry#11155.

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added tests to all modified modules:
- `exporter/debugexporter/exporter_test.go`
- `exporter/debugexporter/factory_test.go`
- `exporter/debugexporter/internal/normal/profiles_test.go`
HongChenTW pushed a commit to HongChenTW/opentelemetry-collector that referenced this pull request Dec 19, 2024
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This PR adds Profiles support to the `debugexporter` component.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes open-telemetry#11155.

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added tests to all modified modules:
- `exporter/debugexporter/exporter_test.go`
- `exporter/debugexporter/factory_test.go`
- `exporter/debugexporter/internal/normal/profiles_test.go`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[exporter/debug] Add profiling support
4 participants