DataDog / glommio

Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
Other
2.93k stars 161 forks source link

fix: export publicly 'StallDetection' #656

Closed aurelilys closed 2 months ago

aurelilys commented 2 months ago

Hello,

What does this PR do?

Here a little mr for publicly export the struct 'StallDetection'. I'm sorry if the struct documentation isn't very thorough, but I'm open to modifying it.

Motivation

I wanted to implement 'StallDetectionHandler' in my project, but unfortunately the struct 'StallDetection' is not publicly exported.

vlovich commented 2 months ago

@glommer seems reasonable to me. I imagine the motivating use-case is to log the structured message to an external system like Sentry.

glommer commented 2 months ago

Thanks y'all!