-
Notifications
You must be signed in to change notification settings - Fork 518
[Chargeback] Alerting rule #16228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Chargeback] Alerting rule #16228
Conversation
…m_color_blind palate. Add ECU rate to the dashboard.
…cater for large organisations.
…ow exactly what the output be.
…Also added explanation about the rest of the config.
…f both, to make it easier to identify the deployment in the dashboard.
…okup index automatically when installing the package.
* dashboard control * updating version + DV
* adding sku and cost_type to billing data for node granularity * working on sku with pipeline to do parsing * downplaying version * transform
…16185) * Add deployment_group extraction from ESS Billing tags - Extract chargeback_group tag value to deployment_group field in billing pipeline - Add deployment_group to billing_cluster_cost transform group_by - Add deployment_group field definition - Fix transforms to use elasticsearch.cluster.name without .keyword - Update changelog for v0.2.4 * Add deployment_group extraction using runtime mappings from ESS Billing tags * Update dashboard with deployment_group filter and definitions * Bump version to 0.2.5 for deployment_group feature after merging SKU/cost_type changes * known [bug](elastic/elasticsearch-chargeback#60) from 0.2.4
* adding sku and cost_type to billing data for node granularity * working on sku with pipeline to do parsing * downplaying version * transform * merge * dashboard * setting version
* Add observability alerts for chargeback integration - Add two ES|QL alerting rules: detect new chargeback groups and detect deployments missing usage data - Add comprehensive documentation for alert setup and configuration - Update Elasticsearch version requirement to 9.2.0+ for smart lookup join support - Add transform startup and monitoring instructions to README * Update changelog with PR #16205 * Remove wrong information * Update chargeback README documentation * Improve observability alert action message formatting * Clarify configuration update vs add new period documentation
- Add 3 Kibana alerting rule templates: - Transform health monitoring for all Chargeback transforms - New chargeback group detection - Deployment with missing usage data detection - Enable auto-start for all transforms (start: true in manifests) - Update transform pipeline references to version 0.2.8 - Add performance warning about initial transform execution - Update README with alerting documentation - Bump package version to 0.2.8
|
Sorry, wrong branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds alerting rule templates to the Chargeback integration for monitoring transform health and data quality issues. The integration now includes three pre-configured alert rule templates that can be installed from Kibana: transform health monitoring, new chargeback group detection, and missing usage data detection.
Key Changes:
- Added three alerting rule templates (transform health, new group detection, missing usage data)
- Updated documentation to describe alerting capabilities and configuration
- Added validation exclusion for SVR00002
Reviewed changes
Copilot reviewed 29 out of 33 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/chargeback/kibana/alerting_rule_template/chargeback-transform-health.json | Adds transform health monitoring alert template |
| packages/chargeback/kibana/alerting_rule_template/chargeback-new-group-detected.json | Adds alert for detecting new chargeback groups |
| packages/chargeback/kibana/alerting_rule_template/chargeback-deployment-missing-usage-data.json | Adds alert for deployments missing usage data |
| packages/chargeback/docs/README.md | Documents new alerting features and configuration |
| packages/chargeback/changelog.yml | Records version 0.2.8 changes |
| packages/chargeback/validation.yml | Adds validation check exclusion |
| packages/chargeback/manifest.yml | Updates package version to 0.2.8 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "conf_query_weight": 20, | ||
| "conf_storage_weight": 40, | ||
| "conf_start_date": "2024-01-01T00:00:00.000Z", | ||
| "conf_end_date": "2024-12-31T23:tie" |
Copilot
AI
Dec 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'tie' to '59:59.999Z' to complete the timestamp format.
| "conf_end_date": "2024-12-31T23:tie" | |
| "conf_end_date": "2024-12-31T23:59:59.999Z" |
| "conf_query_weight": 20, | ||
| "conf_storage_weight": 40, | ||
| "conf_start_date": "2024-01-01T00:00:00.000Z", | ||
| "conf_end_date": "2024-12-31T23:tie" |
Copilot
AI
Dec 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'tie' to '59:59.999Z' to complete the timestamp format.
| "conf_end_date": "2024-12-31T23:tie" | |
| "conf_end_date": "2024-12-31T23:59:59.999Z" |
| - set: | ||
| field: cost_type | ||
| value: 'snapshots' | ||
| if: ctx.sku =~ /^(aws|gcp|azure).snapshot-storage&/ |
Copilot
AI
Dec 3, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regular expression ends with '&' instead of '.*' - this pattern will not match snapshot storage SKUs correctly. Should be /^(aws|gcp|azure).snapshot-storage.*/
| if: ctx.sku =~ /^(aws|gcp|azure).snapshot-storage&/ | |
| if: ctx.sku =~ /^(aws|gcp|azure).snapshot-storage.*/ |
💚 Build Succeeded
|
|
|
Proposed commit message
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots