Skip to content

Commit

Permalink
tweak default values
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcollins committed Oct 18, 2023
1 parent 152ed95 commit f54bdd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class BatchSpanProcessor2(SpanProcessor):
def __init__(
self,
exporter: SpanExporter,
max_batch_size: int = 1024,
interval_sec: int = 4,
max_batch_size: int = 512,
interval_sec: int = 5,
timer: typing.Optional[TimerABC] = None,
):
self._exporter = exporter
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/tests/trace/export/test_experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import util
from opentelemetry.sdk.trace import ReadableSpan
from opentelemetry.sdk.trace.export import SpanExporter, SpanExportResult
from opentelemetry.sdk.trace.export import SpanExporter, SpanExportResult, BatchSpanProcessor
from opentelemetry.sdk.trace.export.experimental.client import RetryingGrpcClient, FakeGrpcClient
from opentelemetry.sdk.trace.export.experimental.exporter import OTLPSpanExporter2
from opentelemetry.sdk.trace.export.experimental.processor import BatchSpanProcessor2
Expand Down

0 comments on commit f54bdd8

Please sign in to comment.