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: src/Shared/AWS/AWSSemanticConventions.Base.cs
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -367,6 +367,35 @@ private abstract class AWSSemanticConventionsBase
367
367
/// </remarks>
368
368
publicvirtualstringAttributeFaasID=>string.Empty;
369
369
370
+
/// <summary>
371
+
/// Cloud provider-specific native identifier of the monitored cloud resource (e.g. an <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> on AWS, a <a href="https://learn.microsoft.com/rest/api/resources/resources/get-by-id">fully qualified resource ID</a> on Azure, a <a href="https://cloud.google.com/apis/design/resource_names#full_resource_name">full resource name</a> on GCP).
372
+
/// </summary>
373
+
/// <remarks>
374
+
/// On some cloud providers, it may not be possible to determine the full ID at startup,
375
+
/// so it may be necessary to set <c>cloud.resource_id</c> as a span attribute instead.
376
+
/// <p>
377
+
/// The exact value to use for <c>cloud.resource_id</c> depends on the cloud provider.
378
+
/// The following well-known definitions MUST be used if you set this attribute and they apply:
379
+
/// <p>
380
+
/// <ul>
381
+
/// <li><strong>AWS Lambda:</strong> The function <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>.
382
+
/// Take care not to use the "invoked ARN" directly but replace any
/// with the resolved function version, as the same runtime instance may be invocable with
385
+
/// multiple different aliases.</li>
386
+
/// <li><strong>GCP:</strong> The <a href="https://cloud.google.com/iam/docs/full-resource-names">URI of the resource</a></li>
387
+
/// <li><strong>Azure:</strong> The <a href="https://docs.microsoft.com/rest/api/resources/resources/get-by-id">Fully Qualified Resource ID</a> of the invoked function,
388
+
/// <em>not</em> the function app, having the form
0 commit comments