Lower the interval that traces are sent for integration testing purpose #13737
Replies: 3 comments 3 replies
-
sounds like a pretty cool setup. I believe the timeout configs you reference are more related to the length of time the exporter will wait for the requests involved in the exporting to complete before giving up, as opposed to controlling the interval in which it exports. You could try lowering the batch span processor delay: |
Beta Was this translation helpful? Give feedback.
3 replies
-
cc @zeitlinger |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing in favor of grafana/docker-otel-lgtm#427 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the Spring Boot starter. I am also using Testcontainers and the
grafana/otel-lgtm:latest
Docker image for integration tests. I wrote 3 tests to ensure metrics, logs and traces are working by querying Grafana. My traces related test is slow because it always seem to take 10 seconds before Grafana reports that there are traces. Is there any way to speed this up? I tried settingotel.exporter.otlp.timeout
to1000
for example in my Spring Boot application yaml file, but that did not seem to help. I also tried withotel.exporter.otlp.traces.timeout
, but that also did not help. Is there anything else I can try?Beta Was this translation helpful? Give feedback.
All reactions