AppDynamics Custom Metrics API

Upload custom metrics to the AppDynamics Controller through the Machine Agent HTTP listener. Metrics must be uploaded at least once every 300 seconds to remain active.

Operations 1

POST /api/v1/metrics Publish custom metrics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/appdynamics-custom-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

appdynamics-custom-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AppDynamics Machine Agent Custom Metrics API
  description: The AppDynamics Machine Agent API provides HTTP endpoints available at the machine agent for uploading custom metrics to the AppDynamics Controller. Developers can use this API to report custom infrastructure metrics, hardware metrics, and other machine-level data points that are not captured by the default agent instrumentation. This enables organizations to extend their monitoring coverage to include custom system-level metrics and integrate data from third-party monitoring tools. The HTTP listener must be enabled on the Machine Agent before use.
  version: 23.x
  contact:
    name: Splunk AppDynamics Support
    url: https://www.appdynamics.com/support
  termsOfService: https://www.cisco.com/c/en/us/about/legal/cloud-and-software.html
servers:
- url: http://{machine-agent-host}:{port}
  description: Machine Agent HTTP Listener
  variables:
    machine-agent-host:
      default: localhost
      description: The hostname where the Machine Agent is running. Defaults to localhost unless configured otherwise.
    port:
      default: '8293'
      description: The port for the Machine Agent HTTP listener.
security: []
tags:
- name: Custom Metrics
  description: Upload custom metrics to the AppDynamics Controller through the Machine Agent HTTP listener. Metrics must be uploaded at least once every 300 seconds to remain active.
paths:
  /api/v1/metrics:
    post:
      operationId: publishCustomMetrics
      summary: Publish custom metrics
      description: Uploads one or more custom metrics to the AppDynamics Controller through the Machine Agent. Metrics must be uploaded at least once every 300 seconds (5 minutes) to remain active in the metric hierarchy. Each metric requires a name, aggregator type, and a 64-bit integer value.
      tags:
      - Custom Metrics
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              description: An array of custom metric objects to upload.
              items:
                $ref: '#/components/schemas/CustomMetric'
      responses:
        '200':
          description: Metrics uploaded successfully
        '400':
          description: Bad request - invalid metric data
        '503':
          description: Service unavailable - Machine Agent HTTP listener not enabled
components:
  schemas:
    CustomMetric:
      type: object
      description: A custom metric data point to upload to the Controller through the Machine Agent HTTP listener.
      required:
      - metricName
      - aggregatorType
      - value
      properties:
        metricName:
          type: string
          description: The full metric path name using pipe delimiters for hierarchy levels. For example, Custom Metrics|MyApp|RequestCount.
        aggregatorType:
          type: string
          description: The aggregation type that determines how metric values are rolled up across time periods and cluster nodes.
          enum:
          - AVERAGE
          - SUM
          - OBSERVATION
          - ADVANCED_AVERAGE
        value:
          type: integer
          format: int64
          description: The metric value as a 64-bit integer.
externalDocs:
  description: Machine Agent HTTP Listener Documentation
  url: https://docs.appdynamics.com/appd/24.x/latest/en/infrastructure-visibility/machine-agent/extensions-and-custom-metrics/machine-agent-http-listener