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 test server and client #44

Merged
merged 4 commits into from
Mar 31, 2023
Merged

Conversation

grcevski
Copy link
Contributor

This PR adds a simple gRPC test and client for testing the implementation of our eBPF instrumentation with gRPC.

Few features:

  • The server and client support both unencrypted and TLS mode.
  • The client doesn't verify the TLS certificate for simplicity purposes.
  • The client runs few different RPC calls, streaming included. Simple single RPC call can be made by adding the -ping command line option on the client command line.

Closes #43

@grcevski grcevski added the test Issues related to testing label Mar 30, 2023
@grcevski grcevski requested a review from mariomac March 30, 2023 18:39
@grcevski grcevski self-assigned this Mar 30, 2023
Copy link
Contributor

@mariomac mariomac left a comment

Choose a reason for hiding this comment

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

👏🏻

@grcevski grcevski merged commit 9310d4b into grafana:main Mar 31, 2023
@grcevski
Copy link
Contributor Author

Thanks Mario!

@grcevski grcevski deleted the grpc_test branch March 31, 2023 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sample gRPC server and client
2 participants