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

trace headers on Img tags #839

Open
stephencranedesign opened this issue Jan 19, 2022 · 0 comments
Open

trace headers on Img tags #839

stephencranedesign opened this issue Jan 19, 2022 · 0 comments

Comments

@stephencranedesign
Copy link

stephencranedesign commented Jan 19, 2022

Is your instrumentation request related to a problem? Please describe

A large portion of our web app is google maps based where we give google maps an image path to hit our server and then we do a lot of processing to provide an image.

Using the web auto instrumentation defined here, it looks like we get trace headers added automatically for most of the fetch requests to our server for json related requests but the img tags don't have that added.

It's unclear to me if that's possible to get with the current instrumentations .. maybe just a configuration to pass into the fetch instrumentation? or if that's a new instrumentation that would need to be built.

Img tags don't use fetch or XMLHttpRequest so there is not a current instrumentation built for this.

Is it applicable for Node or Browser or both?

Browser only.

Do you expect this instrumentation to be commonly used?

Yes. There are many web based map like applications. I'd assume a decent amount of them would benefit from having a trace for the images they serve on a map.

Weekly Downloads: Not sure.

What version of instrumentation are you interested in using?

Versions:
@opentelemetry/[email protected]
@opentelemetry/[email protected]
@opentelemetry/[email protected]
@opentelemetry/[email protected]
@opentelemetry/[email protected]
@opentelemetry/[email protected]

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant