Skip to content

Commit aa860b1

Browse files
committed
Making updates based on feedback
1 parent ce3efb6 commit aa860b1

File tree

2 files changed

+14
-27
lines changed

2 files changed

+14
-27
lines changed

articles/azure-monitor/app/opentelemetry-enable.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ You might want to update the [Cloud Role Name](app-map.md#understand-the-cloud-r
339339

340340
### [.NET](#tab/net)
341341

342-
Set the Cloud Role Name and the Cloud Role Instance via [Resource](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk) attributes.
342+
Set the Cloud Role Name and the Cloud Role Instance via [Resource](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk) attributes. Cloud Role Name uses `service.namespace` and `service.name` attributes, although it falls back to `service.name` if `service.namespace` isn't set. Cloud Role Instance uses the `service.instance.id` attribute value. For information on standard attributes for resources, see [Resource Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/README.md).
343343

344344
```csharp
345345
// Setting role name and role instance
@@ -369,7 +369,7 @@ To set the cloud role instance, see [cloud role instance](java-standalone-config
369369

370370
### [Node.js](#tab/nodejs)
371371

372-
Set the Cloud Role Name and the Cloud Role Instance via [Resource](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk) attributes.
372+
Set the Cloud Role Name and the Cloud Role Instance via [Resource](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk) attributes. Cloud Role Name uses `service.namespace` and `service.name` attributes, although it falls back to `service.name` if `service.namespace` isn't set. Cloud Role Instance uses the `service.instance.id` attribute value. For information on standard attributes for resources, see [Resource Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/README.md).
373373

374374
```javascript
375375
...
@@ -401,7 +401,7 @@ const meterProvider = new MeterProvider({
401401

402402
### [Python](#tab/python)
403403

404-
Set the Cloud Role Name and the Cloud Role Instance via [Resource](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk) attributes.
404+
Set the Cloud Role Name and the Cloud Role Instance via [Resource](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-sdk) attributes. Cloud Role Name uses `service.namespace` and `service.name` attributes, although it falls back to `service.name` if `service.namespace` isn't set. Cloud Role Instance uses the `service.instance.id` attribute value. For information on standard attributes for resources, see [Resource Semantic Conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/README.md).
405405

406406
```python
407407
...
@@ -1210,6 +1210,8 @@ with tracer.start_as_current_span("hello", record_exception=False) as span:
12101210
---
12111211

12121212
### Add Custom Spans
1213+
1214+
You may want to add a custom span when there's a dependency request that's not already collected by an instrumentation library or an application process that you wish to model as a span on the end-to-end transaction view.
12131215

12141216
#### [.NET](#tab/net)
12151217

@@ -1445,9 +1447,9 @@ This section explains how to modify telemetry.
14451447

14461448
These attributes might include adding a custom property to your telemetry. You might also use attributes to set optional fields in the Application Insights schema, like Client IP.
14471449

1448-
#### Add a custom property to a Trace
1450+
#### Add a custom property to a Span
14491451

1450-
Any [attributes](#add-span-attributes) you add to spans are exported as custom properties. They populate the _customDimensions_ field in the requests or the dependencies tables in Application Insights.
1452+
Any [attributes](#add-span-attributes) you add to spans are exported as custom properties. They populate the _customDimensions_ field in the requests, dependencies, traces, or exceptions table.
14511453

14521454
##### [.NET](#tab/net)
14531455

@@ -1779,7 +1781,7 @@ You might use the following ways to filter out telemetry before it leaves your a
17791781

17801782
#### [Java](#tab/java)
17811783

1782-
See [sampling overrides](java-standalone-config.md#sampling-overrides-preview) and [Telemetry processors](java-standalone-telemetry-processors.md).
1784+
See [sampling overrides](java-standalone-config.md#sampling-overrides-preview) and [telemetry processors](java-standalone-telemetry-processors.md).
17831785

17841786
#### [Node.js](#tab/nodejs)
17851787

@@ -1900,7 +1902,7 @@ Use the add [custom property example](#add-a-custom-property-to-a-trace), but re
19001902

19011903
### Get the trace ID or span ID
19021904

1903-
You might want to get the trace ID or span ID. Adding a trace ID or span ID to existing logging telemetry enables better correlation when you debug and diagnose issues.
1905+
You might want to get the trace ID or span ID. If you have logs that are sent to a different destination besides Application Insights, you might want to add the trace ID or span ID to enable better correlation when you debug and diagnose issues.
19041906

19051907
#### [.NET](#tab/net)
19061908

@@ -2061,21 +2063,9 @@ To disable this feature, you should set `AzureMonitorExporterOptions.DisableOffl
20612063

20622064
#### [Java](#tab/java)
20632065

2064-
In the *applicationinsights.json* file, you can configure these settings:
2065-
2066-
* Cloud role name
2067-
* Cloud role instance
2068-
* Sampling
2069-
* JMX metrics
2070-
* Custom dimensions
2071-
* Telemetry processors (preview)
2072-
* Autocollected logging
2073-
* Autocollected Micrometer metrics, including Spring Boot Actuator metrics
2074-
* Heartbeat
2075-
* HTTP proxy
2076-
* Self-diagnostics
2066+
Configuring Offline Storage and Automatic Retries is not available in Java.
20772067

2078-
For more information, see [Configuration options](./java-standalone-config.md).
2068+
For a full list of available configurations, see [Configuration options](./java-standalone-config.md).
20792069

20802070
#### [Node.js](#tab/nodejs)
20812071

@@ -2140,11 +2130,7 @@ The Azure Monitor Exporter uses EventSource for its own internal logging. The ex
21402130
21412131
#### [Java](#tab/java)
21422132

2143-
* See the dedicated [troubleshooting article](java-standalone-troubleshoot.md).
2144-
2145-
[!INCLUDE [azure-monitor-app-insights-test-connectivity](../../../includes/azure-monitor-app-insights-test-connectivity.md)]
2146-
2147-
* See the [release notes](https://github.com/microsoft/ApplicationInsights-Java/releases) on GitHub.
2133+
Diagnostic logging is enabled by default. For more information, see the dedicated [troubleshooting article](java-standalone-troubleshoot.md).
21482134

21492135
#### [Node.js](#tab/nodejs)
21502136

@@ -2265,6 +2251,7 @@ To provide feedback:
22652251
- To review the source code, see the [Azure Monitor Java auto-instrumentation GitHub repository](https://github.com/Microsoft/ApplicationInsights-Java).
22662252
- To learn more about OpenTelemetry and its community, see the [OpenTelemetry Java GitHub repository](https://github.com/open-telemetry/opentelemetry-java-instrumentation).
22672253
- To enable usage experiences, see [Enable web or browser user monitoring](javascript.md).
2254+
- See the [release notes](https://github.com/microsoft/ApplicationInsights-Java/releases) on GitHub.
22682255
22692256
### [Node.js](#tab/nodejs)
22702257

articles/azure-monitor/faq.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ sections:
901901
| Autopopulation of User ID, Authenticated User ID, and User IP | :x: | :x: | :x: | :white_check_mark: |
902902
| Manually override/set Operation Name, User ID or Authenticated User ID | :x: | :x: | :x: | :white_check_mark: |
903903
| [Adaptive Sampling](app/sampling.md#adaptive-sampling) | :x: | :x: | :x: | :white_check_mark: |
904-
| [Profiler](profiler/profiler-overview.md) | :x: | :x: | :x: | :white_check_mark: |
904+
| [Profiler](profiler/profiler-overview.md) | :x: | :x: | :x: | :warning: |
905905
| [Snapshot Debugger](snapshot-debugger/snapshot-debugger.md) | :x: | :x: | :x: | :x: |
906906
907907
**Key**

0 commit comments

Comments
 (0)