File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5151 OTEL_SERVICE_NAME: "rolldice"
5252 OTEL_EXPORTER_OTLP_ENDPOINT: http://lgtm:4318
5353 OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
54- OTEL_METRIC_EXPORT_INTERVAL: "5000" # so we don't have to wait 60s for metrics
5554 ```
56554. Create `oats.yaml` with the test cases
5756 ```yaml
Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ func (c *TestCase) generateDockerComposeFile() []byte {
4747 vars ["LgtmVersion" ] = c .LgtmVersion
4848 vars ["LgtmLogSettings" ] = c .LgtmLogSettings
4949
50+ // Overrides to make tests faster by exporting telemetry data more frequently
51+ vars ["OTEL_BLRP_SCHEDULE_DELAY" ] = "5000"
52+ vars ["OTEL_BSP_SCHEDULE_DELAY" ] = "5000"
53+ vars ["OTEL_METRIC_EXPORT_INTERVAL" ] = "5000"
54+
5055 env := os .Environ ()
5156
5257 for k , v := range vars {
You can’t perform that action at this time.
0 commit comments