Skip to content

Add aws.metrics_names_fingerprint field and mark it as a dimension#11366

Merged
kaiyan-sheng merged 2 commits intoelastic:mainfrom
kaiyan-sheng:aws_field_dimension
Oct 14, 2024
Merged

Add aws.metrics_names_fingerprint field and mark it as a dimension#11366
kaiyan-sheng merged 2 commits intoelastic:mainfrom
kaiyan-sheng:aws_field_dimension

Conversation

@kaiyan-sheng
Copy link
Contributor

Proposed commit message

This PR adds aws.metrics_names_fingerprint which is a hash of the list of metric names exist in each document. For metrics coming in from Firehose, there can be cases two documents have the same timestamp, dimension, namespace, accountID, exportARN and region BUT from two different requests. With adding the aws.metrics_names_fingerprint as TSDB dimension, we are able to ingest these two documents into ES.

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.

Related issues

This PR is to add the change from #11281 into main branch.

@kaiyan-sheng kaiyan-sheng requested review from a team as code owners October 8, 2024 18:24
@kaiyan-sheng kaiyan-sheng self-assigned this Oct 8, 2024
@kaiyan-sheng kaiyan-sheng added the Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] label Oct 8, 2024
@andrewkroh andrewkroh added Integration:aws AWS Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels Oct 8, 2024
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

elasticmachine commented Oct 9, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @kaiyan-sheng

@elastic-sonarqube
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
5.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

Copy link
Contributor

@agithomas agithomas left a comment

Choose a reason for hiding this comment

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

LGTM!

@kaiyan-sheng kaiyan-sheng merged commit 46df938 into elastic:main Oct 14, 2024
@kaiyan-sheng kaiyan-sheng deleted the aws_field_dimension branch October 14, 2024 14:14
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 4, 2025
…lastic#11366)

Add aws.metrics_names_fingerprint field and mark it as a dimension in main branch
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 5, 2025
…lastic#11366)

Add aws.metrics_names_fingerprint field and mark it as a dimension in main branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:aws AWS Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants