> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/observability/monitoring-service/api-how-tos/telemetry-api.md).

# Integration with IONOS CLOUD Telemetry API

The Telemetry API is an API that allows you to interact with the <code class="expression">space.vars.ionos\_cloud</code> Telemetry service, and it is compatible with Prometheus specifications.

The Telemetry API allows retrieval of instance metrics; it is a read-only API and does not support any write operations. Although the Prometheus specification contains many more API resources and operations, the Telemetry API selectively supports the following GET operations at the moment:

```bash
/api/v1/label
/api/v1/query
/api/v1/query_range
/api/v1/metadata
/api/v1/series
```

## Integration with IONOS CLOUD Telemetry API

The managed Grafana in the Monitoring Service comes with a pre-configured datasource for the Telemetry API called <code class="expression">space.vars.ionos\_cloud</code> **Telemetry**. You can use this datasource to query metrics from the <code class="expression">space.vars.ionos\_cloud</code> Telemetry API using the `GET` HTTP method.

### Authentication

The Telemetry API uses the same authentication as the <code class="expression">space.vars.ionos\_cloud</code> API. You can use the same API token to authenticate with the Telemetry API. This means you must update the <code class="expression">space.vars.ionos\_cloud</code> Telemetry datasource with your API token:

```bash
Header: Authorization Value: Bearer <TOKEN>
```

Follow the instructions in [<mark style="color:blue;">Create new tokens</mark>](https://api.ionos.com/docs/authentication/v1/#tag/tokens/operation/tokensGenerate) to generate a token.

![Monitoring service telemetry API Grafana](/files/RHzBkmO7I3RAPT0wGxyV)

Once the header is configured, select **Save & test**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/observability/monitoring-service/api-how-tos/telemetry-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
