|
2 | 2 | <!--NewPage-->
|
3 | 3 | <HTML>
|
4 | 4 | <HEAD>
|
5 |
| -<!-- Generated by javadoc (build 1.6.0_45) on Tue Apr 24 08:16:20 CEST 2018 --> |
| 5 | +<!-- Generated by javadoc (build 1.6.0_45) on Thu May 24 14:52:46 CEST 2018 --> |
6 | 6 | <TITLE>
|
7 |
| -OneAgentSDK (sdk 1.1.0 API) |
| 7 | +OneAgentSDK (sdk 1.2.0 API) |
8 | 8 | </TITLE>
|
9 | 9 |
|
10 |
| -<META NAME="date" CONTENT="2018-04-24"> |
| 10 | +<META NAME="date" CONTENT="2018-05-24"> |
11 | 11 |
|
12 | 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
13 | 13 |
|
14 | 14 | <SCRIPT type="text/javascript">
|
15 | 15 | function windowTitle()
|
16 | 16 | {
|
17 | 17 | if (location.href.indexOf('is-external=true') == -1) {
|
18 |
| - parent.document.title="OneAgentSDK (sdk 1.1.0 API)"; |
| 18 | + parent.document.title="OneAgentSDK (sdk 1.2.0 API)"; |
19 | 19 | }
|
20 | 20 | }
|
21 | 21 | </SCRIPT>
|
@@ -120,6 +120,33 @@ <H2>
|
120 | 120 | </TR>
|
121 | 121 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
122 | 122 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| 123 | +<CODE> void</CODE></FONT></TD> |
| 124 | +<TD><CODE><B><A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#addCustomRequestAttribute(java.lang.String, double)">addCustomRequestAttribute</A></B>(java.lang.String key, |
| 125 | + double value)</CODE> |
| 126 | + |
| 127 | +<BR> |
| 128 | + Does exactly the same as <A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#addCustomRequestAttribute(java.lang.String, java.lang.String)"><CODE>addCustomRequestAttribute(String, String)</CODE></A>, but request-attribute type double.</TD> |
| 129 | +</TR> |
| 130 | +<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 131 | +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 132 | +<CODE> void</CODE></FONT></TD> |
| 133 | +<TD><CODE><B><A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#addCustomRequestAttribute(java.lang.String, long)">addCustomRequestAttribute</A></B>(java.lang.String key, |
| 134 | + long value)</CODE> |
| 135 | + |
| 136 | +<BR> |
| 137 | + Does exactly the same as <A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#addCustomRequestAttribute(java.lang.String, java.lang.String)"><CODE>addCustomRequestAttribute(String, String)</CODE></A>, but request-attribute type long.</TD> |
| 138 | +</TR> |
| 139 | +<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 140 | +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 141 | +<CODE> void</CODE></FONT></TD> |
| 142 | +<TD><CODE><B><A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#addCustomRequestAttribute(java.lang.String, java.lang.String)">addCustomRequestAttribute</A></B>(java.lang.String key, |
| 143 | + java.lang.String value)</CODE> |
| 144 | + |
| 145 | +<BR> |
| 146 | + Adds a custom request attribute to currently traced service call.</TD> |
| 147 | +</TR> |
| 148 | +<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 149 | +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
123 | 150 | <CODE> <A HREF="../../../../../com/dynatrace/oneagent/sdk/api/InProcessLink.html" title="interface in com.dynatrace.oneagent.sdk.api">InProcessLink</A></CODE></FONT></TD>
|
124 | 151 | <TD><CODE><B><A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#createInProcessLink()">createInProcessLink</A></B>()</CODE>
|
125 | 152 |
|
@@ -262,6 +289,56 @@ <H2>
|
262 | 289 | </DL>
|
263 | 290 | <HR>
|
264 | 291 |
|
| 292 | +<A NAME="addCustomRequestAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| 293 | +addCustomRequestAttribute</H3> |
| 294 | +<PRE> |
| 295 | +void <B>addCustomRequestAttribute</B>(java.lang.String key, |
| 296 | + java.lang.String value)</PRE> |
| 297 | +<DL> |
| 298 | +<DD>Adds a custom request attribute to currently traced service call. Might be called multiple times, to add more than one attribute. |
| 299 | + Check via <A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#setLoggingCallback(com.dynatrace.oneagent.sdk.api.LoggingCallback)"><CODE>setLoggingCallback(LoggingCallback)</CODE></A> if error happened. If two attributes with same key are set, both |
| 300 | + attribute-values are captured. |
| 301 | +<P> |
| 302 | +<DD><DL> |
| 303 | +<DT><B>Parameters:</B><DD><CODE>key</CODE> - key of the attribute. required parameter.<DD><CODE>value</CODE> - value of the attribute. required parameter.<DT><B>Since:</B></DT> |
| 304 | + <DD>1.2</DD> |
| 305 | +</DL> |
| 306 | +</DD> |
| 307 | +</DL> |
| 308 | +<HR> |
| 309 | + |
| 310 | +<A NAME="addCustomRequestAttribute(java.lang.String, long)"><!-- --></A><H3> |
| 311 | +addCustomRequestAttribute</H3> |
| 312 | +<PRE> |
| 313 | +void <B>addCustomRequestAttribute</B>(java.lang.String key, |
| 314 | + long value)</PRE> |
| 315 | +<DL> |
| 316 | +<DD>Does exactly the same as <A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#addCustomRequestAttribute(java.lang.String, java.lang.String)"><CODE>addCustomRequestAttribute(String, String)</CODE></A>, but request-attribute type long. |
| 317 | +<P> |
| 318 | +<DD><DL> |
| 319 | +<DT><B>Since:</B></DT> |
| 320 | + <DD>1.2</DD> |
| 321 | +</DL> |
| 322 | +</DD> |
| 323 | +</DL> |
| 324 | +<HR> |
| 325 | + |
| 326 | +<A NAME="addCustomRequestAttribute(java.lang.String, double)"><!-- --></A><H3> |
| 327 | +addCustomRequestAttribute</H3> |
| 328 | +<PRE> |
| 329 | +void <B>addCustomRequestAttribute</B>(java.lang.String key, |
| 330 | + double value)</PRE> |
| 331 | +<DL> |
| 332 | +<DD>Does exactly the same as <A HREF="../../../../../com/dynatrace/oneagent/sdk/api/OneAgentSDK.html#addCustomRequestAttribute(java.lang.String, java.lang.String)"><CODE>addCustomRequestAttribute(String, String)</CODE></A>, but request-attribute type double. |
| 333 | +<P> |
| 334 | +<DD><DL> |
| 335 | +<DT><B>Since:</B></DT> |
| 336 | + <DD>1.2</DD> |
| 337 | +</DL> |
| 338 | +</DD> |
| 339 | +</DL> |
| 340 | +<HR> |
| 341 | + |
265 | 342 | <A NAME="setLoggingCallback(com.dynatrace.oneagent.sdk.api.LoggingCallback)"><!-- --></A><H3>
|
266 | 343 | setLoggingCallback</H3>
|
267 | 344 | <PRE>
|
|
0 commit comments