---
title: "Reference: Mastra.getTelemetry() | Core"
description: "Documentation for the `Mastra.getTelemetry()` method in Mastra, which retrieves the configured telemetry instance."
packages:
  - "@mastra/core"
---

# Mastra.getTelemetry()

The `.getTelemetry()` method is used to retrieve the telemetry instance that has been configured in the Mastra instance.

## Usage example

```typescript
mastra.getTelemetry();
```

## Parameters

This method does not accept any parameters.

## Returns

<PropertiesTable
  content={[
    {
      name: "telemetry",
      type: "Telemetry | undefined",
      description:
        "The configured telemetry instance used for tracing and observability across all components, or undefined if no telemetry has been configured.",
    },
  ]}
/>

## Related

- [Tracing](/docs/v1/observability/tracing/overview)
- [Observability Configuration](/reference/v1/observability/tracing/configuration)
