You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Diagnostics.Metrics/Measurement`1.xml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -160,9 +160,11 @@
160
160
</Parameter>
161
161
</Parameters>
162
162
<Docs>
163
-
<paramname="value">To be added.</param>
164
-
<paramname="tags">To be added.</param>
165
-
<summary>To be added.</summary>
163
+
<paramname="value">The value of the measurement.</param>
164
+
<paramname="tags">A <seecref="T:System.Diagnostics.TagList" /> containing the <seecref="T:System.Collections.Generic.KeyValuePair`2" /> tags associated with the measurement.</param>
165
+
<summary>
166
+
<para>Initializes a new instance of the Measurement with the provided <paramrefname="value" /> and a <seecref="T:System.Diagnostics.TagList" /> containing zero or more associated <paramrefname="tags" />.</para>
Copy file name to clipboardExpand all lines: xml/System.Diagnostics.Metrics/Meter.xml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2528,7 +2528,9 @@ UpDownCounter is an Instrument which supports reporting positive or negative met
2528
2528
<ReturnType>System.String</ReturnType>
2529
2529
</ReturnValue>
2530
2530
<Docs>
2531
-
<summary>To be added.</summary>
2531
+
<summary>
2532
+
<para>The optional schema URL specifies a location of a <seehref="https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md">Schema File</see> that can be retrieved using HTTP or HTTPS protocol.</para>
Copy file name to clipboardExpand all lines: xml/System.Diagnostics.Metrics/MeterOptions.xml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,9 @@
146
146
<ReturnType>System.String</ReturnType>
147
147
</ReturnValue>
148
148
<Docs>
149
-
<summary>To be added.</summary>
149
+
<summary>
150
+
<para>The optional schema URL specifies a location of a <seehref="https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md">Schema File</see> that can be retrieved using HTTP or HTTPS protocol.</para>
<paramname="exception">The exception to add to the attached events list.</param>
253
+
<paramname="tags">The tags to add to the exception event.</param>
254
+
<paramname="timestamp">The timestamp to add to the exception event.</param>
255
+
<summary>Add an <seecref="T:System.Diagnostics.ActivityEvent" /> object containing the exception information to the <seecref="P:System.Diagnostics.Activity.Events" /> list.</summary>
256
+
<returns>
257
+
<seelangword="this" /> for convenient chaining.</returns>
258
+
<remarks><para><para>- The name of the event will be "exception", and it will include the tags "exception.message", "exception.stacktrace", and "exception.type", in addition to the tags provided in the <paramref name="tags" /> parameter.</para><para>- Any registered <see cref="T:System.Diagnostics.ActivityListener" /> with the <see cref="P:System.Diagnostics.ActivityListener.ExceptionRecorder" /> callback will be notified about this exception addition before the <see cref="T:System.Diagnostics.ActivityEvent" /> object is added to the <see cref="P:System.Diagnostics.Activity.Events" /> list.</para><para>- Any registered <see cref="T:System.Diagnostics.ActivityListener" /> with the <see cref="P:System.Diagnostics.ActivityListener.ExceptionRecorder" /> callback that adds "exception.message", "exception.stacktrace", or "exception.type" tags will not have these tags overwritten, except by any subsequent <see cref="T:System.Diagnostics.ActivityListener" /> that explicitly overwrites them.</para></remarks>
258
259
</Docs>
259
260
</Member>
260
261
<MemberMemberName="AddLink">
@@ -277,10 +278,13 @@ Callers should either restrict the number of events added to the same `Activity`
<paramname="link">The <seecref="T:System.Diagnostics.ActivityLink" /> to add.</param>
282
+
<summary>Add an <seecref="T:System.Diagnostics.ActivityLink" /> to the <seecref="P:System.Diagnostics.Activity.Links" /> list.</summary>
283
+
<returns>
284
+
<seelangword="this" /> for convenient chaining.</returns>
285
+
<remarks>
286
+
<para>For contexts that are available during span creation, adding links at span creation is preferred to calling <seecref="M:System.Diagnostics.Activity.AddLink(System.Diagnostics.ActivityLink)" /> later, because head sampling decisions can only consider information present during span creation.</para>
287
+
</remarks>
284
288
</Docs>
285
289
</Member>
286
290
<MemberMemberName="AddTag">
@@ -1236,6 +1240,7 @@ An operation name is the *coarsest* name that is useful for grouping/filtering.
1236
1240
<summary>Gets the parent <seecref="T:System.Diagnostics.Activity" /> that created this activity.</summary>
1237
1241
<value>The parent of this <seecref="T:System.Diagnostics.Activity" />, if it is from the same process, or <seelangword="null" /> if this instance has no parent (it is a root activity) or if the parent is from outside the process.</value>
<summary>Gets a collection of key/value pairs that represent information that will be logged along with the <seecref="T:System.Diagnostics.Activity" /> to the logging system.</summary>
2092
2101
<value>Information that will be logged along with the <seecref="T:System.Diagnostics.Activity" /> to the logging system.</value>
2093
2102
<remarks>In .NET 5 and later versions, the order of the tags in the list matches the order in which they're added to the list. In previous versions, the order is reversed, that is, the first item added is last in the list.</remarks>
<summary>The optional list of key-value pair tags associated with the <seecref="T:System.Diagnostics.ActivitySourceOptions" />.</summary>
98
98
<value>To be added.</value>
99
99
<remarks>To be added.</remarks>
100
100
</Docs>
@@ -115,7 +115,9 @@
115
115
<ReturnType>System.String</ReturnType>
116
116
</ReturnValue>
117
117
<Docs>
118
-
<summary>To be added.</summary>
118
+
<summary>
119
+
<para>The optional schema URL specifies a location of a <seehref="https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md">Schema File</see> that can be retrieved using HTTP or HTTPS protocol.</para>
120
+
</summary>
119
121
<value>To be added.</value>
120
122
<remarks>To be added.</remarks>
121
123
</Docs>
@@ -136,7 +138,7 @@
136
138
<ReturnType>System.String</ReturnType>
137
139
</ReturnValue>
138
140
<Docs>
139
-
<summary>To be added.</summary>
141
+
<summary>The optional <seecref="T:System.Diagnostics.ActivitySourceOptions" /> version. Defaulted to empty string.</summary>
Copy file name to clipboardExpand all lines: xml/System.Diagnostics/DistributedContextPropagator.xml
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -157,9 +157,14 @@
157
157
</ReturnValue>
158
158
<Parameters />
159
159
<Docs>
160
-
<summary>To be added.</summary>
160
+
<summary>Returns a propagator that encodes and decodes distributed context and baggage information in a backward-compatible manner.</summary>
161
161
<returns>To be added.</returns>
162
-
<remarks>To be added.</remarks>
162
+
<remarks>
163
+
<para>This propagator is not fully compliant with the W3C specification.</para>
164
+
<para>It inserts baggage using the "Correlation-Context" header instead of "baggage".</para>
165
+
<para>It also takes a more relaxed approach to handling trace state and baggage key-value pairs, allowing characters that are not permitted by the W3C specification.</para>
166
+
<para>Additionally, this propagator supports injecting values from Activity objects that use the ActivityIdFormat.Hierarchical format, which is not supported by the W3C specification.</para>
167
+
</remarks>
163
168
</Docs>
164
169
</Member>
165
170
<MemberMemberName="CreateW3CPropagator">
@@ -179,7 +184,7 @@
179
184
</ReturnValue>
180
185
<Parameters />
181
186
<Docs>
182
-
<summary>To be added.</summary>
187
+
<summary>Returns a propagator that encodes and decodes distributed context information in accordance with the W3C Trace Context and Baggage specifications.</summary>
Copy file name to clipboardExpand all lines: xml/System.Diagnostics/ExceptionRecorder.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
<paramname="activity">To be added.</param>
26
26
<paramname="exception">To be added.</param>
27
27
<paramname="tags">To be added.</param>
28
-
<summary>To be added.</summary>
28
+
<summary>Define the callback to be used in <seecref="T:System.Diagnostics.ActivityListener" /> to receive notifications when exceptions are added to the <seecref="T:System.Diagnostics.Activity" />.</summary>
0 commit comments