Skip to content

Conversation

@3kt
Copy link
Contributor

@3kt 3kt commented Mar 18, 2025

Proposed commit message

Negative values were cut from the calculation of the delta between the start and end values of the metrics. This was causing the ingest volume to be inflated.

Values can be negative when a merge, or document deletion occurs.

This deletes the Math.max(0, XX) in the transform job bucket scripts where relevant (ie where the metrics aren't ever-increasing gauges that are reset upon node restart or shard migration)

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices
Negative values were cut from the calculation of the delta between the start and end values of the metrics. This was causing the ingest volume to be inflated. Values can be negative when a merge, or document deletion occurs.
@3kt 3kt added the bug Something isn't working, use only for issues label Mar 18, 2025
@3kt 3kt added the Team:Stack Monitoring Stack Monitoring team [elastic/stack-monitoring] label Mar 18, 2025
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

💚 Build Succeeded

@3kt 3kt marked this pull request as ready for review March 19, 2025 18:38
@3kt 3kt requested a review from a team as a code owner March 19, 2025 18:38
Copy link
Member

@pickypg pickypg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@3kt 3kt merged commit 376741b into elastic:main Mar 19, 2025
7 checks passed
@3kt 3kt deleted the fix_spiky_ingest_measurement branch March 19, 2025 19:23
@elastic-vault-github-plugin-prod

Package elasticsearch - 1.18.1 containing this change is available at https://epr.elastic.co/package/elasticsearch/1.18.1/

flexitrev pushed a commit that referenced this pull request Mar 20, 2025
* Fixed transform job definition that was inflating ingest volume Negative values were cut from the calculation of the delta between the start and end values of the metrics. This was causing the ingest volume to be inflated. Values can be negative when a merge, or document deletion occurs. * Added changelog entry
Copy link
Contributor

@consulthys consulthys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGT Stack Monitoring

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

Labels

bug Something isn't working, use only for issues Integration:elasticsearch Elasticsearch Team:Stack Monitoring Stack Monitoring team [elastic/stack-monitoring]

5 participants