Skip to content

Conversation

jmichalek132
Copy link
Contributor

@jmichalek132 jmichalek132 commented Oct 20, 2024

Description

Draft PR for adding rw2 support in the prometheus remote write exporter.
Very much a draft, not full implementation of the spec with a lot of code duplication and no tests WIP.

TODO:

  • changelog entry
  • feature flag on top of config options
  • rip out batching for now
  • enum instead of bool for RW2
  • update exporter readme
  • Validate supported enum value set
  • Check for TODOs
  • unit tests
  • going over the spec and making changes to be rw2 compliant -> follow up PR
  • try to reduce duplicate code

Link to tracking issue #33661

Fixes

Testing

Documentation

@jmichalek132 jmichalek132 requested a review from ywwg May 8, 2025 17:16
Copy link
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for continuing the work here even after all these months!

@jmichalek132
Copy link
Contributor Author

LGTM, thanks for continuing the work here even after all these months!

Thank you for the patience and all the help ;).

@ArthurSens ArthurSens added the ready to merge Code review completed; ready to merge by maintainers label May 9, 2025
@mx-psi mx-psi merged commit ab10fe1 into open-telemetry:main May 9, 2025
182 checks passed
@github-actions github-actions bot added this to the next release milestone May 9, 2025
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
…or rw2 (open-telemetry#35888)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Draft PR for adding rw2 support in the prometheus remote write exporter.
Very much a draft, not full implementation of the spec with a lot of
code duplication and no tests WIP.

TODO:

- [x] changelog entry
- [x] feature flag on top of config options
- [x] rip out batching for now
- [x] enum instead of bool for RW2
- [x] update exporter readme
- [x] Validate supported enum value set
- [x] Check for TODOs 
- [x] unit tests
- [x] going over the spec and making changes to be rw2 compliant ->
follow up PR
- [x] try to reduce duplicate code

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue open-telemetry#33661
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Juraj Michalek <[email protected]>
Co-authored-by: David Ashpole <[email protected]>
Co-authored-by: Arthur Silva Sens <[email protected]>
Co-authored-by: Bartlomiej Plotka <[email protected]>
songy23 pushed a commit that referenced this pull request Jun 12, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Add test case with invalid proto message in the exporter config.

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

Partially implements
#33661
(when merging PR please don't close the tracing issue)

Requested here
#35888 (comment)

<!--Describe what testing was performed and which tests were added.-->
#### Testing
* [x] update unit tests
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 23, 2025
…or rw2 (open-telemetry#35888)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Draft PR for adding rw2 support in the prometheus remote write exporter.
Very much a draft, not full implementation of the spec with a lot of
code duplication and no tests WIP.

TODO:

- [x] changelog entry
- [x] feature flag on top of config options
- [x] rip out batching for now
- [x] enum instead of bool for RW2
- [x] update exporter readme
- [x] Validate supported enum value set
- [x] Check for TODOs 
- [x] unit tests
- [x] going over the spec and making changes to be rw2 compliant ->
follow up PR
- [x] try to reduce duplicate code

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue open-telemetry#33661
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Juraj Michalek <[email protected]>
Co-authored-by: David Ashpole <[email protected]>
Co-authored-by: Arthur Silva Sens <[email protected]>
Co-authored-by: Bartlomiej Plotka <[email protected]>
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 23, 2025
…try#40562)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Add test case with invalid proto message in the exporter config.

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

Partially implements
open-telemetry#33661
(when merging PR please don't close the tracing issue)

Requested here
open-telemetry#35888 (comment)

<!--Describe what testing was performed and which tests were added.-->
#### Testing
* [x] update unit tests
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
…try#40562)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Add test case with invalid proto message in the exporter config.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

Partially implements
open-telemetry#33661
(when merging PR please don't close the tracing issue)

Requested here
open-telemetry#35888 (comment)

<!--Describe what testing was performed and which tests were added.-->
#### Testing
* [x] update unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment