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

Add grpc smoke tests #264

Merged
merged 2 commits into from
Sep 21, 2022
Merged

Add grpc smoke tests #264

merged 2 commits into from
Sep 21, 2022

Conversation

pkanal
Copy link
Contributor

@pkanal pkanal commented Sep 21, 2022

Do not merge Depends on #263 being merged first

Which problem is this PR solving?

Adds smoke tests for the example aspnetcore example app over grpc. These will eventually be used for CI smoke tests to ensure our core functionality works as expected.

Short description of the changes

  • Added app-sdk-grpc service to smoke-tests/docker-compose.yml that starts the example app with the traces endpoint configured to send traces over grpc to the collector and set the protocol to grpc
  • Added bats tests in smoke-tests/smoke-sdk-http.bats that test manual instrumentation for traces

How to test

  1. Fetch this branch locally and check it out
  2. cd smoke && bats ./smoke-sdk-grpc.bats

You should see two passing tests

Out of scope

  • Do we want to add any metrics or logs tests?

@pkanal pkanal added type: maintenance The necessary chores to keep the dust off. status: blocked labels Sep 21, 2022
@pkanal pkanal self-assigned this Sep 21, 2022
@pkanal pkanal force-pushed the purvi/grpc-smoke-tests branch from 4a2ef13 to ccd96a7 Compare September 21, 2022 19:51
@pkanal pkanal changed the title [do not merge] Add grpc smoke tests Add grpc smoke tests Sep 21, 2022
@pkanal pkanal marked this pull request as ready for review September 21, 2022 19:53
@pkanal pkanal requested review from a team and JamieDanielson September 21, 2022 19:53
Copy link
Contributor

@vreynolds vreynolds left a comment

Choose a reason for hiding this comment

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

🎉 that's dope!

as far as metrics/logs.. I initially left metrics out of scope in the spirit of "let's get the most happiest/common path in for GA and iterate later" (and of course we haven't had logs until recently)

I'm inclined to add those as issue for future us, but not hold up the GA release. wdyt?

@pkanal pkanal merged commit 0d36328 into main Sep 21, 2022
@pkanal pkanal deleted the purvi/grpc-smoke-tests branch September 21, 2022 20:14
@JamieDanielson JamieDanielson added the version: no bump A PR with maintenance or doc changes that aren't included in a release. label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance The necessary chores to keep the dust off. 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.

[smoke tests] add smoke-sdk-grpc bats test
3 participants