Spa

Get SPA Recommendations with a shard parameter

This endpoint is currently experimental and restricted to Datadog internal use only. Retrieve resource recommendations for a Spark job. The caller (Spark Gateway or DJM UI) provides a service name and shard identifier, and SPA returns structured recommendations for driver and executor resources.

get/api/v2/spa/recommendations/{service}/{shard}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/spa/recommendations/{service}/{shard}
  • Auth
    OAuth 2
    Authorization code: /oauth2/v1/authorize
    Token URL: /oauth2/v1/token

Path parameters

shardstring required

The shard tag for a spark job, which differentiates jobs within the same service that have different resource needs

servicestring required

The service name for a spark job

Query parameters

bypass_cachestring

The recommendation service should not use its metrics cache.

Response

OK

Example response

{
  "data": {
    "type": "recommendation"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.