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

Stabilize PrometheusExporter test #1259

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

pellared
Copy link
Member

@pellared pellared commented Sep 21, 2022

Why

It looks like there is some bug in PrometheusExporter: open-telemetry/opentelemetry-dotnet#3679

I think we should not test the SDK. I find that the test is "overspecified".

Fixes #1123

Still, we should explore what is/was going on...

What

Assert that any metric is exported.

Tests

CI

Checklist

  • CHANGELOG.md is updated.
  • Documentation is updated.
  • New features are covered by tests.

@pellared pellared requested a review from a team September 21, 2022 16:26
Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

Since we are suspecting that this is a bug on the SDK it seems reasonable to just check that the exporter is functional.

@pjanotti pjanotti enabled auto-merge (squash) September 21, 2022 17:55
@pjanotti
Copy link
Contributor

The failure fixed by this PR seems to be the most common for this test, but, there is also a failure mode in which no output is captured from the exporter, e.g.: https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/actions/runs/3100295202/jobs/5020411194#step:4:3382

@pjanotti pjanotti merged commit 0e90c16 into open-telemetry:main Sep 21, 2022
@pellared pellared deleted the stabilize-prom-exp-test branch September 22, 2022 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prometheus flaky test
2 participants