Skip to content

ess_billing: fix serverless project schema and dashboard breakdowns#19595

Open
3kt wants to merge 7 commits into
elastic:mainfrom
3kt:fix/serverless-schema-ess-billing
Open

ess_billing: fix serverless project schema and dashboard breakdowns#19595
3kt wants to merge 7 commits into
elastic:mainfrom
3kt:fix/serverless-schema-ess-billing

Conversation

@3kt

@3kt 3kt commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add include_names=true query param to billing API requests so serverless project names are populated (name field was returned empty by the API without it)
  • Add fallback: when deployment_name is still empty after the API fix, copy from deployment_id
  • Remove null values stored in ess.billing.kind for serverless SKUs
  • Fix dashboard "Cost per deployments/projects" and "Cost per deployments/projects over time" panels to break down by deployment_name instead of deployment_id

3kt added 3 commits June 17, 2026 01:33
- Remove null ess.billing.kind: API returns kind=null for all serverless
  line items; pipeline now drops it rather than storing null in the index.
- Add deployment_name fallback: serverless projects return an empty name
  from the billing API; pipeline now sets deployment_name to deployment_id
  as a fallback so it is never blank in the index.
- Add pipeline tests covering null-kind removal and deployment_name
  fallback for observability SKUs.
@3kt 3kt requested review from a team as code owners June 17, 2026 10:34
@andrewkroh andrewkroh added dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Integration:ess_billing Elasticsearch Service Billing Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Jun 17, 2026
3kt added 2 commits June 17, 2026 15:30
…oyment_id

The URL drilldown action links to cloud.elastic.co using deployment ID,
so the second column must show deployment_id, not deployment_name.
…dation.yml

Remove the data_stream.dataset filter added to satisfy SVR00002.
Add validation.yml to exclude the check instead, matching 90+ other packages.
@elasticmachine

Copy link
Copy Markdown

💔 Build Failed

Failed CI Steps

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Integration:ess_billing Elasticsearch Service Billing Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants