10000 Fix readme (WebApplicationInfo) (#14) · Dynatrace/OneAgent-SDK-for-Java@a080e32 · GitHub
[go: up one dir, main page]

Skip to content

Commit a080e32

Browse files
authored
Fix readme (WebApplicationInfo) (#14)
Fix readme (WebApplicationInfo)
2 parents 9439bd2 + 3c3bd35 commit a080e32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ When no service call is being traced, the custom request attributes are dropped.
254254
You can use the SDK to trace incoming web requests. This might be useful if Dynatrace does not support the respective web server framework or language
255255
processing the incoming web requests.
256256

257-
To trace an incoming web request you first need to create a WebServerInfo object. The info object represents the endpoint of your web server (web server
257+
To trace an incoming web request you first need to create a WebApplicationInfo object. The info object represents the endpoint of your web server (web server
258258
name, application name and context root). This object should be reused for all traced web requests within for the same application.
259259

260260
```Java
261-
WebServerInfo wsInfo = oneAgentSdk.createWebServerInfo("WebShopProduction", "CheckoutService", "/api/service/checkout");
261+
WebApplicationInfo wsInfo = oneAgentSdk.createWebApplicationInfo("WebShopProduction", "CheckoutService", "/api/service/checkout");
262262
```
263263

264264
To trace a specific incoming web request you then need to create a Tracer object. Make sure you provide all http headers from the request to the SDK by

0 commit comments

Comments
 (0)
0