• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Reinhard W. · Aug 20 at 06:31 PM · oneagent purepath

Golang http client support

From the technology support page and a blog article I do understand that it should be possible to track http client requests done in golang via net/http.

I have a custom application that is receiving http requests, mapping/multiplexing them and then doing multiple parallel http client requests against a webservice using the following code (simplified):

// many of these requests are created first
newreq,_ := http.NewRequest(req.Method, url, bytes.NewBuffer(payload))
newreq.Header.Add("Authorization", "Api-Token " + token)
newreq.Header.Add("Content-Type", "application/json")
...
//later the requests are executed
resp, err := client.Do(&r)

I'd have expected to see the http client calls on the PurePaths or on the stack but they seem to be not tracked.

The calls are actually made to a Dynatrace Cluster API that is also connected to the same Dynatrace Tenant so I'd have hoped for a service flow from the go "proxy" to the tenant APIs but instead I only see the go service and the incoming call on the Dynatrace API side.


The actual http client requests are done in getRespChan in a go routine.


Any ideas if/how this should work to trigger a Purepath service call?

GoLang Version 1.12.4
OneAgent 1.169
Docker Container no MUSLC


Thanks!

1566325514273.png (104.7 kB)
1566325706813.png (363.6 kB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

0 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest

Join the conversation!

First steps in the forum
Community User Guide

LIVE WEBINAR

"Power Demo: Software Intelligence for Cloud Infrastructure"


DECEMBER 12, 10:00 AM GMT / 2:00 PM ET

Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is "Background threads" and why all PurePath are broken 2 Answers

.Net Core 2.2.6 Purepaths 1 Answer

Incorrect PurePath for Asynchronous calls 2 Answers

Is there a way a to see the full pure path for PCF tasks? 0 Answers

Dynatrace Saas- how to get method hotspot? 2 Answers

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services mysql rest api cassandra dashboard oneagent sdk cmc application monitoring smartscape request attributes monitoring ui developer community user tagging log monitoring services ufo activegate auto-detection high five award webserver uem test automation license web performance monitoring ios migration management zones web services sso notifications host monitoring reports browser monitors java sap vmware maintenance window javascript appmon ai availability tipstricks automation extensions session replay permissions faq documentation problem detection http monitors easytravel network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration hosts user actions postgresql synthetic locations oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation database mission control apache mobileapp RUM php azure purepath davis plugins scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A