Skip to content

Conversation

martincostello
Copy link
Member

@martincostello martincostello commented Jul 22, 2025

Changes

  • Emit OTLP signals more frequently to speed-up OATS acceptance tests.
  • Update OATS to v0.4.0 in the local development scripts.

Merge requirement checklist

  • Unit tests added/updated
  • CHANGELOG.md updated
  • Changes in public API reviewed (if applicable)

Emit OTLP signals more frequently to speed-up OATS acceptance tests.
Update OATS to v0.4.0 in the local development scripts.
@martincostello martincostello added the enhancement New feature or request label Jul 22, 2025
@martincostello martincostello changed the title Faster oats Speed up OATS acceptance tests Jul 22, 2025
@martincostello martincostello marked this pull request as ready for review July 22, 2025 14:18
@Copilot Copilot AI review requested due to automatic review settings July 22, 2025 14:18
@martincostello martincostello requested a review from a team as a code owner July 22, 2025 14:18
@martincostello martincostello enabled auto-merge (squash) July 22, 2025 14:18
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR optimizes the performance of OATS (OpenTelemetry Acceptance Test Suite) acceptance tests by configuring more frequent OTLP signal emissions and updating the OATS version. The changes reduce test runtime from approximately 4m43s to 2m58s, representing a significant improvement in CI/CD pipeline efficiency.

Key changes:

  • Updated OATS version from v0.3.2 to v0.4.0 in development scripts
  • Configured OpenTelemetry exporters to emit signals every 5 seconds instead of default intervals
  • Applied consistent telemetry export configuration across all Docker Compose files

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/run-oats-tests.sh Updated OATS version to v0.4.0 for Unix environments
scripts/run-oats-tests.ps1 Updated OATS version to v0.4.0 for Windows environments
docker/docker-compose-aspnetcore/docker-compose.yml Added OpenTelemetry export interval configuration
docker/docker-compose-aspnetcore/docker-compose.self-contained.oats.yml Added OpenTelemetry export interval configuration
docker/docker-compose-aspnetcore/docker-compose.oats.yml Added OpenTelemetry export interval configuration

@martincostello martincostello merged commit f82a7d1 into main Jul 22, 2025
17 checks passed
@martincostello martincostello deleted the faster-oats branch July 22, 2025 14:50
martincostello added a commit to grafana/oats that referenced this pull request Aug 4, 2025
Explicitly state the delay and intervals for telemetry publishing by
default to speed up test cases.

Inspired by
grafana/grafana-opentelemetry-dotnet#198.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants