Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: metrics smoke tests #320

Merged
merged 2 commits into from
Nov 15, 2022
Merged

fix: metrics smoke tests #320

merged 2 commits into from
Nov 15, 2022

Conversation

pkanal
Copy link
Contributor

@pkanal pkanal commented Nov 15, 2022

Which problem is this PR solving?

When upgrading autoinstrumentation versions to rc9.9, the OTEL_METRIC_EXPORT_INTERVAL is supported and our smoke tests export interval is too short (100ms, we're checking for results every 1s) which causes smoke tests to fail. This PR removes the unused env variable.

Short description of the changes

  • Removes OTEL_METRIC_EXPORT_INTERVAL option set in the smoke tests docker-compose.yml
  • Adds --build option to smoke tests docker-compose step since without rebuilding it's hard to figure out if you're working with a previously cached build.

@pkanal pkanal added type: bug Something isn't working version: no bump A PR with maintenance or doc changes that aren't included in a release. no-changelog Omit this PR from changelog/release notes. labels Nov 15, 2022
@pkanal pkanal requested a review from a team November 15, 2022 21:58
@pkanal pkanal self-assigned this Nov 15, 2022
Copy link
Contributor

@JamieDanielson JamieDanielson left a comment

Choose a reason for hiding this comment

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

this mystery is solved

@MikeGoldsmith MikeGoldsmith merged commit a9d7fd1 into main Nov 15, 2022
@MikeGoldsmith MikeGoldsmith deleted the purvi/fix-metrics-smoke-tests branch November 15, 2022 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Omit this PR from changelog/release notes. type: bug Something isn't working version: no bump A PR with maintenance or doc changes that aren't included in a release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants