How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Instana Infrastructure Metrics API

This endpoint retrieves the metrics for infrastructure components.### Mandatory Parameters**plugin:** Plugins are entities' for which we collect metrics, for example : "Host", "Cassandra node", "Cassandra Connection".The available plugins are depending on the system you are monitoring. Therefore you will need to [retrieve plugins](#operation/getInfrastructureCatalogPlugins) where we have data for you.**query or snapshotIds:** choose between dynamic focus query or [snapshotId](#operation/getSnapshots) (a unique identifier the metrics are assigned to)To make the it easy to get started this endpoint has two modes that can be used for metrics retrieval:1. Search metrics with a query You are using the [Dynamic Focus](https://www.ibm.com/docs/en/instana-observability/current?topic=instana-filtering-dynamic-focus) query to filter the result. To get usable search parameters you can either query the search [catalog endpoint](#operation/getInfrastructureCatalogSearchFields) or use the UI1. Search for metrics for snapshotIds For advanced use cases, pagination for example, its recommended to use fixed snapshotIds.**metrics:** Id of the exact metric you want to retrieve, eg. "cpu.user", "clientrequests.read.mean"Once you have selected the plugin you can define up to five metrics you want to retrieve with the call.Please use our [metrics catalog call](#operation/getInfrastructureCatalogMetrics) to get the available metrics for the selected plugin.### Optional Parameters**timeFrame** As in our UI you can specify the timeframe for metrics retrieval.``` windowSize to (ms) (unix-timestamp)<----------------------|```**rollup:** Depending on the selected timeFrame its possible to selected the rollup.The available rollup is depending on two factors:1. [Retention times](https://www.ibm.com/docs/en/instana-observability/current?topic=policies#data-retention-policy) For example if you select a to timestamp that is 3 Weeks in the past the most accurate rollup you can query for would be 1min1. Size of the selected windowSize The limitation is that we only return 600 Data points per call, thus if you select a windowSize of 1hour the most accurate rollup you can query for would be 5sValid rollups are:| rollup | value || ------------- | ------------- || 1 second | 1 || 5 seconds | 5 || 1 minute | 60 || 5 minutes | 300 || 1 hour | 3600 |### Defaults**timeframe:**```"timeFrame": { "windowSize": 60000, "to": {current timestamp}}```**rollup**: 1### Limits1000 Calls per HourTo keep the response size reasonable the limit is set to 30 retrieved items. To implement pagination see [1]A maximum of 600 data points are returned per metric.You can only retrieve metrics [above](https://docs.instana.io/core_concepts/dynamic_graph/) the selected Dynamic Focus filter. Work around can be found under [2]The following example will return an empty result, because the selected plugin "host" is below the dynamic focus filter "java" :```query=entity.selfType:javaplugin=hostmetric=cpu.steal```### Tips[1] **Pagination**Sometimes the query you are interested in returns more than 30 items, you have to use the [find snapshots](#operation/getSnapshots) endpoint to get a full list of Ids for your query and then use the [metrics endpoint](#operation/getInfrastructureMetrics) with the returned snapshotIds[2] **Application filter**You can work around the aforementioned limitation by querying one of the crosscutting entities like applications, services and endpoints. For the example above you could create an Application with jvm.version isPresent filter. And search Query then for the created application name```query=entity.application.name:"Java Applications"```

Instana Infrastructure Metrics API is one of 62 APIs that Instana publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Infrastructure Metrics. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 1.307.1417.

Requests are made against 2 base URLs: https://{unit}-{tenant}.instana.io, https://{domain}.

1 operations 1 paths 4 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.307.1417
Servers
https://{unit}-{tenant}.instana.io
https://{domain}
Authentication
API Key
Contact
Terms of Service
Resource Areas
1

Authentication & Security 1

Instana Infrastructure Metrics API declares 1 security scheme for authenticating requests. An API key is passed in the header as authorization (ApiKeyAuth).

  • ApiKeyAuth — Example bash curl --request GET \ --url https://test-instana.instana.io/api/application-monitoring/catalog/metrics \ --header 'authorization: apiToken xxxxxxxx…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Infrastructure Metrics 1

This endpoint retrieves the metrics for infrastructure components. Mandatory Parameters plugin: Plugins are entities' for which we collect metrics, for example : "Host", "Cassandr…

POST
/api/infrastructure-monitoring/metrics
Get infrastructure metrics
getInfrastructureMetrics 1 param body → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are MetricItem (8 properties), GetCombinedMetrics (6 properties), TimeFrame (2 properties), InfrastructureMetricResult (1 property). Each schema is shown below with its type and property counts.

MetricItem
object
8 properties
TimeFrame
object
Time range for which the data should be retrieved.
2 properties
InfrastructureMetricResult
object
1 property
GetCombinedMetrics
object
6 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

instana-infrastructure-metrics-api-openapi.yml Raw ↑

Other APIs Instana publishes across the network.

Instana Action Catalog API
Instana Action History API
Instana AI Management API
Instana Apdex Report API
Instana Apdex Settings API
Instana API Token API
Instana Application Alert Configuration API
Instana Application Analyze API
Instana Application Catalog API
Instana Application Metrics API
Instana Application Resources API
Instana Application Settings API
Where this information came from

This is an independent, third-party profile of Instana Infrastructure Metrics API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.