Skip to content

Conversation

@Skn0tt
Copy link
Contributor

@Skn0tt Skn0tt commented Aug 10, 2022

This PR extends the DisableTracing config property added in #338 to add a more fine-granular DisableTraceLogging option.

This allows services like Ingesteer, which have lots of requests but don't really need all of them logged, to only enable Datadog tracing, but not log information about every single request to Humio.

Works towards https://github.com/netlify/ingesteer/issues/169.

@Skn0tt Skn0tt changed the title disable trace logging but not tracing feat: add DisableTraceLogging config option Aug 10, 2022
@github-actions github-actions bot added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Aug 10, 2022
@Skn0tt Skn0tt changed the title feat: add DisableTraceLogging config option feat: allow disabling trace logging, while keeping Datadog tracing enabled Aug 10, 2022
@Skn0tt Skn0tt added type: feature code contributing to the implementation of a feature and/or user facing functionality and removed type: feature code contributing to the implementation of a feature and/or user facing functionality labels Aug 10, 2022
@Skn0tt Skn0tt marked this pull request as ready for review August 10, 2022 12:13
@Skn0tt Skn0tt requested a review from a team as a code owner August 10, 2022 12:13
Copy link
Contributor

@mraerino mraerino left a comment

Choose a reason for hiding this comment

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

tracing.TrackRequest is a public api so this is a breaking change?

also: we're moving to https://github.com/netlify/go-observability and other libs for our services to break up the commons lib. maybe you want to take this opportunity to move ingesteer over and make the change there instead?

@Skn0tt
Copy link
Contributor Author

Skn0tt commented Aug 10, 2022

@Skn0tt Skn0tt closed this Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature code contributing to the implementation of a feature and/or user facing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants