Skip to content

Commit 9232c2e

Browse files
committed
Fixing broken links
1 parent 9364d40 commit 9232c2e

6 files changed

+23
-23
lines changed

articles/azure-monitor/app/app-insights-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This section lists all supported platforms and frameworks.
100100
#### Logging frameworks
101101
* [`ILogger`](./ilogger.md)
102102
* [Log4Net, NLog, or System.Diagnostics.Trace](./asp-net-trace-logs.md)
103-
* [`Log4J`, Logback, or java.util.logging](./opentelemetry-add-modify.md?tabs=java#logs)
103+
* [`Log4J`, Logback, or java.util.logging](./opentelemetry-add-modify.md?tabs=java#send-custom-telemetry-using-the-application-insights-classic-api)
104104
* [LogStash plug-in](https://github.com/Azure/azure-diagnostics-tools/tree/master/Logstash/logstash-output-applicationinsights)
105105
* [Azure Monitor](/archive/blogs/msoms/application-insights-connector-in-oms)
106106

articles/azure-monitor/app/data-model-complete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ To learn more:
440440
- Check out [platforms](./app-insights-overview.md#supported-languages) supported by Application Insights.
441441
- Check out standard context properties collection [configuration](./configuration-with-applicationinsights-config.md#telemetry-initializers-aspnet).
442442
- Explore [.NET trace logs in Application Insights](./asp-net-trace-logs.md).
443-
- Explore [Java trace logs in Application Insights](./opentelemetry-add-modify.md?tabs=java#logs).
443+
- Explore [Java trace logs in Application Insights](./opentelemetry-add-modify.md?tabs=java##send-custom-telemetry-using-the-application-insights-classic-api).
444444
- Learn about the [Azure Functions built-in integration with Application Insights](../../azure-functions/functions-monitoring.md?toc=/azure/azure-monitor/toc.json) to monitor functions executions.
445445
- Learn how to [configure an ASP.NET Core](./asp-net.md) application with Application Insights.
446446
- Learn how to [diagnose exceptions in your web apps with Application Insights](./asp-net-exceptions.md).

articles/azure-monitor/app/opentelemetry-add-modify.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,13 +1688,19 @@ telemetryClient.TrackEvent("testEvent");
16881688
```java
16891689
telemetryClient.trackEvent("WinGame");
16901690
```
1691+
1692+
**Logs**
16911693

1694+
```java
1695+
telemetryClient.trackTrace(message, SeverityLevel.Warning, properties);
1696+
```
1697+
16921698
**Metrics**
16931699

16941700
```java
16951701
telemetryClient.trackMetric("queueLength", 42.0);
16961702
```
1697-
1703+
16981704
**Dependencies**
16991705

17001706
```java
@@ -1711,13 +1717,7 @@ telemetryClient.TrackEvent("testEvent");
17111717
telemetryClient.trackDependency(telemetry);
17121718
}
17131719
```
1714-
1715-
**Logs**
1716-
1717-
```java
1718-
telemetryClient.trackTrace(message, SeverityLevel.Warning, properties);
1719-
```
1720-
1720+
17211721
**Exceptions**
17221722

17231723
```java
@@ -1726,8 +1726,8 @@ telemetryClient.TrackEvent("testEvent");
17261726
} catch (Exception e) {
17271727
telemetryClient.trackException(e);
17281728
}
1729-
1730-
1729+
1730+
17311731
#### [Java native](#tab/java-native)
17321732

17331733
It's not possible to send custom telemetry using the Application Insights Classic API in Java native.
@@ -1965,13 +1965,13 @@ Adding one or more span attributes populates the `customDimensions` field in the
19651965

19661966
Add custom dimensions in your code:
19671967

1968-
```java
1969-
import io.opentelemetry.api.trace.Span;
1970-
import io.opentelemetry.api.common.AttributeKey;
1971-
1972-
AttributeKey attributeKey = AttributeKey.stringKey("mycustomdimension");
1973-
Span.current().setAttribute(attributeKey, "myvalue1");
1974-
```
1968+
```java
1969+
import io.opentelemetry.api.trace.Span;
1970+
import io.opentelemetry.api.common.AttributeKey;
1971+
1972+
AttributeKey attributeKey = AttributeKey.stringKey("mycustomdimension");
1973+
Span.current().setAttribute(attributeKey, "myvalue1");
1974+
```
19751975

19761976
##### [Node.js](#tab/nodejs)
19771977

@@ -2217,7 +2217,7 @@ Attaching custom dimensions to logs can be accomplished using a [message templat
22172217

22182218
#### [Java](#tab/java)
22192219

2220-
Logback, Log4j, and java.util.logging are [autoinstrumented](#logs). Attaching custom dimensions to your logs can be accomplished in these ways:
2220+
Logback, Log4j, and java.util.logging are [autoinstrumented](#send-custom-telemetry-using-the-application-insights-classic-api). Attaching custom dimensions to your logs can be accomplished in these ways:
22212221

22222222
* [Log4j 2.0 MapMessage](https://logging.apache.org/log4j/2.0/javadoc/log4j-api/org/apache/logging/log4j/message/MapMessage.html) (a `MapMessage` key of `"message"` is captured as the log message)
22232223
* [Log4j 2.0 Thread Context](https://logging.apache.org/log4j/2.x/manual/thread-context.html)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export OTEL_TRACES_SAMPLER_ARG=0.1
408408
---
409409

410410
> [!TIP]
411-
> When using fixed-rate/percentage sampling and you aren't sure what to set the sampling rate as, start at 5% (i.e., 0.05 sampling ratio) and adjust the rate based on the accuracy of the operations shown in the failures and performance blades. A higher rate generally results in higher accuracy. However, ANY sampling will affect accuracy so we recommend alerting on [OpenTelemetry metrics](opentelemetry-add-modify.md#metrics), which are unaffected by sampling.
411+
> When using fixed-rate/percentage sampling and you aren't sure what to set the sampling rate as, start at 5% (i.e., 0.05 sampling ratio) and adjust the rate based on the accuracy of the operations shown in the failures and performance panes. A higher rate generally results in higher accuracy. However, ANY sampling will affect accuracy so we recommend alerting on [OpenTelemetry metrics](opentelemetry-add-modify.md#add-custom-metrics), which are unaffected by sampling.
412412

413413
<a name='enable-entra-id-formerly-azure-ad-authentication'></a>
414414

articles/azure-monitor/app/pre-aggregated-metrics-log-metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The collection endpoint preaggregates events before ingestion sampling. For this
5454
|-------------------------|--------------------------|-------------------------------------------|-----------------------------------------|
5555
| ASP.NET | Supported <sup>1<sup> | Not supported | Not supported |
5656
| ASP.NET Core | Supported <sup>2<sup> | Not supported | Not supported |
57-
| Java | Not supported | Not supported | [Supported](opentelemetry-add-modify.md?tabs=java#metrics) |
57+
| Java | Not supported | Not supported | [Supported](opentelemetry-add-modify.md?tabs=java#send-custom-telemetry-using-the-application-insights-classic-api) |
5858
| Node.js | Not supported | Not supported | Not supported |
5959

6060
1. [ASP.NET autoinstrumentation on virtual machines/virtual machine scale sets](./azure-vm-vmss-apps.md) and [on-premises](./application-insights-asp-net-agent.md) emits standard metrics without dimensions. The same is true for Azure App Service, but the collection level must be set to recommended. The SDK is required for all dimensions.

articles/azure-monitor/app/transaction-search-and-diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The first time you do this step, you're asked to configure a link to your Azure
132132

133133
In addition to the out-of-the-box telemetry sent by Application Insights SDK, you can:
134134

135-
* Capture log traces from your favorite logging framework in [.NET](./asp-net-trace-logs.md) or [Java](./opentelemetry-add-modify.md?tabs=java#logs). This means you can search through your log traces and correlate them with page views, exceptions, and other events.
135+
* Capture log traces from your favorite logging framework in [.NET](./asp-net-trace-logs.md) or [Java](./opentelemetry-add-modify.md?tabs=java#send-custom-telemetry-using-the-application-insights-classic-api). This means you can search through your log traces and correlate them with page views, exceptions, and other events.
136136

137137
* [Write code](./api-custom-events-metrics.md) to send custom events, page views, and exceptions.
138138

0 commit comments

Comments
 (0)