question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generate spans for remote calls invoked via System.Net.WebRequest (or sub-classes)

See original GitHub issue

Currently we are unable to instrument any http or https requests in asp.net. For eg: when we do Response.Redirect or

HttpWebRequest request = (HttpWebRequest)WebRequest.Create(txtinput.Text);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();

We are not able to instrument this HttpRequest containing txtinput.Text.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lucaspimentelcommented, Sep 9, 2021

Thank you for reporting this issue. We added automatic instrumentation for methods HttpWebRequest.BeginGetResponse and HttpWebRequest.EndGetResponse in #1658 which was included in release 1.28.6.

If this does not resolve your issue, please contact support@datadoghq.com and reference this GitHub issue so we can further assist you. Thanks!

1reaction
feinoujccommented, Dec 21, 2020

@zacharycmontoya we’ve upgrade to 1.21.1 but we still have some missing spans as described in #869

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invoke-WebRequest - PowerShell
The first call to Invoke-WebRequest sends a sign-in request. The command specifies a value of Session for the value of the SessionVariable parameter....
Read more >
https://raw.githubusercontent.com/dotnet/samples/m...
Span ); // Valid? via Owned memory? public static ReadOnlyMemory<char> ... Net Fix HttpWebRequest when sending with HTTP/1.0 The HttpWebRequest.
Read more >
Release Notes - ddtrace documentation
ASM: This fix resolves an issue where the WAF rule file specified by DD_APPSEC_RULES was wrongly updated and modified by remote config. celery:...
Read more >
13. WebClient for Servlet Environments
The first step is ensuring to setup the WebClient correctly. An example of setting up WebClient in a servlet environment can be found...
Read more >
How to get the current logged in user object from spring ...
I am using Spring security version 3.1.4.RELEASE. How can I access the current logged in user object? SecurityContextHolder.getContext().
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found