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

add batcher config to splunkhec exporter #32563

Merged
merged 6 commits into from
May 4, 2024

Conversation

splunkericl
Copy link
Contributor

@splunkericl splunkericl commented Apr 19, 2024

Description:
Add a new feature in splunk hec exporter

Link to tracking Issue:
Resolves #32545

Testing:
Added unit test for the config

Documentation:
Updated the README file

@crobert-1
Copy link
Member

Hey @splunkericl, hope you don't mind, I updated your PR description to automatically close the issue. 👍

@splunkericl splunkericl force-pushed the hec-exporter-batching branch from 6a6ba86 to 34583d9 Compare April 24, 2024 15:52
@splunkericl splunkericl force-pushed the hec-exporter-batching branch from a26f33b to be77cd0 Compare April 25, 2024 00:05
@splunkericl
Copy link
Contributor Author

@dmitryax @crobert-1 Thoughts on the latest documentations?

exporter/splunkhecexporter/README.md Outdated Show resolved Hide resolved
exporter/splunkhecexporter/config.go Show resolved Hide resolved
@splunkericl
Copy link
Contributor Author

waiting for open-telemetry/opentelemetry-collector#10076 to merge in so the exporter doesn't need the enabled if statement check

@dmitryax
Copy link
Member

dmitryax commented May 3, 2024

@splunkericl the PR in core is merged and pulled to this repo. Please rebase and remove the condition

@splunkericl splunkericl force-pushed the hec-exporter-batching branch from 8e16cf7 to a117868 Compare May 3, 2024 18:58
@splunkericl
Copy link
Contributor Author

Thanks @dmitryax . i have rebased and remove the if-statement.

exporter/splunkhecexporter/factory.go Outdated Show resolved Hide resolved
exporter/splunkhecexporter/factory.go Outdated Show resolved Hide resolved
@dmitryax dmitryax merged commit df40aae into open-telemetry:main May 4, 2024
162 checks passed
@github-actions github-actions bot added this to the next release milestone May 4, 2024
dmitryax added a commit to open-telemetry/opentelemetry-collector that referenced this pull request Aug 17, 2024
#### Description

This PR adds opt-in support to oltp exporter for the experimental batch
sender
(#8122).
By default batch sender is not enabled.

Similar:
*
open-telemetry/opentelemetry-collector-contrib#34238
*
open-telemetry/opentelemetry-collector-contrib#32563

#### Link to tracking issue

Resolves
#10834

#### Testing

`exporter/otlpexporter/config_test.go`

#### Documentation

Updated the `oltpexporter` README to point to `exporterhelper` README
for batching.

---------

Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

splunkhec exporter: Allows users to enable exporter batching via config
5 participants