---
title: "Instrumentation"
description: "Learn how to instrument tracing in your app."
url: https://docs.sentry.io/platforms/java/guides/log4j2/tracing/instrumentation/
---

# Instrumentation | Sentry for Log4j 2.x

* #### [Custom Instrumentation](https://docs.sentry.io/platforms/java/guides/log4j2/tracing/instrumentation/custom-instrumentation.md)

  Learn how to capture performance data on any action in your app.

* #### [OpenTelemetry Support](https://docs.sentry.io/platforms/java/guides/log4j2/tracing/instrumentation/opentelemetry.md)

  Using OpenTelemetry with Sentry Performance.

* #### [Performance Metrics](https://docs.sentry.io/platforms/java/guides/log4j2/tracing/instrumentation/performance-metrics.md)

  Learn how to attach performance metrics to your transactions.

## Pages in this section

- [Custom Instrumentation](https://docs.sentry.io/platforms/java/guides/log4j2/tracing/instrumentation/custom-instrumentation.md)
- [OpenTelemetry Support](https://docs.sentry.io/platforms/java/guides/log4j2/tracing/instrumentation/opentelemetry.md)
- [Performance Metrics](https://docs.sentry.io/platforms/java/guides/log4j2/tracing/instrumentation/performance-metrics.md)
