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 WIP instrumentation quickstart sample #326

Merged
merged 4 commits into from
May 10, 2024

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented May 9, 2024

This is mostly boilerplate to make future PRs smaller.

The following are taken from #309:

  • samples/instrumentation-quickstart/Dockerfile
  • samples/instrumentation-quickstart/app.py

The following are minimally adapted from the java quickstart:

  • samples/instrumentation-quickstart/README.md
  • samples/instrumentation-quickstart/docker-compose.creds.yaml
  • samples/instrumentation-quickstart/docker-compose.yaml

The quickstart runs and serves requests, but does not currently include any instrumentation. The logs are also not in the correct format.

I noticed we have some examples in docs/examples, and another example in /samples. Should we consolidate?

@dashpole dashpole requested a review from a team as a code owner May 9, 2024 17:59
@dashpole dashpole requested a review from aabmass May 9, 2024 17:59
@dashpole dashpole marked this pull request as draft May 9, 2024 20:01
@aabmass
Copy link
Collaborator

aabmass commented May 9, 2024

I noticed we have some examples in docs/examples, and another example in /samples. Should we consolidate?

The docs under docs/examples are for https://google-cloud-opentelemetry.readthedocs.io/en/latest/. Let just leave it in /samples for now

@dashpole
Copy link
Contributor Author

dashpole commented May 9, 2024

I'm going to switch to manual instrumentation

@dashpole dashpole marked this pull request as ready for review May 9, 2024 20:46
@dashpole
Copy link
Contributor Author

dashpole commented May 9, 2024

I think this is ready for review. The app builds and runs successfully, but it does not include any instrumentation. I'll do that as follow-ups

@dashpole
Copy link
Contributor Author

dashpole commented May 9, 2024

@aabmass any recommendation on testing this as part of CI? Should I use cloud build similar to the java quickstart?

samples/instrumentation-quickstart/Dockerfile Outdated Show resolved Hide resolved
samples/instrumentation-quickstart/Dockerfile Outdated Show resolved Hide resolved
samples/instrumentation-quickstart/README.md Outdated Show resolved Hide resolved
samples/instrumentation-quickstart/README.md Outdated Show resolved Hide resolved
samples/instrumentation-quickstart/app.py Outdated Show resolved Hide resolved
samples/instrumentation-quickstart/app.py Outdated Show resolved Hide resolved
@dashpole dashpole merged commit 54e9b0d into GoogleCloudPlatform:main May 10, 2024
16 checks passed
@dashpole dashpole deleted the initial_gcp_sample branch May 10, 2024 01:33
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

2 participants