Skip to content

Chargeback 0.3.2: read index pivot usage from monitoring-indices*#18269

Draft
JohannesMahne wants to merge 9 commits intowip-johannes-chargebackfrom
fix/chargeback-monitoring-indices-pattern
Draft

Chargeback 0.3.2: read index pivot usage from monitoring-indices*#18269
JohannesMahne wants to merge 9 commits intowip-johannes-chargebackfrom
fix/chargeback-monitoring-indices-pattern

Conversation

@JohannesMahne
Copy link
Copy Markdown

@JohannesMahne JohannesMahne commented Apr 8, 2026

Summary

Addresses elastic/elasticsearch-chargeback#90 on the integrations side (Chargeback package only).

  • Contribution transforms now use source indices monitoring-indices* and *:monitoring-indices* (CCS) so a customized Elasticsearch integration index-pivot destination still matches as long as the name uses the monitoring-indices* prefix (default remains monitoring-indices).
  • Package 0.3.2: bumps pipelines and fleet_transform_version accordingly. Documentation updated in packages/chargeback.

Stacking / merge order

  • Draft until integrations#18102 (Chargeback 0.3.1) is merged into wip-johannes-chargeback.
  • This PR is opened with base wip-johannes-chargeback-chargable-units so the diff is only the 0.3.2 / wildcard commit. After Chargeback 0.3.1: chargeable-unit field names and deployment_tags fix #18102 merges to wip-johannes-chargeback, rebase this branch onto wip-johannes-chargeback and retarget the PR base to wip-johannes-chargeback (or open a fresh PR) so the merge is a single commit on top of 0.3.1.

Refs elastic/elasticsearch-chargeback#90 (integrations scope).

JohannesMahne and others added 8 commits March 27, 2026 14:59
- Rename conf_ecu_rate -> conf_chargeable_unit_rate (float -> double),
  conf_ecu_rate_unit -> conf_chargeable_unit_rate_unit
- Rename total_ecu -> total_chargeable_units in billing_cluster_cost transform
- Fix billing_cluster_cost transform to handle ess.billing.deployment_tags
  as string or array
- Fix billing.yml ingest pipeline: snapshot-storage regex & -> .* so
  snapshot SKUs are correctly classified as cost_type 'snapshots'
- Add explicit billing_cluster_cost_lookup index mappings
- Bump manifest to 0.3.1, pipeline versions to 0.3.1-billing/0.3.1-usage
- Update dashboard ES|QL and README for new field names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixes CI: mage check requires every package to have an owner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
elastic/elasticsearch-chargeback is not a valid GitHub team in CODEOWNERS;
align with chargeback package.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Use COALESCE in all dashboard ES|QL for total_chargeable_units/total_ecu
  and conf_chargeable_unit_rate/conf_ecu_rate (and unit fields) so lookup
  data from before the rename still works after upgrade.
- Document end-user upgrade behavior under Dashboard; fix sample conf_end_date.
- Note compatibility in changelog 0.3.1 entry.

Responds to review on #18102
(in-place upgrade breaking dashboard; clarify upgrade expectations).

Made-with: Cursor
- Bump format_version to 3.5.0 (same track as integrations that ship
  kibana/alerting_rule_template) so built zips validate against current
  package-spec kibana layout.
- Remove validation.yml SVR00002 exclusion; dashboard already satisfies
  the time-filter check.
- README: note Kibana 9.2+ requirement for alert rule templates.

Addresses review feedback on #18102 (alerting_rule_template
zip validation warning; clarify alerting vs stack version).

Made-with: Cursor
CI runs elastic-package v0.118 (go.mod), which fails check when docs/README.md
differs from build output sourced from _dev/build/docs/README.md. Move upgrade
and alerting copy into the build source, fix sample conf_end_date, rebuild
rendered README.

Made-with: Cursor
Changelog validator requires a URL with a numeric issue or PR id.
Replace bare elasticsearch-chargeback repo URL with PR #89 reference.

Fixes Buildkite integrations pipeline failure when testing this package
alongside chargeback (PR #18102).

Made-with: Cursor
Contribution transforms use monitoring-indices* and *:monitoring-indices* so
custom Elasticsearch integration pivot destinations stay compatible. Bump
package, pipelines, and fleet_transform_version to 0.3.2 after 0.3.1.

Refs elastic/elasticsearch-chargeback#90.

Made-with: Cursor
@JohannesMahne JohannesMahne changed the base branch from wip-johannes-chargeback-chargable-units to wip-johannes-chargeback April 8, 2026 08:20
…ces* (0.2.1)

Billing and config_bootstrap transforms use monitoring-indices* and
*:monitoring-indices* for parity with Chargeback. Bump fleet_transform_version.

Refs elastic/elasticsearch-chargeback#90.

Made-with: Cursor
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@andrewkroh andrewkroh added documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. dashboard Relates to a Kibana dashboard bug, enhancement, or modification. labels Apr 8, 2026
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. documentation Improvements or additions to documentation. Applied to PRs that modify *.md files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants