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

[Feature][exporter/azuredataexplorerexporter] Exporter helper support #27272

Merged
merged 26 commits into from
Oct 12, 2023

Conversation

asaharn
Copy link
Member

@asaharn asaharn commented Sep 29, 2023

Description:

Added support for Exporter Helper configuration.
Link to tracking Issue: #24329

Testing: Added tests and manually tested with e2e scenarios

@fatsheep9146
Copy link
Contributor

changelog should be added

@fatsheep9146
Copy link
Contributor

 ?   	github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuredataexplorerexporter/internal/metadata	[no test files]
--- FAIL: TestCreateMetricsExporter (0.01s)
    factory_test.go:52: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/azuredataexplorerexporter/factory_test.go:52
        	Error:      	An error is expected but got nil.
        	Test:       	TestCreateMetricsExporter

failed checks seemed related to this change, if so, please fix the test

@asaharn
Copy link
Member Author

asaharn commented Oct 4, 2023

Hi @fatsheep9146 ,
Have updated the code with all the TCs passed. But looks like Lint check is failing with some other component.

@@ -75,6 +75,8 @@ func createMetricsExporter(
adxCfg,
adp.metricsDataPusher,
exporterhelper.WithTimeout(exporterhelper.TimeoutSettings{Timeout: 0}),
Copy link
Member

Choose a reason for hiding this comment

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

Looks like you're still not using the timeout setting from exporterhelper.TimeoutSettings?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah! good catch @astencel-sumo, corrected this.

cmd/githubgen/go.sum Outdated Show resolved Hide resolved
@asaharn
Copy link
Member Author

asaharn commented Oct 6, 2023

Hi @fatsheep9146 , All checks passed now.

@fatsheep9146 fatsheep9146 added the ready to merge Code review completed; ready to merge by maintainers label Oct 12, 2023
@fatsheep9146
Copy link
Contributor

@open-telemetry/collector-contrib-maintainer could anyone help merge this pr?

@TylerHelmuth TylerHelmuth merged commit 7ef43a0 into open-telemetry:main Oct 12, 2023
88 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 12, 2023
JaredTan95 pushed a commit to openinsight-proj/opentelemetry-collector-contrib that referenced this pull request Oct 18, 2023
…open-telemetry#27272)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Added support for  Exporter Helper configuration. 
**Link to tracking Issue:** open-telemetry#24329 

**Testing:** <Describe what testing was performed and which tests were
added.> Added tests and manually tested with e2e scenarios

---------

Co-authored-by: Ramachandran A G <[email protected]>
Co-authored-by: Ziqi Zhao <[email protected]>
Co-authored-by: Ramachandran A G <[email protected]>
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…open-telemetry#27272)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Added support for  Exporter Helper configuration. 
**Link to tracking Issue:** open-telemetry#24329 

**Testing:** <Describe what testing was performed and which tests were
added.> Added tests and manually tested with e2e scenarios

---------

Co-authored-by: Ramachandran A G <[email protected]>
Co-authored-by: Ziqi Zhao <[email protected]>
Co-authored-by: Ramachandran A G <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd/githubgen exporter/azuredataexplorer ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants