For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integration with IONOS CLOUD Telemetry API

The Telemetry API queries metrics about your IONOS CLOUD servers and is compatible with Prometheus specifications.

The Telemetry API retrieves instance metrics. It is read-only and does not support write operations. The IONOS CLOUD platform collects these metrics for every server on your contract, eliminating the need for server-side installation or instrumentation.

Availability and cost

The Telemetry API is available at no additional cost. It becomes available as soon as your contract has at least one observability pipeline, through the managed Grafana provided with the Monitoring Service.

These metrics do not pass through your monitoring pipeline. The Monitoring Service therefore does not bill them as ingested samples, and they do not count toward your sample usage.

Access the Telemetry API

You can query the Telemetry API through the managed Grafana, or directly over HTTP.

Endpoint

The Telemetry API uses the following address:

https://api.ionos.com/telemetry/api/v1

Append one of the supported operations to this address. For example, the following request returns the current processor usage for every server on your contract:

curl -H "Authorization: Bearer ${TOKEN}" \
  "https://api.ionos.com/telemetry/api/v1/query?query=instance_cpu_utilization_average"

Managed Grafana

The managed Grafana in the Monitoring Service comes with a pre-configured datasource for the Telemetry API called IONOS Telemetry. You can use this datasource to query metrics from the IONOS CLOUD Telemetry API using the GET HTTP method.

Authentication

The Telemetry API uses the same authentication as the IONOS CLOUD API. You can use the same API token to authenticate with the Telemetry API. This means you must update the IONOS Telemetry datasource with your API token:

Follow the instructions in Create new tokens to generate a token.

Monitoring service telemetry API Grafana

After you configure the header, select Save & test.

Available metrics

The Telemetry API exposes the following nine metrics for each server:

Metric

Type

Unit

Resource

instance_cpu_utilization_average

Gauge

Percent, 0 to 100

Compute

instance_network_in_bytes

Counter

Bytes

Network

instance_network_out_bytes

Counter

Bytes

Network

instance_network_in_packets

Counter

Packets

Network

instance_network_out_packets

Counter

Packets

Network

instance_volumes_read_bytes

Counter

Bytes

Storage

instance_volumes_write_bytes

Counter

Bytes

Storage

instance_volumes_read_ops

Counter

Operations

Storage

instance_volumes_write_ops

Counter

Operations

Storage

Every metric carries the following labels:

Label

Description

contract_number

Your IONOS CLOUD contract number.

dc

The physical location of the server, such as fra or txl.

uuid

The unique identifier of the server.

Query the metrics

Counters and gauges

instance_cpu_utilization_average is a gauge, so you can query it directly. The other eight metrics are cumulative counters, and their raw value is a total that only ever rises. To read them as a rate, wrap them in the PromQL rate function:

To read a single server, filter on its uuid:

Identify a server

Metrics identify each server by uuid and carry no server name, so query results and dashboard legends show identifiers rather than names.

To resolve a UUID to a server name, use the IONOS CLOUD API. The dc label holds a physical location rather than a Virtual Data Center (VDC) identifier, so you can also open the server in the Data Center Designer (DCD) when you already know which VDC contains it. For more information, see Servers.

Supported API operations

Although the Prometheus specification contains many more API resources and operations, the Telemetry API selectively supports the following GET operations:

Relationship with the Data Center Designer

While the DCD displays these metrics for individual servers, the Telemetry API makes this data available across your entire contract, enabling you to compare and rank servers and build contract-wide alerts.

Last updated

Was this helpful?