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

parametric: Add tests for OTEL #884

Merged
merged 56 commits into from Mar 28, 2023
Merged

Conversation

dianashevchenko
Copy link
Contributor

@dianashevchenko dianashevchenko commented Feb 18, 2023

Description

Adds a bunch of tests for OTEL APIs in the tracers. To start only the go library runs these tests. In reviewing, pay the most attention to ensuring the expectations are correct as this is the first set of tests here.

Workflow

  1. ⚠️⚠️ Create your PR as draft (we're receiving lot of PR, it saves us lot of time) ⚠️⚠️
  2. Follows the style guidelines of this project (See how to easily lint the code)
  3. Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
  4. Mark it as ready for review

Once your PR is reviewed, you can merge it ! ❤️

dianashevchenko and others added 30 commits January 27, 2023 19:12
Created structure for Otel parametric tests
Copy link
Contributor

@katiehockman katiehockman left a comment

Choose a reason for hiding this comment

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

I didn't check every test super carefully yet, but overall it looks great. Thanks!

parametric/_library_client.py Outdated Show resolved Hide resolved
parametric/apps/golang/main.go Outdated Show resolved Hide resolved
parametric/apps/golang/otel_methods.go Outdated Show resolved Hide resolved
parametric/apps/golang/main.go Show resolved Hide resolved
parametric/apps/golang/otel_methods.go Outdated Show resolved Hide resolved
parametric/apps/golang/otel_methods.go Outdated Show resolved Hide resolved
parametric/test_otel_span_methods.py Show resolved Hide resolved
parametric/test_otel_span_methods.py Show resolved Hide resolved
parametric/test_otel_span_methods.py Outdated Show resolved Hide resolved
parametric/test_otel_tracer.py Outdated Show resolved Hide resolved
@dianashevchenko dianashevchenko removed the request for review from lievan March 22, 2023 12:03
Copy link
Collaborator

@pawelchcki pawelchcki left a comment

Choose a reason for hiding this comment

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

LGTM but - it would be good if either @Kyle-Verhoog or @cbeauchesne also would take a peek before this is merged

Copy link
Contributor

@Qard Qard left a comment

Choose a reason for hiding this comment

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

Overall LGTM. I'll try it out with Node.js soon. 🙂

parametric/_library_client.py Outdated Show resolved Hide resolved
@cbeauchesne
Copy link
Collaborator

cbeauchesne commented Mar 24, 2023

I can approve it, but @Kyle-Verhoog will have a way better feedback on parametric test than mine

Copy link
Member

@Kyle-Verhoog Kyle-Verhoog left a comment

Choose a reason for hiding this comment

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

just a few nits but otherwise looks good to me.

@pawelchcki we should really look into changing over to http sooner rather than later since we're accumulating some debt here.

@dianashevchenko if you're up for it, we should also be implementing otel for the http interface as we're looking to get rid of grpc in order to support all the languages.

parametric/_library_client.py Outdated Show resolved Hide resolved
parametric/test_otel_span_with_w3c.py Outdated Show resolved Hide resolved
parametric/test_otel_tracer.py Outdated Show resolved Hide resolved
@dianashevchenko dianashevchenko merged commit bb1d9f0 into main Mar 28, 2023
182 of 186 checks passed
@dianashevchenko dianashevchenko deleted the shevchenko/otel-span-tests branch March 28, 2023 16:30
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.

None yet

8 participants