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

Review and enhance tracing support for frontend (Go) #49

Closed
6 of 10 tasks
cartersocha opened this issue May 30, 2022 · 4 comments
Closed
6 of 10 tasks

Review and enhance tracing support for frontend (Go) #49

cartersocha opened this issue May 30, 2022 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@cartersocha
Copy link
Contributor

cartersocha commented May 30, 2022

The following is a list of requirements that we need to evaluate before declaring v1 for trace telemetry. These requirements are across the entire application; Not all services will meet all requirements. Determine the relevant features for this service.

  • Automatic Instrumentation is being used where appropriate. - not appropriate
  • Library instrumentation is being used if automatic instrumentation is unavailable.
  • Services extend automatic instrumentation.
    • New attributes/events attached to existing spans.
    • New spans are being created from existing spans.
  • Automatic and Manual Context Propagation are being demonstrated.
    • Interprocess context propagation is demonstrated.
  • Telemetry is not being sampled upfront.
  • Telemetry is not being filtered upfront.
  • Baggage is being set and read appropriately (i.e., baggage must be explicitly set as attributes on spans)

Referencing: #42

Service: https://github.com/open-telemetry/opentelemetry-demo-webstore/tree/main/src/frontend

@cartersocha cartersocha added enhancement New feature or request required-for-release help wanted Extra attention is needed labels May 30, 2022
@fatsheep9146
Copy link
Contributor

fatsheep9146 commented Jun 13, 2022

  1. Automatic Instrumentation is being used where appropriate.

I think the project frontend meets this requirement. Since the two main libraries that project used are both instrumented appropriately.

  • google.golang.org/grpc
  • github.com/gorilla/mux

the instrumentation is initialized in following lines:

@cartersocha
Copy link
Contributor Author

I think that covers the instrumentation library requirement. Auto instrumentation is one of those words that means something different to everyone.

In this case auto instrumentation is the agent / collector running in a sidecar right @austinlparker ?

@cartersocha
Copy link
Contributor Author

@puckpuck could you check off the requirements you completed in your pr?

From a quick glance it seems like telemetry is not being sampled / filtered, custom attributes are being added to all spans, & library instrumentation is pre-existing. Did I miss anything & would we consider this interprocess context prop with the middleware attribute example too?

@puckpuck
Copy link
Contributor

We can check off the following from the list.

  • Services extend automatic instrumentation.
    • New attributes/events attached to existing spans.
    • New spans are being created from existing spans.
  • Automatic and Manual Context Propagation are being demonstrated.
    • Interprocess context propagation is demonstrated.
    • Intraprocess context propagation is demonstrated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
No open projects
Development

No branches or pull requests

3 participants