provider Spa GET
/api/v2/spa/recommendations/{service} @utdk/datadog
/api/v2/spa/recommendations/{service} Get SPA Recommendations
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 SPA returns structured recommendations for driver and executor resources. The version with a shard should be preferred, where possible, as it gives more accurate results.
- bypass_cache query
- The recommendation service should not use its metrics cache.
- string
- service path required
- The service name for a spark job.
- 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.getsparecommendations()