﻿---
title: Advanced topics
description: Adding additional context, Custom instrumentation. 
url: https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/ruby/advanced-topics

This applies to:
- Generally available for Serverless Observability
- Generally available in 9.0+ for Stack
- Generally available in 4.0+ for APM Agent Ruby
---

# Advanced topics
- [Adding additional context](https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/ruby/context)
- [Custom instrumentation](https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/ruby/custom-instrumentation)