Skip to content

Commit 8538208

Browse files
committed
misc: add documentation about 4mb size limit
1 parent 543e463 commit 8538208

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ impl ApolloTracing {
174174
/// * hostname - Hostname like yourdomain-graphql-1.io
175175
/// * graph_ref - <ref>@<variant> Graph reference with variant
176176
/// * release_name - Your release version or release name from Git for example
177-
/// * batch_target - The number of traces to batch, it depends on your traffic, if you have
178-
/// 60 request per minutes, set it to 20.
177+
/// * batch_target - The number of traces to batch, it depends on your traffic, if you have.
178+
/// When the accumulated traces are ~4Mb, they are sent event if we did not reach the
179+
/// batch_target limit.
179180
pub fn new(
180181
authorization_token: String,
181182
hostname: String,

0 commit comments

Comments
 (0)