data-atlas

module
v0.0.0-...-90561fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2025 License: Apache-2.0

README

Usage

Build the project first.

> make build

> ./cost help

Using API server

Run locally
  • Run server: ./cost -c $HOME/.databrickscfg --sync
  • Base URL: http://localhost:8080/api/v1
  • Date format in queries: DD-MM-YYYY (e.g., 02-01-2006)
APIs
  • List workspaces - curl -s http://localhost:8080/api/v1/workspaces | jq
  • List resources in a workspace - curl -s http://localhost:8080/api/v1/{workspace}/resources | jq
  • Resource cost for a single resource type - curl -s http://localhost:8080/api/v1/workspaces/{workspace}/resources/{resource}/cost?from={from}\&to={to} | jq
  • Resource cost for multiple resource types - curl -s http://localhost:8080/api/v1/workspaces/{workspace}/resources/cost?resource={resource_1}&resource={resource_2}\&from={from}\&to={to} | jq
  • Start usage sync workflow - curl -s -X POST http://localhost:8080/api/v1/workspaces/{workspace}/sync
  • Audit DTL pipelines - curl -s http://localhost:8080/api/v1/workspaces/{workspace}/resources/dlt_pipeline/audit?from={from}\&to={to} | jq

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL