Skip to content

Commit a9df8cb

Browse files
satween0xnm
andauthored
Apply suggestions from code review
Co-authored-by: Nikita Ogorodnikov <[email protected]>
1 parent a90662e commit a9df8cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

features/dd-sdk-android-trace-api/src/main/kotlin/com/datadog/android/trace/api/tracer/DatadogTracerBuilder.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ interface DatadogTracerBuilder {
5555
* is provided this property and its related logic will be ignored.
5656
* @param traceRateLimit the trace rate limit as a value between 1 and Int.MAX_VALUE (default is Int.MAX_VALUE)
5757
*/
58-
fun withTraceLimit(@IntRange(from = 1, to = Int.MAX_VALUE.toLong()) traceRateLimit: Int): DatadogTracerBuilder
58+
fun withTraceRateLimit(@IntRange(from = 1, to = Int.MAX_VALUE.toLong()) traceRateLimit: Int): DatadogTracerBuilder
5959

6060
/**
6161
* Configures the builder to enable partial flushes when the number of spans in a specific trace
6262
* reaches the given threshold.
6363
*
64-
* @param withPartialFlushMinSpans The minimum number of spans required to trigger a partial flush.
64+
* @param partialFlushMinSpans The minimum number of spans required to trigger a partial flush.
6565
* @return The updated instance of [DatadogTracerBuilder] to allow method chaining.
6666
*/
67-
fun withPartialFlushMinSpans(withPartialFlushMinSpans: Int): DatadogTracerBuilder
67+
fun withPartialFlushMinSpans(partialFlushMinSpans: Int): DatadogTracerBuilder
6868

6969
/**
7070
* Adds a global tag which will be appended to all spans created with the built tracer.
@@ -74,9 +74,9 @@ interface DatadogTracerBuilder {
7474
fun withTag(key: String, value: String): DatadogTracerBuilder
7575

7676
/**
77-
* Enables the trace bundling with the current active View. If this feature is enabled all
77+
* Enables the trace bundling with the current active RUM View. If this feature is enabled all
7878
* the spans from this moment on will be bundled with the current view information and you
79-
* will be able to see all the traces sent during a specific view in the Rum Explorer.
79+
* will be able to see all the traces sent during a specific view in the RUM Explorer.
8080
* @param enabled true by default
8181
*/
8282
fun setBundleWithRumEnabled(enabled: Boolean): DatadogTracerBuilder

0 commit comments

Comments
 (0)