Skip to content

Updated Export Frequency to 60 Seconds and Added Disk Export Parameter#958

Closed
yanurag-dev wants to merge 2 commits into
open-telemetry:mainfrom
yanurag-dev:ticket_947
Closed

Updated Export Frequency to 60 Seconds and Added Disk Export Parameter#958
yanurag-dev wants to merge 2 commits into
open-telemetry:mainfrom
yanurag-dev:ticket_947

Conversation

@yanurag-dev
Copy link
Copy Markdown

This PR closes #947

I have updated the export frequency to 60 sec and added the parameter in the config.

I'm raising this pr. I'm new to this repo so, In case there any review comments pls let me know.

@yanurag-dev yanurag-dev requested a review from a team as a code owner April 18, 2025 20:26
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Apr 18, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@breedx-splk
Copy link
Copy Markdown
Contributor

Hi @Yadavanurag13 you will need to sign the CLA and get the build passing. Thanks!

@yanurag-dev
Copy link
Copy Markdown
Author

@breedx-splk I was trying to sign in as an individual contributor, but I got an error that this project is only for employer contributors is it so ?

@breedx-splk
Copy link
Copy Markdown
Contributor

@breedx-splk I was trying to sign in as an individual contributor, but I got an error that this project is only for employer contributors is it so ?

It's been a while since I signed it, but you should totally be able to sign as an individual contributor.

https://opentelemetry.io/docs/contributing/prerequisites/#cla

Please make sure that the git commits were made with the same email address that you are signing with (that sometimes trips people up).

val maxFileAgeForReadMillis: Long = TimeUnit.HOURS.toMillis(DEFAULT_MAX_FILE_AGE_FOR_READ_MS),
val maxCacheFileSize: Int = MAX_CACHE_FILE_SIZE,
val debugEnabled: Boolean = false,
val exportIntervalInSeconds: Long = DEFAULT_EXPORT_INTERVAL_IN_SECONDS,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should we use Duration instead of Long?
eg

val backgroundInactivityTimeout: Duration = 15.minutes,
val maxLifetime: Duration = 4.hours,

override fun enable() {
if (!enabled.getAndSet(true)) {
periodicWorkService.enqueue(exportScheduler)
if (scheduler == null) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this check was thread safe with the AtomicBoolean and now its not anymore, is there a reason to remove the atomic operation?

@breedx-splk
Copy link
Copy Markdown
Contributor

@Yadavanurag13 can you address the few comments above please? Thanks again!

@yanurag-dev
Copy link
Copy Markdown
Author

@breedx-splk Sure !!

@marandaneto
Copy link
Copy Markdown
Member

@Yadavanurag13, there are still some open comments, and CI is broken. Do you intend to come back to it?

@yanurag-dev
Copy link
Copy Markdown
Author

Sorry @marandaneto. Actually I busy with my personal task. Right now I don't have much time to spent.

@yanurag-dev yanurag-dev closed this by deleting the head repository Jul 22, 2025
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.

Create configuration parameter for disk-buffering exporting frequency

3 participants