# Custom Metrics

DuploCloud’s Advanced Observability Suite (AOS) supports custom metrics collection and visualization, enabling you to monitor application-specific metrics in addition to default Kubernetes metrics. This guide will walk you through the steps to configure your applications to expose custom metrics and make them available in DuploCloud AOS.

## Configuring Annotations for Scraping Custom Metrics

```
k8s_grafana_com_scrape: true
k8s_grafana_com_job: custom-metrics
k8s_grafana_com_metrics_path: /metrics
k8s_grafana_com_metrics_portNumber: 9100
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/diagnostics-overview/advanced-observability-suite/custom-metrics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
