Skip to content

Commit 60a5e61

Browse files
authored
docs: update sampling context parameter description (#1116)
1 parent 092de88 commit 60a5e61

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/sentry.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ typedef double (*sentry_traces_sampler_function)(
15481548
/**
15491549
* Sets the traces sampler callback. Should be a function that returns a double
15501550
* and takes in a sentry_transaction_context_t pointer, a sentry_value_t for
1551-
* a custom sampling context and a int pointer for the parent sampled flag.
1551+
* a custom sampling context and an int pointer for the parent sampled flag.
15521552
*/
15531553
SENTRY_EXPERIMENTAL_API void sentry_options_set_traces_sampler(
15541554
sentry_options_t *opts, sentry_traces_sampler_function callback);
@@ -1736,9 +1736,7 @@ SENTRY_EXPERIMENTAL_API void sentry_transaction_context_update_from_header_n(
17361736
* constructed by a user.
17371737
*
17381738
* The second parameter is a custom Sampling Context to be used with a Traces
1739-
* Sampler to make a more informed sampling decision. The SDK does not currently
1740-
* support a custom Traces Sampler and this parameter is ignored for the time
1741-
* being but needs to be provided.
1739+
* Sampler to allow you to make a more informed sampling decision.
17421740
*
17431741
* Returns a Transaction, which is expected to be manually managed by the
17441742
* caller. Manual management involves ensuring that `sentry_transaction_finish`

0 commit comments

Comments
 (0)