provider Spa GET /api/v2/spa/recommendations/{service}/{shard}
@utdk/datadog /api/v2/spa/recommendations/{service}/{shard}
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.
shard path required
The shard tag for a spark job, which differentiates jobs within the same service that have different resource needs
string
service path required
The service name for a spark job
string
bypass_cache query
The recommendation service should not use its metrics cache.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getsparecommendationswithshard
GET/api/v2/spa/recommendations/{service}/{shard}
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.

Parameters

required

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

required

The service name for a spark job

The recommendation service should not use its metrics cache.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.getsparecommendationswithshard()